State.h File Reference
Include dependency graph for State.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mc_control::fsm::State
 

Namespaces

 mc_control
 
 mc_control::fsm
 

Macros

#define FSM_STATE_API
 
#define EXPORT_SINGLE_STATE(NAME, TYPE)
 

Typedefs

using mc_control::fsm::StatePtr = std::shared_ptr< State >
 

Variables

struct MC_CONTROL_FSM_DLLAPI mc_control::fsm::Controller
 

Macro Definition Documentation

◆ EXPORT_SINGLE_STATE

#define EXPORT_SINGLE_STATE (   NAME,
  TYPE 
)
Value:
extern "C" \
{ \
FSM_STATE_API void MC_RTC_FSM_STATE(std::vector<std::string> & names) \
{ \
names = {NAME}; \
} \
FSM_STATE_API void destroy(mc_control::fsm::State * ptr) \
{ \
delete ptr; \
} \
FSM_STATE_API mc_control::fsm::State * create(const std::string &) \
{ \
return new TYPE(); \
} \
}

◆ FSM_STATE_API

#define FSM_STATE_API
mc_control::fsm::State
Definition: State.h:58