Class CProvider#

Inheritance Relationships#

Base Types#

Class Documentation#

class CProvider : public sdv::IInterfaceAccess, public sdv::IObjectDestroy, public sdv::core::ISignalWrite#

Class implementing the signal provider. Needed for provider interface implementation.

Public Functions

explicit CProvider(CSignal &rSignal)#

Constructor.

Parameters:

rSignal[in] Reference to the signal instance.

virtual void DestroyObject() override#

Destroy the object. Overload of sdv::IObjectDestroy::DestroyObject.

virtual void Write(sdv::any_t anyVal, sdv::IInterfaceAccess *pTransaction) override#

Update the signal value. Overload of sdv::core::ISignalWrite::Write.

Parameters:
  • anyVal[in] The value to update the signal with.

  • pTransaction[in] The transaction interface. Could be NULL in case the update should occur immediately.

void Write(const sdv::any_t &ranyVal, uint64_t uiTransactionID)#

Update the signal value with the transaction ID supplied. A new entry will be created if the transaction is larger.

Parameters:
  • ranyVal[in] Reference to the value to update the signal with.

  • uiTransactionID[in] The transaction ID or 0 for current transaction ID.