ODIN
Public Member Functions | List of all members

#include <step.h>

Public Member Functions

 StepFactory (LDRblock *parblock=0)
 
T * create (const STD_string &label) const
 
STD_string manual () const
 
STD_string get_cmdline_usage (const STD_string &lineprefix) const
 

Detailed Description

template<class T>
class StepFactory< T >

Factory for steps (functors). The template argument is the type of the step to be created by the factory.

Definition at line 119 of file odindata/step.h.

Constructor & Destructor Documentation

◆ StepFactory()

template<class T >
StepFactory< T >::StepFactory ( LDRblock parblock = 0)

Set up factory (creates template objects). Appends parameters of all steps to 'parblock'.

Definition at line 87 of file step_code.h.

Member Function Documentation

◆ create()

template<class T >
T * StepFactory< T >::create ( const STD_string &  label) const

Returns allocated step functor which matches given 'label'.

Definition at line 108 of file step_code.h.

◆ get_cmdline_usage()

template<class T >
STD_string StepFactory< T >::get_cmdline_usage ( const STD_string &  lineprefix) const

Returns documention for command line.

Definition at line 211 of file step_code.h.

◆ manual()

template<class T >
STD_string StepFactory< T >::manual

Returns documention 'code' for doxygen.

Definition at line 134 of file step_code.h.


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