NDS3  1.0.0
API reference manual
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nds::StateMachineRollBack Class Reference

Detailed Description

The user implemented code should throw this exception from a state transition function to cause the state machine to roll back to the previous state.

See the StateMachine description for more details about the state transitions.

Examples:
oscilloscope/oscilloscope.cpp, and oscilloscopeMultiChannel/oscilloscopeMultiChannel.cpp.

#include <exceptions.h>

Inheritance diagram for nds::StateMachineRollBack:
nds::StateMachineError nds::NdsError

Public Member Functions

 StateMachineRollBack (const std::string &what)
 Constructor. More...
 
- Public Member Functions inherited from nds::StateMachineError
 StateMachineError (const std::string &what)
 Constructor. More...
 
- Public Member Functions inherited from nds::NdsError
 NdsError (const std::string &what)
 Constructor. More...
 

Constructor & Destructor Documentation

nds::StateMachineRollBack::StateMachineRollBack ( const std::string &  what)

Constructor.

Parameters
whatHuman readable string describing the cause of the exception.

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