Defines

ILibraryImplHelper.hpp File Reference

#include <zeusbase/System/Interfaces/IXObjectImplHelper.hpp>
#include <zeusbase/System/Interfaces/IZUnknownImplHelper.hpp>
#include <zeusbase/System/Interfaces/ISingletonManager.hpp>
#include <zeusbase/System/LibraryManager.h>
#include <zeusbase/ZeusBase.h>

Go to the source code of this file.

Defines

#define MregisterLibrary_Start(codemodulename)
#define MregisterLibrary_End
#define MregisterLibrary(codemodulename)
#define MunregisterLibrary_Start()
#define MunregisterLibrary_End
#define MunregisterLibrary()

Define Documentation

#define MregisterLibrary (   codemodulename )
Value:

Complete register function for simple modules

Parameters:
codemodulename: Name of the codemodule (string)
#define MregisterLibrary_End
Value:
return RET_NOERROR;\
}\

End of the register function

#define MregisterLibrary_Start (   codemodulename )
Value:
MODULE_EXPORT_PRE Retval MODULE_EXPORT MQUALIFIER registerLibrary(NAMESPACE_Zeus::ISingletonManager& rManager)\
{\
  TZeusBase::delegateSingletons(rManager, TString(codemodulename));

The MregisterLibrary_Start starts the register of object factories, library loader interface and other common singletons of the framework

Parameters:
codemodulename: Name of the codemodule (string)
#define MunregisterLibrary (  )
Value:

Complete unregister function for simple modules, which releases all delegation interfaces of the common framework singletons

#define MunregisterLibrary_End
Value:
return RET_NOERROR;\
}\

End of the unregister function

#define MunregisterLibrary_Start (  )
Value:
MODULE_EXPORT_PRE Retval MODULE_EXPORT MQUALIFIER unregisterLibrary(NAMESPACE_Zeus::ISingletonManager& )\
{\
  TZeusBase::undelegateSingletons();

Start of the unregister function, which releases all delegation interfaces of the common framework singletons

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Sun Jan 22 2012 15:28:19