Version: 8.3.0
YACS::ENGINE::ComponentDefinition Class Reference

Base class for component definition. More...

#include <ComponentDefinition.hxx>

Collaboration diagram for YACS::ENGINE::ComponentDefinition:

Public Member Functions

 ComponentDefinition (const std::string &name)
 
const std::string & getName () const
 
virtual ~ComponentDefinition ()
 

Public Attributes

std::map< std::string,
ServiceNode * > 
_serviceMap
 

Protected Attributes

std::string _name
 

Detailed Description

Base class for component definition.

Definition at line 38 of file ComponentDefinition.hxx.

Constructor & Destructor Documentation

ComponentDefinition::ComponentDefinition ( const std::string &  name)

Definition at line 31 of file ComponentDefinition.cxx.

31  :_name(name)
32 {
33 }
ComponentDefinition::~ComponentDefinition ( )
virtual

Definition at line 35 of file ComponentDefinition.cxx.

References _serviceMap, and DEBTRACE.

36 {
37  DEBTRACE("ComponentDefinition::~ComponentDefinition");
38  //get rid of service nodes in map
39  std::map<std::string, ServiceNode*>::const_iterator lt;
40  for(lt=_serviceMap.begin();lt!=_serviceMap.end();lt++)
41  delete (*lt).second;
42 }

Member Function Documentation

const std::string& YACS::ENGINE::ComponentDefinition::getName ( ) const
inline

Definition at line 42 of file ComponentDefinition.hxx.

42 { return _name; }

Member Data Documentation

std::string YACS::ENGINE::ComponentDefinition::_name
protected

Definition at line 46 of file ComponentDefinition.hxx.


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