Woman, Life, Freedom


Adaptive AUTOSAR
ARA public interface header documentation
ara::com::someip::sd::fsm::ClientServiceState Class Reference

Abstract client's service state. More...

#include <client_service_state.h>

Inheritance diagram for ara::com::someip::sd::fsm::ClientServiceState:
ara::com::helper::MachineState< helper::SdClientState > ara::com::someip::sd::fsm::ClientInitialWaitState ara::com::someip::sd::fsm::ClientRepetitionState ara::com::someip::sd::fsm::ServiceNotseenState ara::com::someip::sd::fsm::ServiceReadyState ara::com::someip::sd::fsm::ServiceSeenState ara::com::someip::sd::fsm::StoppedState

Public Member Functions

 ClientServiceState (const ClientServiceState &)=delete
 
ClientServiceStateoperator= (const ClientServiceState &)=delete
 
- Public Member Functions inherited from ara::com::helper::MachineState< helper::SdClientState >
 MachineState (const MachineState &)=delete
 
MachineStateoperator= (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.
 

Detailed Description

Abstract client's service state.

The class forces its children to react on service offering.

Note
The state is not copyable

Constructor & Destructor Documentation

◆ ClientServiceState()

ara::com::someip::sd::fsm::ClientServiceState::ClientServiceState ( helper::TtlTimer timer)
inlineprotected

Constructor.

Parameters
timerFinite machine state global TTL timer pointer