Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | Namespace Members | Class Members

Simulator::Factory< T > Struct Template Reference

#include <simulator/simulator.h>

Inheritance diagram for Simulator::Factory< T >:

Inheritance graph
[legend]
Collaboration diagram for Simulator::Factory< T >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class T>
struct Simulator::Factory< T >

Subclasses should provide an ID and a priority to compare this implementation with the default ones.

Just declare a global object with the class as template argument, this is enough (it will be initialized before execution).

The highest priority implementation is chosen as default by getInstance. See also the Posix and OSG implementations (resp priority 100 and 50).


Public Member Functions

Simulatorfactory ()
 Factory (int priority, const char *ID)


The documentation for this struct was generated from the following file:
Generated on Mon Mar 28 11:27:53 2005 for Crogai by  doxygen 1.4.1