util/PriorityEnum.h

Go to the documentation of this file.
00001 /*-----------------------------------------------------------------------------
00002 Name:      PriorityEnum.h
00003 Project:   xmlBlaster.org
00004 Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file
00005 Comment:   Allows you be called back after a given delay.
00006 -----------------------------------------------------------------------------*/
00007 
00008 #ifndef _UTIL_PRIORITYENUM_H
00009 #define _UTIL_PRIORITYENUM_H
00010 
00011 #include <string>
00012 #include <util/xmlBlasterDef.h>
00013 
00014 namespace org { namespace xmlBlaster { namespace util {
00015 
00016 enum Priority {
00017 
00021    MIN_PRIORITY,
00022 
00026    MIN1_PRIORITY,
00027 
00031    MIN2_PRIORITY,
00032 
00036    LOW_PRIORITY,
00037 
00041    LOW4_PRIORITY,
00042 
00046    NORM_PRIORITY,
00047 
00051    NORM6_PRIORITY,
00052 
00056    HIGH_PRIORITY,
00057 
00061    HIGH8_PRIORITY,
00062 
00066    MAX_PRIORITY
00067 };
00068 
00069 typedef enum Priority PriorityEnum;
00070 
00071 Dll_Export PriorityEnum int2Priority(int val);
00072 
00073 Dll_Export PriorityEnum str2Priority(const std::string& val);
00074 
00075 }}} // namespaces
00076 
00077 #endif
00078 
00079