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() [1/2]

BondSMContext::BondSMContext ( BondSM owner)
inline

Definition at line 130 of file BondSM_sm.h.

◆ BondSMContext() [2/2]

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

Definition at line 135 of file BondSM_sm.h.

Member Function Documentation

◆ ConnectTimeout()

void BondSMContext::ConnectTimeout ( )
inline

Definition at line 161 of file BondSM_sm.h.

◆ Die()

void BondSMContext::Die ( )
inline

Definition at line 166 of file BondSM_sm.h.

◆ DisconnectTimeout()

void BondSMContext::DisconnectTimeout ( )
inline

Definition at line 171 of file BondSM_sm.h.

◆ enterStartState()

virtual void BondSMContext::enterStartState ( )
inlinevirtual

Implements statemap::FSMContext.

Definition at line 140 of file BondSM_sm.h.

◆ getOwner()

BondSM& BondSMContext::getOwner ( ) const
inline

Definition at line 146 of file BondSM_sm.h.

◆ getState()

BondSMState& BondSMContext::getState ( ) const
inline

Definition at line 151 of file BondSM_sm.h.

◆ HeartbeatTimeout()

void BondSMContext::HeartbeatTimeout ( )
inline

Definition at line 176 of file BondSM_sm.h.

◆ SisterAlive()

void BondSMContext::SisterAlive ( )
inline

Definition at line 181 of file BondSM_sm.h.

◆ SisterDead()

void BondSMContext::SisterDead ( )
inline

Definition at line 186 of file BondSM_sm.h.

Member Data Documentation

◆ _owner

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 Mon Feb 28 2022 21:58:34