Public Member Functions | Private Attributes | List of all members
BondSMContext Class Reference

#include <BondSM_sm.h>

Inheritance diagram for BondSMContext:
Inheritance graph
[legend]

Public Member Functions

 BondSMContext (BondSM &owner)
 
 BondSMContext (BondSM &owner, const statemap::State &state)
 
void ConnectTimeout ()
 
void Die ()
 
void DisconnectTimeout ()
 
virtual void enterStartState ()
 
BondSMgetOwner () const
 
BondSMStategetState () const
 
void HeartbeatTimeout ()
 
void SisterAlive ()
 
void SisterDead ()
 
- Public Member Functions inherited from statemap::FSMContext
void clearState ()
 
void emptyStateStack ()
 
bool getDebugFlag ()
 
StategetPreviousState ()
 
int getStateStackDepth () const
 
char * getTransition ()
 
bool isInTransition () const
 
bool isStateStackEmpty () const
 
FSMContextoperator= (const FSMContext &fsm)
 
void popState ()
 
void pushState (const State &state)
 
int same (const FSMContext &fsm) const
 
void setDebugFlag (bool flag)
 
void setState (const State &state)
 
void setTransition (const char *transition)
 
virtual ~FSMContext ()
 

Private Attributes

BondSM_owner
 

Additional Inherited Members

- Protected Member Functions inherited from statemap::FSMContext
 FSMContext (const State &state)
 
- Protected Attributes inherited from statemap::FSMContext
State_previous_state
 
State_state
 
StateEntry_state_stack
 
char * _transition
 

Detailed Description

Definition at line 126 of file BondSM_sm.h.

Constructor & Destructor Documentation

BondSMContext::BondSMContext ( BondSM owner)
inline

Definition at line 130 of file BondSM_sm.h.

BondSMContext::BondSMContext ( BondSM owner,
const statemap::State state 
)
inline

Definition at line 135 of file BondSM_sm.h.

Member Function Documentation

void BondSMContext::ConnectTimeout ( )
inline

Definition at line 161 of file BondSM_sm.h.

void BondSMContext::Die ( )
inline

Definition at line 166 of file BondSM_sm.h.

void BondSMContext::DisconnectTimeout ( )
inline

Definition at line 171 of file BondSM_sm.h.

virtual void BondSMContext::enterStartState ( )
inlinevirtual

Implements statemap::FSMContext.

Definition at line 140 of file BondSM_sm.h.

BondSM& BondSMContext::getOwner ( ) const
inline

Definition at line 146 of file BondSM_sm.h.

BondSMState& BondSMContext::getState ( ) const
inline

Definition at line 151 of file BondSM_sm.h.

void BondSMContext::HeartbeatTimeout ( )
inline

Definition at line 176 of file BondSM_sm.h.

void BondSMContext::SisterAlive ( )
inline

Definition at line 181 of file BondSM_sm.h.

void BondSMContext::SisterDead ( )
inline

Definition at line 186 of file BondSM_sm.h.

Member Data Documentation

BondSM& BondSMContext::_owner
private

Definition at line 189 of file BondSM_sm.h.


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


bondcpp
Author(s): Stuart Glaser
autogenerated on Wed Mar 20 2019 07:55:35