Go to the documentation of this file.
18 #include <foundation/common/service_status.h>
19 #include <foundation/log/logging_structs.h>
23 #include "tn_generic_hal.h"
41 static const APIVersion _APIVersion{
"0",
"2",
"0"};
81 virtual void getEHMapVersion(std::string& streaming_data_version, std::string& onboard_data_version) = 0;
93 virtual tn::foundation::ServiceStatus
shutdown() = 0;
102 virtual tn::foundation::ServiceStatus
pause() = 0;
111 virtual tn::foundation::ServiceStatus
resume() = 0;
198 std::weak_ptr<GenericHAL> generic_hal);
204 #endif //__TN_EHP_H__
virtual void updatePosition(const VehicleLocationInfo &vehicle_location)=0
update the latest vehicle location.
the adas message definition Copyright (c) 2021 Telenav, Inc All rights reserved This program is UNPUB...
The defination of settings, include region, config path, data path vector.
Telenav electronic horizontal provider library.
virtual std::string getEhpVersion()=0
get Ehp version
The Telenav EH provider factory.
the diagnostics event related information definition Copyright (c) 2021 Telenav, Inc All rights reser...
std::shared_ptr< MMFeedback > MMFeedbackPtr
virtual tn::foundation::ServiceStatus shutdown()=0
The shutdown() will stop the running service and release all resources owned by it.
Vehicle current location information.
std::function< void(const tn::foundation::Message &log_message)> LogMessageUpdate_cb
std::function< void(const TnDiagnosticsEvent &diagnostics_event)> DiagnosticsEventUpdate_cb
The definations of settings for tnehprovider. Copyright (c) 2021 Telenav, Inc All rights reserved Thi...
std::vector< std::shared_ptr< ADASMessage > > ADASMessagePtrs
virtual tn::foundation::ServiceStatus resume()=0
The resume() will resume paused service.
std::function< void(const MMFeedbackPtr &mm_feedback)> MapMatchingFeedbackUpdate_cb
definitions for export and import Copyright (c) 2021 Telenav, Inc All rights reserved This program is...
virtual void getEHMapVersion(std::string &streaming_data_version, std::string &onboard_data_version)=0
get electronic horizon map data version.
virtual void setMMFeedbackCallback(MapMatchingFeedbackUpdate_cb mm_cb)=0
set mapmatching result callback, set function pointer to ehprovider, we can use it to return MM feedb...
virtual void setLogCallback(LogMessageUpdate_cb log_meesage_cb)=0
set log messgae callback, set function pointer to ehprovider, we can use it to return log message
position result definition,the position result from Telenav. Can be used for the DR engine....
the analytics event related information definition Copyright (c) 2021 Telenav, Inc All rights reserve...
virtual void setAdasCallback(ADASMessagesUpdate_cb mm_cb)=0
set adas messgae callback, set function pointer to ehprovider, we can use it to return adas message
virtual void setDiagnosticsCallback(DiagnosticsEventUpdate_cb diagnostics_cb)=0
set diagnostics callback, set function pointer to ehprovider, we can use it to return diagnostics
std::function< void(const TnAnalyticsEvent &analytics_event)> AnalyticsEventUpdate_cb
virtual void setAnalyticsCallback(AnalyticsEventUpdate_cb analytics_cb)=0
set analytcis callback, set function pointer to ehprovider, we can use it to return analytics
std::function< void(const ADASMessagePtrs &adas_messages)> ADASMessagesUpdate_cb
virtual tn::foundation::ServiceStatus pause()=0
The pause() will force service to stop running until resume() is called.
static std::shared_ptr< TnEHProvider > createInstance(const TnEHProviderSettings &settings, std::weak_ptr< GenericHAL > generic_hal)
Creates and initializes a new TnEHProvider instance.