This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | SL_NAMESPACE_BEGIN namespace segusoland { |
#define | SL_NAMESPACE_END } |
#define | SL_NAMESPACE_USING using namespace segusoland; |
#define | SL_SHELL_PLUGINS_DIR "SL_PLUGINS_DIR" |
#define | SL_PLUGIN_REGISTER(pluginInstance) ::segusoland::registerer.registerPlugin(pluginInstance) |
#define | SL_FEATURE_GET(type) (SLPluginFeature::type *)::segusoland::registerer.getFeature(SLPluginFeature::Type::type) |
#define | SL_FEATURE_DISPOSE(feature) delete feature |
#define | SL_DEBUG1(msg) |
#define | SL_DEBUG2(msg) |
#define | SL_WARNING(msg) std::cerr << __FILE__ << ":" << __FUNCTION__ << ":" << __LINE__ << ": ***WARNING*** " << msg << std::endl; |
#define | SL_PATH_SEPARATOR_CHAR '/' |
#define | SL_PATH_SEPARATOR_STR "/" |
#define | SL_LOCALE_DEFAULT "" |
#define | SL_ENCODING_DEFAULT "" |
#define | SL_REENTRANT_CLASS |
#define | SL_REENTRANT_CLASS_LOCK |
#define | SL_REENTRANT_CLASS_UNLOCK |
#define | SL_REENTRANT_FUN(funName) |
|
This macro is usefull to print on stderr some debug messages. SL_DEBUG1 is for low verbosity messages (not frequent ones) SL_DEBUGn macros are affected by the compile time define SL_DEBUG_LEVEL.
Example :
|
|
This macro is usefull to print on stderr some debug messages. SL_DEBUG2 is for high verbosity messages (for eg : constructors)
|
|
The default US-ASCII encoding It is the encoding used by default when contructing a SLString without providing encoding. |
|
This is the preffered way to dispose a feature obtained with SL_FEATURE_GET
|
|
This is the preffered way to obtain a feature instance from a plugin.
|
|
The default C locale. It is the locale used when contructing a SLString without providing locale. However the syntax : Will use the locale provided by other_slString |
|
Should be put before all classes declaration to make them belong to the seguloland namespace. Example : |
|
Should be used to close the SL_NAMESPACE_BEGIN definition. |
|
Convenience macro. |
|
The evil path separator char. |
|
The evil path separator string. |
|
This has to be called once for each plugin (shared object) in its static code at dynamic loading time. How plugins work is described in the Plugins module |
|
This declaration allow thread safe environment by allowing use of mutexes at class level. For the moment this feature is not turned on, but may be in the future. example :
|
|
Should be placed at the beginning of a function that need class level lock.
|
|
Should be placed at the end of a function that need class level lock.
|
|
This declaration allow thread safe environment by allowing use of mutexes at function level. For the moment this feature is not turned on, but may be in the future. The class locking and function locking may be used booth example :
|
|
The shell variable name to specify plugins directory. If this variable is defined, it takes precedence over the default directory. |
|
Generate warnings on stderr. These warnings are not affected by ::SL_DEBUG_LEVEL (compile time macro) |