Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

segusoland.hpp

Go to the documentation of this file.
00001 //$Id: segusoland.hpp,v 1.8 2004/04/15 00:04:52 mr_lex Exp $
00026 #define SL_NAMESPACE_BEGIN namespace segusoland {
00027 
00031 #define SL_NAMESPACE_END   }
00032 
00036 #define SL_NAMESPACE_USING using namespace segusoland;
00037 
00038 
00039 //
00040 //
00041 // SHELL variables names
00042 //
00043 //
00044 
00050 #define SL_SHELL_PLUGINS_DIR "SL_PLUGINS_DIR"
00051 
00052 
00059 #define SL_PLUGIN_REGISTER(pluginInstance) \
00060         ::segusoland::registerer.registerPlugin(pluginInstance)
00061 
00077 #define SL_FEATURE_GET(type) (SLPluginFeature::type *)::segusoland::registerer.getFeature(SLPluginFeature::Type::type)
00078 
00084 #define SL_FEATURE_DISPOSE(feature) delete feature
00085         
00104 #if defined(SL_DEBUG_LEVEL) && (SL_DEBUG_LEVEL > 0)
00105 #    define SL_DEBUG1(msg) std::cerr << __FILE__ << ":" << __FUNCTION__ << ":" << __LINE__ << ": " << msg << std::endl
00106 #else
00107 #    define SL_DEBUG1(msg) 
00108 #endif
00109 
00115 #if defined(SL_DEBUG_LEVEL) && (SL_DEBUG_LEVEL > 1)
00116 #    define SL_DEBUG2(msg) std::cerr << __FILE__ << ":" << __FUNCTION__ << ":" << __LINE__ << ": " << msg << std::endl
00117 #else
00118 #    define SL_DEBUG2(msg) 
00119 #endif
00120 
00125 #define SL_WARNING(msg) std::cerr << __FILE__ << ":" << __FUNCTION__ << ":" << __LINE__ << ": ***WARNING*** " << msg << std::endl;
00126         
00130 #define SL_PATH_SEPARATOR_CHAR '/'
00131 
00135 #define SL_PATH_SEPARATOR_STR "/"
00136 
00147 #define SL_LOCALE_DEFAULT ""
00148 
00154 #define SL_ENCODING_DEFAULT ""
00155 
00179 #define SL_REENTRANT_CLASS
00180 
00185 #define SL_REENTRANT_CLASS_LOCK
00186 
00191 #define SL_REENTRANT_CLASS_UNLOCK
00192 
00219 #define SL_REENTRANT_FUN(funName)
00220 
00221         
00223 //                  Bellow is doxygene stuff
00225 
00226 
00362 // $Log: segusoland.hpp,v $
00363 // Revision 1.8  2004/04/15 00:04:52  mr_lex
00364 // NEW: files plugin + autotools up to date
00365 //
00366 // Revision 1.7  2004/04/05 18:11:54  mr_lex
00367 // NEW: 1st working version of plugins
00368 //
00369 // Revision 1.6  2004/04/03 15:07:34  mr_lex
00370 // NEW: plugin system and toolkit nearly mature
00371 //
00372 // Revision 1.5  2004/03/30 18:53:31  mr_lex
00373 // FIX: changed SL_DEBUG to SL_DEBUG2 to have two levels of verbosity
00374 //
00375 // Revision 1.4  2004/03/29 13:01:33  mr_lex
00376 // FIX: finished converting to shared_ptr
00377 //
00378 

Generated on Mon Apr 19 01:03:33 2004 for segusoLand by doxygen 1.3.6-20040222