Alex exoskeleton
ALEX SoftwareDocumentation
Public Member Functions | List of all members
InitState Class Reference

Initialisation State for the ExoTestMachine (implementing ExoTestState) More...

#include <InitState.h>

Inheritance diagram for InitState:
Inheritance graph
Collaboration diagram for InitState:
Collaboration graph

Public Member Functions

void entry (void)
 Called once when the state is entered. Pure virtual function, must be overwritten by each state. More...
 
void during (void)
 Called continuously whilst in that state. Pure virtual function, must be overwritten by each state. More...
 
void exit (void)
 Called once when the state exits. Pure virtual function, must be overwritten by each state. More...
 
 InitState (StateMachine *m, ExoRobot *exo, DummyTrajectoryGenerator *tg, const char *name=NULL)
 
- Public Member Functions inherited from ExoTestState
 ExoTestState (StateMachine *m, ExoRobot *exo, DummyTrajectoryGenerator *tg, const char *name=NULL)
 
- Public Member Functions inherited from State
 State (StateMachine *p, const char n[]=NULL)
 Construct a new State object. More...
 
 ~State ()
 
bool addArc (Transition *t)
 
TransitiongetActiveArc (void)
 
const char * getName (void)
 Returns the name of the state - Note that this. More...
 
void printName (void)
 Prints the name of the state. More...
 

Additional Inherited Members

- Public Attributes inherited from State
StateMachineowner
 Pointer to the owning state machine. More...
 
- Protected Attributes inherited from ExoTestState
ExoRobotrobot
 
DummyTrajectoryGeneratortrajectoryGenerator
 

Detailed Description

Initialisation State for the ExoTestMachine (implementing ExoTestState)

State holds until button is pressed, and runs initPositionControl on exit

Definition at line 13 of file InitState.h.

Constructor & Destructor Documentation

InitState::InitState ( StateMachine m,
ExoRobot exo,
DummyTrajectoryGenerator tg,
const char *  name = NULL 
)

Definition at line 18 of file InitState.h.

Member Function Documentation

void InitState::during ( void  )
virtual

Called continuously whilst in that state. Pure virtual function, must be overwritten by each state.

Implements ExoTestState.

Definition at line 13 of file InitState.cpp.

void InitState::entry ( void  )
virtual

Called once when the state is entered. Pure virtual function, must be overwritten by each state.

Implements ExoTestState.

Definition at line 3 of file InitState.cpp.

void InitState::exit ( void  )
virtual

Called once when the state exits. Pure virtual function, must be overwritten by each state.

Implements ExoTestState.

Definition at line 15 of file InitState.cpp.


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