state_machine_cpp
PowerLoop Class Referencefinal
Inheritance diagram for PowerLoop:
Collaboration diagram for PowerLoop:

Classes

struct  Attributes
 

Public Member Functions

void build (States &states, Transitions &transitions, Layers &layers) override
 
- Public Member Functions inherited from state_machine_cpp::Algorithm::Builder
template<class T >
friend void ::state_machine_cpp::Algorithm::build (Algorithm::Instance &t_destination, Algorithm::Mode t_build_mode)
 

Static Public Member Functions

static AttributeTree< Layer< ForLoop::Attributes, PowerLoop::Attributes > > * create_attributes (int max_iteration, unsigned int power)
 
static void print_power_of_iteration (Context &context)
 

Static Public Attributes

static const State::IdINITIAL_STATE = ForLoop::INITIAL_STATE
 
static const State::IdFINAL_STATE = ForLoop::FINAL_STATE
 

Additional Inherited Members

- Static Protected Member Functions inherited from state_machine_cpp::Algorithm::Builder
template<class T >
static void import (States &states, Transitions &transitions, Layers &layers)
 

Detailed Description

Examples
example_PowerLoop_main.cpp.

Definition at line 10 of file example_PowerLoop_main.cpp.

Member Function Documentation

◆ build()

void PowerLoop::build ( States states,
Transitions transitions,
Layers layers 
)
inlineoverridevirtual

◆ create_attributes()

static AttributeTree<Layer<ForLoop::Attributes, PowerLoop::Attributes> >* PowerLoop::create_attributes ( int  max_iteration,
unsigned int  power 
)
inlinestatic
Examples
example_PowerLoop_main.cpp.

Definition at line 18 of file example_PowerLoop_main.cpp.

◆ print_power_of_iteration()

static void PowerLoop::print_power_of_iteration ( Context context)
inlinestatic
Examples
example_PowerLoop_main.cpp.

Definition at line 27 of file example_PowerLoop_main.cpp.

Member Data Documentation

◆ FINAL_STATE

const State::Id & PowerLoop::FINAL_STATE = ForLoop::FINAL_STATE
static
Examples
example_PowerLoop_main.cpp.

Definition at line 25 of file example_PowerLoop_main.cpp.

◆ INITIAL_STATE

const State::Id & PowerLoop::INITIAL_STATE = ForLoop::INITIAL_STATE
static
Examples
example_PowerLoop_main.cpp.

Definition at line 24 of file example_PowerLoop_main.cpp.


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