RTC Toolkit  2.0.0
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
rtctk::componentFramework::ModelBuilderBase Class Reference

Base class of the ModelBuilder. More...

#include <modelBuilderBase.hpp>

Inheritance diagram for rtctk::componentFramework::ModelBuilderBase:
rtctk::componentFramework::StdComponent< Options >::ModelBuilder rtctk::componentFramework::RtcComponent::ModelBuilder

Public Member Functions

 ModelBuilderBase (StateMachineEngine &engine)
 
virtual ~ModelBuilderBase ()=default
 
void RegisterModel ()
 
void ExportModel (std::string const &file_name)
 

Protected Types

using LayerOptions = std::map< std::string, bool >
 
using Layer = std::tuple< std::string, LayerOptions >
 
using Layers = std::vector< Layer >
 

Protected Member Functions

void RegisterLayer (Layer layer)
 

Protected Attributes

StateMachine sm
 
ModelManipulator mm
 
StateMachineEnginem_engine
 

Detailed Description

Base class of the ModelBuilder.

Member Typedef Documentation

◆ Layer

using rtctk::componentFramework::ModelBuilderBase::Layer = std::tuple<std::string, LayerOptions>
protected

◆ LayerOptions

using rtctk::componentFramework::ModelBuilderBase::LayerOptions = std::map<std::string, bool>
protected

◆ Layers

Constructor & Destructor Documentation

◆ ModelBuilderBase()

rtctk::componentFramework::ModelBuilderBase::ModelBuilderBase ( StateMachineEngine engine)
inline

◆ ~ModelBuilderBase()

virtual rtctk::componentFramework::ModelBuilderBase::~ModelBuilderBase ( )
virtualdefault

Member Function Documentation

◆ ExportModel()

void rtctk::componentFramework::ModelBuilderBase::ExportModel ( std::string const &  file_name)
inline

◆ RegisterLayer()

void rtctk::componentFramework::ModelBuilderBase::RegisterLayer ( Layer  layer)
inlineprotected

◆ RegisterModel()

void rtctk::componentFramework::ModelBuilderBase::RegisterModel ( )
inline

Member Data Documentation

◆ m_engine

StateMachineEngine& rtctk::componentFramework::ModelBuilderBase::m_engine
protected

◆ mm

ModelManipulator rtctk::componentFramework::ModelBuilderBase::mm
protected

◆ sm

StateMachine rtctk::componentFramework::ModelBuilderBase::sm
protected

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