1#ifndef EXTENDED_VEHICLE_H
2#define EXTENDED_VEHICLE_H
4#include "../ara/exec/helper/modelled_process.h"
5#include "../ara/phm/supervised_entity.h"
6#include "../ara/com/someip/sd/someip_sd_server.h"
7#include "./helper/network_configuration.h"
8#include "./helper/curl_wrapper.h"
9#include "./doip/doip_server.h"
25 static const std::string cAppId;
34 std::string mResourcesUrl;
37 bool tryConfigureRestCommunication(
38 std::string apiKey, std::string bearerToken, std::string &vin);
45 static DoipLib::ControllerConfig getDoipConfiguration(
48 void configureDoipServer(
53 const std::atomic_bool *cancellationToken,
54 const std::map<std::string, std::string> &arguments)
override;
61 AsyncBsdSocketLib::Poller *poller,
Volvo extended vehicle adaptive application.
Definition: extended_vehicle.h:23
int Main(const std::atomic_bool *cancellationToken, const std::map< std::string, std::string > &arguments) override
Main running block of the process.
Definition: extended_vehicle.cpp:321
ExtendedVehicle(AsyncBsdSocketLib::Poller *poller, ara::phm::CheckpointCommunicator *checkpointCommunicator)
Constructor.
Definition: extended_vehicle.cpp:12
Class to handle DoIP requests.
Definition: doip_server.h:17
Minimalist C++ wrapper of easy (blocking interface) CURL library for RESTful communication.
Definition: curl_wrapper.h:13
Network communication abstraction layer.
Definition: network_layer.h:18
SOME/IP service discovery server.
Definition: someip_sd_server.h:24
AUTOSAR shortname-path wrapper.
Definition: instance_specifier.h:14
A class that models an instance of an Adaptive (Platform) Application executable.
Definition: modelled_process.h:20
An abstract class to communicate a checkpoint between an application and the PHM cluster.
Definition: checkpoint_communicator.h:15
A class that collects and reports supervision checkpoints.
Definition: supervised_entity.h:16
A class to read ARXML configuration files.
Definition: arxml_reader.h:14
AUTOSAR application namespace.
Definition: diag_message_handler.cpp:5
PhmCheckpointType
Platform health management checkpoint types.
Definition: extended_vehicle.h:15
@ DeadlineSourceCheckpoint
!< Alive supervision checkpoint
@ DeadlineTargetCheckpoint
!< Deadline supervision source checkpoint
Data model for a network configuration.
Definition: network_configuration.h:52