Main Page
Namespaces
Classes
Files
File List
File Members
src
BaseState.cpp
Go to the documentation of this file.
1
#include <
rsm_core/BaseState.h
>
2
3
namespace
rsm
{
4
5
BaseState::BaseState
() {
6
_stateinterface
= NULL;
7
_interrupt_occured
= 0;
8
}
9
10
BaseState::~BaseState
() {
11
12
}
13
14
void
BaseState::setStateInterface
(
StateInterface
* stateinterface) {
15
_stateinterface
= stateinterface;
16
}
17
18
StateInterface
*
BaseState::getStateInterface
() {
19
return
_stateinterface
;
20
}
21
22
std::string
BaseState::getName
() {
23
return
_name
;
24
}
25
26
}
rsm::BaseState::getStateInterface
StateInterface * getStateInterface()
Definition:
BaseState.cpp:18
rsm::BaseState::getName
std::string getName()
Definition:
BaseState.cpp:22
rsm::BaseState::BaseState
BaseState()
Definition:
BaseState.cpp:5
rsm::BaseState::_interrupt_occured
bool _interrupt_occured
Shows if an interupt occured.
Definition:
BaseState.h:129
rsm
Definition:
BaseState.h:8
rsm::BaseState::_name
std::string _name
Name of the state.
Definition:
BaseState.h:133
rsm::BaseState::_stateinterface
StateInterface * _stateinterface
Pointer to State Interface handling all state transitions.
Definition:
BaseState.h:125
rsm::StateInterface
Handles the RSM transitions between the different state classes and holds a reference to the current ...
Definition:
StateInterface.h:28
BaseState.h
rsm::BaseState::setStateInterface
void setStateInterface(StateInterface *stateinterface)
Definition:
BaseState.cpp:14
rsm::BaseState::~BaseState
virtual ~BaseState()
Definition:
BaseState.cpp:10
rsm_core
Author(s): Marco Steinbrink
autogenerated on Tue Mar 16 2021 02:44:31