Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

PfSimInterfaceFactory.h File Reference

#include <vrj/vrjConfig.h>
#include <string>
#include <vpr/Util/Factory.h>
#include <vpr/Util/Singleton.h>
#include <vrj/Draw/DrawSimInterface.h>

Include dependency graph for PfSimInterfaceFactory.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  vrj

Defines

#define VRJ_REGISTER_PF_SIM_INTERFACE_CREATOR(SimIfType)
 Registers a creator for the DrawSimInterface implementation classes. More...


Define Documentation

#define VRJ_REGISTER_PF_SIM_INTERFACE_CREATOR SimIfType   
 

Value:

class SimIfType; \
const bool reg_ctr_ ## SimIfType = \
   vrj::PfSimInterfaceFactory::instance()-> \
      registerCreator(SimIfType::getElementType(), \
                      vpr::CreateProduct<vrj::DrawSimInterface, SimIfType>);
Registers a creator for the DrawSimInterface implementation classes.

Precondition:
Requires that the method std::string getElementType() be defined for class SimIfType.
Ex: VRJ_REGISTER_SIM_INTERFACE_CREATOR(simulators::PySim)

Definition at line 50 of file PfSimInterfaceFactory.h.


Generated on Sun May 2 15:10:44 2004 for VR Juggler by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002