Client state when the service is stopped. More...
#include <stopped_state.h>
Public Member Functions | |
| StoppedState (helper::TtlTimer *ttlTimer, std::condition_variable *conditionVariable) noexcept | |
| Constructor. More... | |
| StoppedState (const StoppedState &)=delete | |
| StoppedState & | operator= (const StoppedState &)=delete |
| void | Activate (helper::SdClientState previousState) override |
| Activate the state. More... | |
Public Member Functions inherited from ara::com::someip::sd::fsm::ClientServiceState | |
| 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... | |
| void | Register (AbstractStateMachine< helper::SdClientState > *finiteStateMachine) noexcept |
| Register the state to a finite state machine (FSM) More... | |
Protected Member Functions | |
| void | Deactivate (helper::SdClientState nextState) override |
| Deactivating the current state before transiting to the next state. More... | |
Protected Member Functions inherited from ara::com::someip::sd::fsm::ClientServiceState | |
| ClientServiceState (helper::TtlTimer *timer) | |
| Constructor. More... | |
Protected Member Functions inherited from ara::com::helper::MachineState< helper::SdClientState > | |
| void | Transit (helper::SdClientState nextState) |
| Transit to the next state. More... | |
| MachineState (helper::SdClientState state) noexcept | |
| Constructor. More... | |
Additional Inherited Members | |
Protected Attributes inherited from ara::com::someip::sd::fsm::ClientServiceState | |
| helper::TtlTimer *const | Timer |
| Timer to handle service offer entry TTL. | |
Client state when the service is stopped.
|
noexcept |
Constructor.
| ttlTimer | Finite machine state global TTL timer pointer |
| conditionVariable | Condition variable to be notified when the state activated |
|
overridevirtual |
Activate the state.
| previousState | Previous state before transiting to this state |
Implements ara::com::helper::MachineState< helper::SdClientState >.
|
overrideprotectedvirtual |
Deactivating the current state before transiting to the next state.
| nextState | Next state coming after deactivation |
Implements ara::com::helper::MachineState< helper::SdClientState >.