9 #include <adtf_ucom3.h>
15 #define CID_ADTF_SIGNAL_REGISTRY "signal_registry.service.adtf.cid"
Copyright © Audi Electronics Venture GmbH.
tInt64 tTimeStamp
type definition for a time value.
Copyright © Audi Electronics Venture GmbH.
A common result class usable as return value throughout.
Callback interface for enabling and disabling signal generation.
virtual tResult DisableSignal(tSignalID nSignalID)=0
Called when a signal should be disabled.
virtual tResult EnableSignal(tSignalID nSignalID)=0
Called when a signal should be enabled.
Interface for a signal provider.
virtual tResult RemoveSignal(tSignalID nSignalID)=0
Removes a signal.
~ISignalProvider()=default
Protected destructor --> Use implemented Destroy() instead of delete!
ADTF_IID(ISignalProvider, "signal_provider.signal_registry.ant.services.adtf.iid")
Interface ID for the interface.
virtual tResult AddSignal(const tSignalAttributes &sSignal, IEnabledSignals *pEnableCallback=nullptr)=0
Adds a new signal.
virtual tResult UpdateSignal(tSignalID nSignalID, const tSignalValue &sValue)=0
Update the value of a signal.
Interface for asynchronous signal transmission.
size_t tSignalID
unique id for signals
ADTF_IID(ISignalRegistry, "signal_registry.ant.services.adtf.iid")
Interface ID for the interface.
virtual tResult CreateProvider(const char *strName, adtf::ucom::ant::iobject_ptr< ISignalProvider > &pProvider)=0
Creates a new provider.
~ISignalRegistry()=default
Protected destructor --> Use implemented Destroy() instead of delete!
ADTF_IID(ISignalProvider, "signal_provider.signal_registry.flash.services.adtf.iid")
Interface ID for the interface.
~ISignalProvider()=default
Protected destructor --> Use implemented Destroy() instead of delete!
virtual tResult UpdateSignal(tSignalID nSignalID, const tSignalValueNs &sValue)=0
Update the value of a signal.
virtual tResult CreateProvider(const char *strName, adtf::ucom::ant::iobject_ptr< ISignalProvider > &pProvider)=0
Creates a new provider.
ADTF_IID(ISignalRegistry, "signal_registry.flash.services.adtf.iid")
Interface ID for the interface.
Base class for every interface type within the uCOM.
Base object pointer to realize binary compatible reference counting in interface methods.
Namespace for entire ADTF SDK.
A timestamp with nanosecond precision.
const char * strName
The name. Separate trees nodes with '/'.
double f64MaxValue
The maximum value of the signal.
tSignalID nSignalID
The unique id.
double f64MinValue
The minimum value of the signal.
const char * strDescription
A desrciption of the signal, can be nullptr.
const char * strUnit
The unit of the signal, can be nullptr.
const char * strTextValue
TEXTTABLE value or NULL (text representation of the value).
double f64Value
Physical signal value (this is where you put the values you want to display)
tTimeStamp nTimeStamp
Timestamp of signal value (-1 == undefined)
const char * strTextValue
TEXTTABLE value or NULL (text representation of the value).
base::flash::tNanoSeconds nTimeStamp
Timestamp of signal value (-1 == undefined)
double f64Value
Physical signal value (this is where you put the values you want to display)