ot::GroupGateModule Class Reference
[Common Classes]

#include <GroupGateModule.h>

Inheritance diagram for ot::GroupGateModule:

Inheritance graph
[legend]
Collaboration diagram for ot::GroupGateModule:

Collaboration graph
[legend]
List of all members.

Detailed Description

The module and factory to drive the test source nodes. It constructs GroupGate nodes via the NodeFactory interface and pushes events into the tracker tree according to the nodes configuration.
Author:
Michael Knapp


Public Member Functions

 GroupGateModule ()
virtual ~GroupGateModule ()
virtual NodecreateNode (const std::string &name, StringTable &attributes)
const char * getGroupGateName (int groupgatenum)
void activateGroupGate (const char *groupname, const char *groupgatename)

Protected Attributes

GroupMap Groups
StringVec NameList


Constructor & Destructor Documentation

ot::GroupGateModule::GroupGateModule  )  [inline]
 

ot::GroupGateModule::~GroupGateModule  )  [virtual]
 


Member Function Documentation

void ot::GroupGateModule::activateGroupGate const char *  groupname,
const char *  groupgatename
 

Node * ot::GroupGateModule::createNode const std::string &  name,
StringTable attributes
[virtual]
 

This method tries to create a new Node based on a given element type and the attributes of the element. If it can not create a new Node ( because it doesn't know about the element type for example ), it returns NULL. This method has to be implemented by real NodeFactories.

Parameters:
name reference to string containing element name
attributes refenrence to StringTable containing attribute values
Returns:
pointer to new Node or NULL. The new Node must be allocated with new !

Implements ot::NodeFactory.

const char * ot::GroupGateModule::getGroupGateName int  groupgatenum  ) 
 


Member Data Documentation

GroupMap ot::GroupGateModule::Groups [protected]
 

StringVec ot::GroupGateModule::NameList [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 28 15:28:22 2007 for NaviTrack by  doxygen 1.4.6