23 #define DECLARE_DLL(x) \ 24 extern "C" void x##_dll( DLL* dll ) 26 #define DECLARE_ELEMENT(x,y) \ 27 dll->addElement (#x,#y); 29 #define DECLARE_PROCESSUS(x,y) \ 30 dll->addProcessus (#x,#y); 32 #define DECLARE_OBJECT(x,y) \ 33 dll->addObject (#x,#y); 43 #define FACTORY(type,x) \ 44 extern "C" type* x##_create() { \ 47 extern "C" void x##_destroy(type* p) { \ 69 typedef Element* (*ConstructorElement) ( );
73 typedef Object* (*ConstructorObject) ( );
140 std::string description = std::string (
"") )
142 identification id ( element , description );
150 std::string description = std::string (
"") )
152 identification id ( proc , description );
160 std::string description = std::string (
"") )
162 identification id ( proc , description );
void msg(std::string mymsg)
std::vector< std::string > objectList()
listOfElements m_listElements
std::vector< identification > listOfElements
listOfProcessus m_listProcessus
std::vector< ConstructorElement > m_elementConstructors
std::vector< DestructorProcessus > m_processusDestructors
std::vector< DestructorElement > m_elementDestructors
std::vector< ConstructorProcessus > m_processusConstructors
void info(std::string mymsg)
void verbose(std::string mymsg)
void(* EntryPoint)(DLL *)
void addElement(std::string element, std::string description=std::string(""))
std::pair< std::string, std::string > identification
virtual ~DLL()
Destructor.
void fatal(std::string mymsg)
Element * createElement(std::string)
void(* DestructorObject)(Object *)
void addObject(std::string proc, std::string description=std::string(""))
listOfElements listElements()
bool containsObject(std::string)
Processus * createProcessus(std::string)
void info(std::string mymsg, std::string name)
std::vector< ConstructorObject > m_objectConstructors
DLL()
Standard constructor.
void warning(std::string mymsg)
void msg(std::string mymsg, std::string name)
void fatal(std::string mymsg, std::string name)
listOfObjects m_listObjects
void verbose(std::string mymsg, std::string name)
std::vector< DestructorObject > m_objectDestructors
std::vector< identification > listOfObjects
StatusCode destroy(Element *)
void addProcessus(std::string proc, std::string description=std::string(""))
std::vector< identification > listOfProcessus
void debug(std::string mymsg)
listOfProcessus listProcessus()
void setName(std::string name)
void warning(std::string mymsg, std::string name)
void(* DestructorProcessus)(Processus *)
void(* DestructorElement)(Element *)
Object * createObject(std::string)
StatusCode load(std::string)
listOfObjects listObjects()
void msgSvc(MsgSvc::MsgLevel, std::string, std::string call=std::string(""))
void debug(std::string mymsg, std::string name)