#include <pluginActorsRegistry.h>
Public Member Functions | |
| PluginActorsRegistry () | |
| Constructs our registry. Creates the actor types easy access when needed. | |
| virtual void | RegisterActorTypes () |
| Registers actor types with the actor factory in the super class. | |
Static Public Attributes | |
|
static dtCore::RefPtr < dtDAL::ActorType > | ALMSocketActorType |
| A socket object actor. | |
|
static dtCore::RefPtr < dtDAL::ActorType > | RobotSpace3DType |
| A robot actor with 3D space inside. | |
This class is necessary, because Symbricator3D is not aware of the plugin actor classes and how they are constructed. On the moment an actor that represents a power outlet, and one that represents a robot with a virtualised 3D space inside are recognized.
Definition at line 23 of file pluginActorsRegistry.h.
| PluginActorsRegistry::PluginActorsRegistry | ( | ) |
Constructs our registry. Creates the actor types easy access when needed.
An actor registory.
Definition at line 52 of file pluginActorsRegistry.cpp.
| void PluginActorsRegistry::RegisterActorTypes | ( | ) | [virtual] |
Registers actor types with the actor factory in the super class.
Registers actors within the plugin. Currently those are:
Definition at line 63 of file pluginActorsRegistry.cpp.
References ALMSocketActorType, and RobotSpace3DType.
1.6.1