AndroMeta  2.0.0
AndroMeta/include/AndroMeta/MProcessor.h
Go to the documentation of this file.
00001 /*
00002  * Copyright 2009-2012 AndroMeta LLC. All rights reserved.
00003  *
00004  * AndroMeta LLC retains all intellectual property and proprietary 
00005  * rights to this software and related documentation and any modifications 
00006  * thereto.  Any use, reproduction, disclosure, or distribution of this 
00007  * software and related documentation without an express license agreement 
00008  * from AndroMeta LLC is strictly prohibited.
00009  * 
00010  */
00011 
00019 #ifndef ANDROMETA_M_PROCESSOR_H
00020 #define ANDROMETA_M_PROCESSOR_H
00021 
00022 #include <AndroMeta/MNode.h>
00023 
00024 namespace Meta{
00025   
00034   class MProcessor{
00035   public:
00036     
00041     static const uint32_t Routed = 0x0001;
00042         
00046     static const uint32_t Super = 0x0002;
00047     
00051     static const uint32_t NoError = 0x0004;
00052     
00057     static const uint32_t Strict = 0x0008;
00058     
00062     static const uint32_t Redirected = 0x0010;
00063     
00067     static const uint32_t Delegated = 0x0020;
00068     
00072     static const uint32_t NoRedirect = 0x0040;
00073     
00079     virtual mnode process(mnode n, uint32_t flags=0) = 0;
00080   };
00081   
00082 } // end namespace Meta
00083 
00084 #endif // ANDROMETA_M_PROCESSOR_H
00085