BaseState.cpp
Go to the documentation of this file.
1 #include <rsm_core/BaseState.h>
2 
3 namespace rsm {
4 
6  _stateinterface = NULL;
8 }
9 
11 
12 }
13 
15  _stateinterface = stateinterface;
16 }
17 
19  return _stateinterface;
20 }
21 
22 std::string BaseState::getName() {
23  return _name;
24 }
25 
26 }
StateInterface * getStateInterface()
Definition: BaseState.cpp:18
std::string getName()
Definition: BaseState.cpp:22
bool _interrupt_occured
Shows if an interupt occured.
Definition: BaseState.h:129
Definition: BaseState.h:8
std::string _name
Name of the state.
Definition: BaseState.h:133
StateInterface * _stateinterface
Pointer to State Interface handling all state transitions.
Definition: BaseState.h:125
Handles the RSM transitions between the different state classes and holds a reference to the current ...
void setStateInterface(StateInterface *stateinterface)
Definition: BaseState.cpp:14
virtual ~BaseState()
Definition: BaseState.cpp:10


rsm_core
Author(s): Marco Steinbrink
autogenerated on Tue Mar 16 2021 02:44:31