16 #include <boost/unordered_map.hpp>
24 class DtAgentManagerInterface;
25 class DtAgentUpdateResolverInterface;
41 : myClassName( className )
63 virtual void registerAgentCreator(
const std::string& className,
69 virtual DtAgent* createAgent(
const std::string& className,
78 virtual void processAutoUnregisters();
81 static bool autoRegister(
const std::string& className,AutoRegisterFunction
function );
82 static void autoUnregister(
const std::string& className );
101 static bool& destructed();
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
Definition: DtAgentFactory.h:37
Abstract base class for object updaters.
Definition: DtAgentUpdateResolverInterface.h:20
A distributed object agent base class.
Definition: DtAgent.h:54
static void autoUnregister(const std::string &className)
std::string myClassName
Definition: DtAgentFactory.h:50
RegistrationMap myTypes
Definition: DtAgentFactory.h:96
DtAutoUnregistrar(const std::string &className)
Definition: DtAgentFactory.h:40
Contains makVrv::DtVirtualBaseClass class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
~DtAutoUnregistrar()
Definition: DtAgentFactory.h:45
Abstract base class for the scene object creators. SceneObject creators do not actually create scene ...
Definition: DtAgentCreator.h:27
Contains makVrv::DtUniqueID type.
DtDe & myDe
Definition: DtAgentFactory.h:95
The abstract interface necessary for agents.
Definition: DtAgentManagerInterface.h:33
The scene object creators are registered with the scene object factory for accessing DtSceneObjectCre...
Definition: DtAgentFactory.h:33
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
boost::unordered_map< std::string, DtAgentCreator * > RegistrationMap
Definition: DtAgentFactory.h:91
std::list< std::string > RemoveList
Definition: DtAgentFactory.h:93
boost::unordered_map< std::string, AutoRegisterFunction > AutoRegistrationMap
Definition: DtAgentFactory.h:92
Contains DLL export macros.