ot::NodeFactory Class Reference

#include <NodeFactory.h>

Inheritance diagram for ot::NodeFactory:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual NodecreateNode (const std::string &name, StringTable &attributes)=0
virtual ~NodeFactory ()

Constructor & Destructor Documentation

virtual ot::NodeFactory::~NodeFactory  )  [inline, virtual]
 


Member Function Documentation

virtual Node* ot::NodeFactory::createNode const std::string &  name,
StringTable attributes
[pure 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 !

Implemented in ot::ButtonHoldFilterModule, ot::CallbackModule, ot::CallforwardModule, ot::CommonNodeFactory, ot::ConsoleModule, ot::FileModule, ot::GroupGateModule, ot::InterpolatorModule, ot::TimestampGeneratorModule, ot::NodeFactoryContainer, ot::TestModule, ot::ARTDataTrackerModule, ot::DynaSightModule, ot::ECGModule, ot::EndoScoutModule, ot::FastTrakModule, ot::FlashpointModule, ot::FOBModule, ot::GENavModule, ot::GPSModule, ot::ICubeXModule, ot::InterSenseModule, ot::LinmouseModule, ot::MagicYModule, ot::MedScanModule, ot::MulticastInputModule, ot::NDIModule, ot::OrientationModule, ot::ParButtonModule, ot::RDSModule, ot::SerButtonModule, ot::SpeechControlModule, ot::SpeechModule, ot::TerasonModule, ot::UltraTrakModule, ot::XSensModule, ot::SPLCommonNodeFactory, ot::NetworkSinkModule, ot::NetworkSourceModule, ot::OldOTNetworkSourceModule, and ot::TCPModule.


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