LRAUV  revA
BehaviorRegistry Class Reference

Keeps track of all MissionComponents that could be created and loaded. More...

#include <BehaviorRegistry.h>

Collaboration diagram for BehaviorRegistry:

Static Public Member Functions

static void Initialize ()
 Initializes the map. More...
 
static void Uninitialize ()
 Uninitializes the map. More...
 
static void Insert (const Str &baseName, BehaviorCreator behaviorCreator, const Module *module)
 Add the base name and BehaviorCreator to the map. More...
 
static BehaviorRegistryEntryFind (const Str &baseName)
 Get the BehaviorCreator from the map. More...
 

Private Member Functions

 BehaviorRegistry ()
 Private Constructor for static class. More...
 

Static Private Attributes

static BehaviorRegistryMapMap_
 The map of MissionComponentRegistryEntries. More...
 

Detailed Description

Keeps track of all MissionComponents that could be created and loaded.

Constructor & Destructor Documentation

BehaviorRegistry::BehaviorRegistry ( )
inlineprivate

Private Constructor for static class.

Member Function Documentation

BehaviorRegistryEntry * BehaviorRegistry::Find ( const Str baseName)
static

Get the BehaviorCreator from the map.

Add the base name and BehaviorCreator to the map.

References FastMap< S, T >::get(), and Map_.

Referenced by MissionItem::initializeFromScript().

void BehaviorRegistry::Initialize ( )
static
void BehaviorRegistry::Insert ( const Str baseName,
BehaviorCreator  behaviorCreator,
const Module module 
)
static

Member Data Documentation

BehaviorRegistryMap * BehaviorRegistry::Map_
staticprivate

The map of MissionComponentRegistryEntries.

Referenced by Find(), Initialize(), Insert(), and Uninitialize().


The documentation for this class was generated from the following files: