ADTF
|
Interface for a signal provider. More...
Classes | |
class | IEnabledSignals |
Callback interface for enabling and disabling signal generation. More... | |
Public Member Functions | |
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. More... | |
virtual tResult | UpdateSignal (tSignalID nSignalID, const tSignalValue &sValue)=0 |
Update the value of a signal. More... | |
virtual tResult | RemoveSignal (tSignalID nSignalID)=0 |
Removes a signal. More... | |
Public Member Functions inherited from IObject | |
ADTF_IID (IObject, "object.ant.ucom.adtf.iid") | |
Marks the IObject to be castable with the ucom_cast() More... | |
Protected Member Functions | |
~ISignalProvider ()=default | |
Protected destructor --> Use implemented Destroy() instead of delete! | |
Protected Member Functions inherited from IObject | |
~IObject ()=default | |
Protected destructor --> Use implemented Destroy() instead of delete! | |
Interface for a signal provider.
Definition at line 68 of file signal_registry_intf.h.
|
pure virtual |
Adds a new signal.
[in] | sSignal | The attributes of the signal. |
[in] | pEnableCallback | Optional call back to enable disable signal generation. |
Removes a signal.
[in] | nSignalID | The id of the signal. |
Implicitly called at the destruction of ISignalProvider for all signals which have not been removed yet.
|
pure virtual |
Update the value of a signal.
[in] | nSignalID | The id of the signal |
[in] | sValue | The new value of the signal. |