#include <BondSM_sm.h>
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) |
Protected Member Functions | |
virtual void | Default (BondSMContext &context) |
Definition at line 27 of file BondSM_sm.h.
BondSMState::BondSMState | ( | const char * | name, |
int | stateId | ||
) | [inline] |
Definition at line 32 of file BondSM_sm.h.
void BondSMState::ConnectTimeout | ( | BondSMContext & | context | ) | [virtual] |
Reimplemented in SM_Dead, and SM_WaitingForSister.
Definition at line 19 of file BondSM_sm.cpp.
void BondSMState::Default | ( | BondSMContext & | context | ) | [protected, virtual] |
Definition at line 55 of file BondSM_sm.cpp.
void BondSMState::Die | ( | BondSMContext & | context | ) | [virtual] |
Reimplemented in SM_Dead, SM_AwaitSisterDeath, SM_Alive, and SM_WaitingForSister.
Definition at line 25 of file BondSM_sm.cpp.
void BondSMState::DisconnectTimeout | ( | BondSMContext & | context | ) | [virtual] |
Reimplemented in SM_Dead, and SM_AwaitSisterDeath.
Definition at line 31 of file BondSM_sm.cpp.
virtual void BondSMState::Entry | ( | BondSMContext & | ) | [inline, virtual] |
Definition at line 36 of file BondSM_sm.h.
virtual void BondSMState::Exit | ( | BondSMContext & | ) | [inline, virtual] |
Definition at line 37 of file BondSM_sm.h.
void BondSMState::HeartbeatTimeout | ( | BondSMContext & | context | ) | [virtual] |
Reimplemented in SM_Dead, SM_AwaitSisterDeath, and SM_Alive.
Definition at line 37 of file BondSM_sm.cpp.
void BondSMState::SisterAlive | ( | BondSMContext & | context | ) | [virtual] |
Reimplemented in SM_Dead, SM_AwaitSisterDeath, SM_Alive, and SM_WaitingForSister.
Definition at line 43 of file BondSM_sm.cpp.
void BondSMState::SisterDead | ( | BondSMContext & | context | ) | [virtual] |
Reimplemented in SM_Dead, SM_AwaitSisterDeath, SM_Alive, and SM_WaitingForSister.
Definition at line 49 of file BondSM_sm.cpp.