|
Diag-Client-Lib
|
Class implements vehicle identification handler. More...

Public Types | |
| using | VehicleIdentificationStateContext = utility::state::StateContext< VehicleIdentificationState > |
| Type alias for state context. More... | |
| using | SyncTimer = utility::sync_timer::SyncTimer< std::chrono::steady_clock > |
| Type alias for Sync timer. More... | |
Public Member Functions | |
| VehicleIdentificationHandlerImpl (sockets::UdpSocketHandler &udp_socket_handler, DoipUdpChannel &channel) | |
| Constructs an instance of VehicleDiscoveryHandlerImpl. More... | |
| auto | GetStateContext () noexcept -> VehicleIdentificationStateContext & |
| Function to get the Vehicle Identification State context. More... | |
| auto | GetSocketHandler () noexcept -> sockets::UdpSocketHandler & |
| Function to get the socket handler. More... | |
| auto | GetDoipChannel () noexcept -> DoipUdpChannel & |
| Function to get the doip channel. More... | |
| auto | GetSyncTimer () noexcept -> SyncTimer & |
| Function to get the sync timer. More... | |
Private Attributes | |
| sockets::UdpSocketHandler & | udp_socket_handler_ |
| The reference to socket handler. More... | |
| DoipUdpChannel & | channel_ |
| The reference to doip channel. More... | |
| VehicleIdentificationStateContext | state_context_ |
| Stores the vehicle identification states. More... | |
| SyncTimer | sync_timer_ |
| Store the synchronous timer. More... | |
Class implements vehicle identification handler.
Definition at line 189 of file doip_vehicle_identification_handler.cpp.
| using doip_client::channel::udp_channel::VehicleIdentificationHandler::VehicleIdentificationHandlerImpl::SyncTimer = utility::sync_timer::SyncTimer<std::chrono::steady_clock> |
Type alias for Sync timer.
Definition at line 200 of file doip_vehicle_identification_handler.cpp.
| using doip_client::channel::udp_channel::VehicleIdentificationHandler::VehicleIdentificationHandlerImpl::VehicleIdentificationStateContext = utility::state::StateContext<VehicleIdentificationState> |
Type alias for state context.
Definition at line 194 of file doip_vehicle_identification_handler.cpp.
|
inlineexplicit |
Constructs an instance of VehicleDiscoveryHandlerImpl.
| [in] | udp_socket_handler | The reference to socket handler |
Definition at line 207 of file doip_vehicle_identification_handler.cpp.
References utility::state::StateContext< EnumState >::AddState(), state_context_, and utility::state::StateContext< EnumState >::TransitionTo().

|
inlinenoexcept |
Function to get the doip channel.
Definition at line 248 of file doip_vehicle_identification_handler.cpp.
References channel_.
|
inlinenoexcept |
Function to get the socket handler.
Definition at line 242 of file doip_vehicle_identification_handler.cpp.
References udp_socket_handler_.
|
inlinenoexcept |
Function to get the Vehicle Identification State context.
Definition at line 236 of file doip_vehicle_identification_handler.cpp.
References state_context_.
|
inlinenoexcept |
Function to get the sync timer.
Definition at line 254 of file doip_vehicle_identification_handler.cpp.
References sync_timer_.
|
private |
The reference to doip channel.
Definition at line 265 of file doip_vehicle_identification_handler.cpp.
Referenced by GetDoipChannel().
|
private |
Stores the vehicle identification states.
Definition at line 270 of file doip_vehicle_identification_handler.cpp.
Referenced by GetStateContext(), and VehicleIdentificationHandlerImpl().
|
private |
Store the synchronous timer.
Definition at line 275 of file doip_vehicle_identification_handler.cpp.
Referenced by GetSyncTimer().
|
private |
The reference to socket handler.
Definition at line 260 of file doip_vehicle_identification_handler.cpp.
Referenced by GetSocketHandler().