10 #ifndef NDSSTATEMACHINE_H
11 #define NDSSTATEMACHINE_H
142 void setState(
const state_t newState);
171 bool canChange(
const state_t newState);
176 #endif // NDSSTATEMACHINE_H
The PV is used to retrieve the local state of a state machine.
Defines the nds::Node class, a class that can contain other device's nodes, ports or PVs...
A node object that can contain other nodes or PVs as children.
Definition: node.h:38
Represents a state machine to be attached to a node.
Definition: stateMachine.h:57
std::function< bool(const state_t, const state_t, const state_t)> allowChange_t
Definition for a function called to allow or deny a state transition.
Definition: definitions.h:271
std::function< void()> stateChange_t
Definition for the function executed during the state transition.
Definition: definitions.h:254
Defines all the enumeration and common types used across the NDS library.
The PV is used to retrieve the global state.
state_t
Available states, ordered by priority (lowest to higher).
Definition: definitions.h:36