Emergency 20 Dokumentation  4.2.0
em5::ActivityStepFactory Class Reference

Activity step factory. More...

#include <ActivityStepFactory.h>

Public Member Functions

 ActivityStepFactory ()
 Default constructor. More...
 
 ~ActivityStepFactory ()
 Destructor. More...
 
ActivityStepcreateActivityStepFromBoostPTree (const qsf::NamedIdentifier &key, const boost::property_tree::ptree &pTree)
 Create an activity step instance by the given key. More...
 

Detailed Description

Activity step factory.

Constructor & Destructor Documentation

em5::ActivityStepFactory::ActivityStepFactory ( )

Default constructor.

em5::ActivityStepFactory::~ActivityStepFactory ( )

Destructor.

Member Function Documentation

ActivityStep* em5::ActivityStepFactory::createActivityStepFromBoostPTree ( const qsf::NamedIdentifier key,
const boost::property_tree::ptree pTree 
)

Create an activity step instance by the given key.

Parameters
[in]keyActivity step key to identify the class to construct an instance of
[in]pTreeBoost property tree to initialize the new activity step instance
Returns
The activity step instance; ownership is transferred, i.e. the caller is resposible for destroying the instance again

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