#include "OMKTracer.h"
#include "OMKSimpleTypeT.h"
#include "OMKFlowable.h"
#include "OMKNameToPointerMap.h"
#include "OMKPolatorNT.h"
#include "OBTPrototypeFactory.h"
#include <iostream>
#include <list>
#include "OMKObjectDescriptor.h"
Include dependency graph for OMKSimulatedObject.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | OMK |
Classes | |
class | OMK::SimulatedObject |
This is the class defining what a object or entity is like in Mask. More... | |
class | OMK::SimulatedObjectCreator |
Ancestor of every simulated object creator class used by the PrototypeFactory. More... | |
class | OMK::SimulatedObjectCreatorT< T > |
Simulated object creator class to be parametrised by the descendants of SimulatedObject. More... | |
Defines | |
Macros to declare and implement the dynamic creation of simulated objects. | |
#define | DECLARE_OBJECT_FACTORY(ObjectClass) |
This define declares factory utilities, constructor and destructor for a simulated object. | |
#define | REGISTER_OBJECT_FACTORY(ObjectClass, Id) |
This define implements factory utilities, constructor and destructor for a simulated object. | |
Typedefs | |
typedef OBT::Singleton< OBT::PrototypeFactory< OMK::Name, SimulatedObjectCreator > > | OMK::SimulatedObjectFactory |
The factory of the simulated object. |
#define DECLARE_OBJECT_FACTORY | ( | ObjectClass | ) |
Value:
public: \ \ friend class OMK::SimulatedObjectCreatorT< ObjectClass > ; \ \ static OMK::Name OMK_CLASS_ID ; \ \ static const bool REGISTERED_IN_OBJECT_FACTORY ; \ protected: \ \ ObjectClass( OMK::Controller& ctrl, const OMK::ObjectDescriptor& objectDescriptor ) ; \ public: \ virtual ~ObjectClass()
Definition at line 674 of file OMKSimulatedObject.h.
#define REGISTER_OBJECT_FACTORY | ( | ObjectClass, | |||
Id | ) |
Value:
/* Factory */ \ OMK::Name ObjectClass::OMK_CLASS_ID( Id ) ; \ const bool ObjectClass::REGISTERED_IN_OBJECT_FACTORY( OMK::SimulatedObjectFactory::getInstance().registerCreator< OMK::SimulatedObjectCreatorT< ObjectClass > >( Id ) )
Definition at line 695 of file OMKSimulatedObject.h.
Documentation generated on Mon Jun 9 11:45:59 2008 |
Generated with doxygen by Dimitri van Heesch , 1997-2007 |