Public Member Functions | Protected Member Functions | List of all members
BondSMState Class Reference

#include <BondSM_sm.h>

Inheritance diagram for BondSMState:
Inheritance graph
[legend]

Public Member Functions

 BondSMState (const char *name, int stateId)
 
virtual void ConnectTimeout (BondSMContext &context)
 
virtual void Die (BondSMContext &context)
 
virtual void DisconnectTimeout (BondSMContext &context)
 
virtual void Entry (BondSMContext &)
 
virtual void Exit (BondSMContext &)
 
virtual void HeartbeatTimeout (BondSMContext &context)
 
virtual void SisterAlive (BondSMContext &context)
 
virtual void SisterDead (BondSMContext &context)
 
- Public Member Functions inherited from statemap::State
int getId () const
 
const char * getName () const
 

Protected Member Functions

virtual void Default (BondSMContext &context)
 
- Protected Member Functions inherited from statemap::State
 State (const char *name, int stateId)
 
virtual ~State ()
 

Additional Inherited Members

- Protected Attributes inherited from statemap::State
char * _name
 
int _stateId
 

Detailed Description

Definition at line 27 of file BondSM_sm.h.

Constructor & Destructor Documentation

◆ BondSMState()

BondSMState::BondSMState ( const char *  name,
int  stateId 
)
inline

Definition at line 31 of file BondSM_sm.h.

Member Function Documentation

◆ ConnectTimeout()

void BondSMState::ConnectTimeout ( BondSMContext context)
virtual

Reimplemented in SM_Dead, and SM_WaitingForSister.

Definition at line 17 of file BondSM_sm.cpp.

◆ Default()

void BondSMState::Default ( BondSMContext context)
protectedvirtual

Definition at line 53 of file BondSM_sm.cpp.

◆ Die()

void BondSMState::Die ( BondSMContext context)
virtual

Reimplemented in SM_Dead, SM_AwaitSisterDeath, SM_Alive, and SM_WaitingForSister.

Definition at line 23 of file BondSM_sm.cpp.

◆ DisconnectTimeout()

void BondSMState::DisconnectTimeout ( BondSMContext context)
virtual

Reimplemented in SM_Dead, and SM_AwaitSisterDeath.

Definition at line 29 of file BondSM_sm.cpp.

◆ Entry()

virtual void BondSMState::Entry ( BondSMContext )
inlinevirtual

Definition at line 35 of file BondSM_sm.h.

◆ Exit()

virtual void BondSMState::Exit ( BondSMContext )
inlinevirtual

Definition at line 36 of file BondSM_sm.h.

◆ HeartbeatTimeout()

void BondSMState::HeartbeatTimeout ( BondSMContext context)
virtual

Reimplemented in SM_Dead, SM_AwaitSisterDeath, and SM_Alive.

Definition at line 35 of file BondSM_sm.cpp.

◆ SisterAlive()

void BondSMState::SisterAlive ( BondSMContext context)
virtual

Reimplemented in SM_Dead, SM_AwaitSisterDeath, SM_Alive, and SM_WaitingForSister.

Definition at line 41 of file BondSM_sm.cpp.

◆ SisterDead()

void BondSMState::SisterDead ( BondSMContext context)
virtual

Reimplemented in SM_Dead, SM_AwaitSisterDeath, SM_Alive, and SM_WaitingForSister.

Definition at line 47 of file BondSM_sm.cpp.


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


bondcpp
Author(s): Stuart Glaser
autogenerated on Mon Feb 28 2022 21:58:34