ADTF
3.18.2
|
Public Member Functions | |
cBaseClock () | |
CTOR make sure you call SetName() | |
cBaseClock (const char *strName) | |
CTOR to set the name of the clock. More... | |
void | SetName (const char *strName) |
Sets the name of the clock. More... | |
tResult | GetName (base::ant::IString &&strName) const override |
tTimeStamp | GetTime () const override |
adtf::base::flash::tNanoSeconds | GetTimeNs () const override |
Public Member Functions inherited from object< services::ant::IReferenceClock::IClock, services::flash::IReferenceClock::IClock, ucom::cEventSource > | |
tResult | GetInterface (const char *i_strIID, void *&o_pInterface) override |
Query interfaces on an object. More... | |
tResult | GetInterface (const char *i_strIID, const void *&o_pInterface) const override |
Provides const correct interface querying. More... | |
void | Destroy () const override |
Destruct and deallocate instantiations of type IObject . 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 | |
tResult | SendResetBeginEvent (tTimeStamp tmOldTime, tTimeStamp tmNewTime) const |
Sends the Reset begin event. More... | |
tResult | SendResetEndEvent (tTimeStamp tmOldTime, tTimeStamp tmNewTime) const |
Sends the Reset end event. More... | |
tResult | SendUpdateEvent (tTimeStamp tmOldTime, tTimeStamp tmNewTime) const |
Sends the time update event. More... | |
tResult | SendResetBeginEvent (base::flash::tNanoSeconds tmOldTime, base::flash::tNanoSeconds tmNewTime) const |
Sends the Reset begin event. More... | |
tResult | SendResetEndEvent (base::flash::tNanoSeconds tmOldTime, base::flash::tNanoSeconds tmNewTime) const |
Sends the Reset end event. More... | |
tResult | SendUpdateEvent (base::flash::tNanoSeconds tmOldTime, base::flash::tNanoSeconds tmNewTime) const |
Sends the time update event. More... | |
Protected Member Functions inherited from IObject | |
~IObject ()=default | |
Protected destructor --> Use implemented Destroy() instead of delete! | |
Private Member Functions | |
tResult | SendEvent (adtf::services::flash::IReferenceClock::tReferenceClockEventId eEventId, base::flash::tNanoSeconds tmOldTime, base::flash::tNanoSeconds tmNewTime) const |
tResult | SendEvent (adtf::services::ant::IReferenceClock::tReferenceClockEventId eEventId, tTimeStamp tmOldTime, tTimeStamp tmNewTime) const |
Private Attributes | |
std::string | m_strName |
Definition at line 68 of file base_clock.h.
cBaseClock | ( | const char * | strName | ) |
CTOR to set the name of the clock.
[in] | strName | The name of the clock |
|
protected |
Sends the Reset begin event.
[in] | tmOldTime | Old time before reset. |
[in] | tmNewTime | New time after reset. |
|
protected |
Sends the Reset begin event.
[in] | tmOldTime | Old time before reset. |
[in] | tmNewTime | New time after reset. |
|
protected |
Sends the Reset end event.
[in] | tmOldTime | Old time before reset. |
[in] | tmNewTime | New time after reset. |
|
protected |
Sends the Reset end event.
[in] | tmOldTime | Old time before reset. |
[in] | tmNewTime | New time after reset. |
|
protected |
Sends the time update event.
[in] | tmOldTime | Old time before reset. |
[in] | tmNewTime | New time after reset. |
|
protected |
Sends the time update event.
[in] | tmOldTime | Old time before reset. |
[in] | tmNewTime | New time after reset. |
void SetName | ( | const char * | strName | ) |
Sets the name of the clock.
[in] | strName | The name of the clock. |