Diag-Client-Lib
Public Member Functions | List of all members
doip_client::channel::udp_channel::anonymous_namespace{doip_vehicle_discovery_handler.cpp}::kIdle Class Referencefinal

Class implements idle state. More...

Inheritance diagram for doip_client::channel::udp_channel::anonymous_namespace{doip_vehicle_discovery_handler.cpp}::kIdle:
Inheritance graph
[legend]
Collaboration diagram for doip_client::channel::udp_channel::anonymous_namespace{doip_vehicle_discovery_handler.cpp}::kIdle:
Collaboration graph
[legend]

Public Member Functions

 kIdle (VehicleDiscoveryState state)
 Constructs an instance of kIdle. More...
 
void Start () override
 Function to start the current state. More...
 
void Stop () override
 Function to stop the current state. More...
 
- Public Member Functions inherited from utility::state::State< VehicleDiscoveryState >
 State (VehicleDiscoveryState state)
 
virtual ~State ()=default
 
virtual void HandleMessage ()
 
auto GetState () const noexcept -> VehicleDiscoveryState
 

Additional Inherited Members

- Protected Attributes inherited from utility::state::State< VehicleDiscoveryState >
VehicleDiscoveryState state_
 

Detailed Description

Class implements idle state.

Definition at line 26 of file doip_vehicle_discovery_handler.cpp.

Constructor & Destructor Documentation

◆ kIdle()

doip_client::channel::udp_channel::anonymous_namespace{doip_vehicle_discovery_handler.cpp}::kIdle::kIdle ( VehicleDiscoveryState  state)
inlineexplicit

Constructs an instance of kIdle.

Parameters
[in]stateThe kIdle state

Definition at line 33 of file doip_vehicle_discovery_handler.cpp.

33 : State<VehicleDiscoveryState>(state) {}

Member Function Documentation

◆ Start()

void doip_client::channel::udp_channel::anonymous_namespace{doip_vehicle_discovery_handler.cpp}::kIdle::Start ( )
inlineoverridevirtual

Function to start the current state.

Implements utility::state::State< VehicleDiscoveryState >.

Definition at line 38 of file doip_vehicle_discovery_handler.cpp.

38 {}

◆ Stop()

void doip_client::channel::udp_channel::anonymous_namespace{doip_vehicle_discovery_handler.cpp}::kIdle::Stop ( )
inlineoverridevirtual

Function to stop the current state.

Implements utility::state::State< VehicleDiscoveryState >.

Definition at line 43 of file doip_vehicle_discovery_handler.cpp.

43 {}

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