Abstract client's service state. More...
#include <client_service_state.h>
Public Member Functions | |
| ClientServiceState (const ClientServiceState &)=delete | |
| ClientServiceState & | operator= (const ClientServiceState &)=delete |
Public Member Functions inherited from ara::com::helper::MachineState< helper::SdClientState > | |
| MachineState (const MachineState &)=delete | |
| MachineState & | operator= (const MachineState &)=delete |
| helper::SdClientState | GetState () const noexcept |
| Get the machine state. More... | |
| virtual void | Activate (helper::SdClientState previousState)=0 |
| Activate the state. More... | |
| void | Register (AbstractStateMachine< helper::SdClientState > *finiteStateMachine) noexcept |
| Register the state to a finite state machine (FSM) More... | |
Protected Member Functions | |
| ClientServiceState (helper::TtlTimer *timer) | |
| Constructor. More... | |
Protected Member Functions inherited from ara::com::helper::MachineState< helper::SdClientState > | |
| virtual void | Deactivate (helper::SdClientState nextState)=0 |
| Deactivating the current state before transiting to the next state. More... | |
| void | Transit (helper::SdClientState nextState) |
| Transit to the next state. More... | |
| MachineState (helper::SdClientState state) noexcept | |
| Constructor. More... | |
Protected Attributes | |
| helper::TtlTimer *const | Timer |
| Timer to handle service offer entry TTL. | |
Abstract client's service state.
The class forces its children to react on service offering.
|
inlineprotected |
Constructor.
| timer | Finite machine state global TTL timer pointer |