Public Member Functions | |
cBaseClock () | |
CTOR make sure you call SetName() | |
cBaseClock (const char *strName) | |
CTOR to set the name of the clock. | |
void | SetName (const char *strName) |
Sets the name of the clock. | |
tResult | GetName (base::ant::IString &&strName) const override |
tTimeStamp | GetTime () const override |
adtf::base::flash::tNanoSeconds | GetTimeNs () const override |
![]() | |
tResult | GetInterface (const char *i_strIID, void *&o_pInterface) override |
Query interfaces on an object. | |
tResult | GetInterface (const char *i_strIID, const void *&o_pInterface) const override |
Provides const correct interface querying. | |
void | Destroy () const override |
Switch from non-virtual destructor to virtual destructor. | |
tResult | GetInterface (const char *i_strIID, void *&o_pInterface) override |
Query interfaces on an object. | |
tResult | GetInterface (const char *i_strIID, const void *&o_pInterface) const override |
Provides const correct interface querying. | |
void | Destroy () const override |
Switch from non-virtual destructor to virtual destructor. | |
tResult | GetInterface (const char *i_strIID, void *&o_pInterface) override |
Query interfaces on an object. | |
tResult | GetInterface (const char *i_strIID, const void *&o_pInterface) const override |
Provides const correct interface querying. | |
void | Destroy () const override |
Switch from non-virtual destructor to virtual destructor. | |
![]() | |
ADTF_IID (IObject, "object.ant.ucom.adtf.iid") | |
Marks the IObject to be castable with the ucom_cast() | |
Protected Member Functions | |
tResult | SendResetBeginEvent (tTimeStamp tmOldTime, tTimeStamp tmNewTime) const |
Sends the Reset begin event. | |
tResult | SendResetEndEvent (tTimeStamp tmOldTime, tTimeStamp tmNewTime) const |
Sends the Reset end event. | |
tResult | SendUpdateEvent (tTimeStamp tmOldTime, tTimeStamp tmNewTime) const |
Sends the time update event. | |
tResult | SendResetBeginEvent (base::flash::tNanoSeconds tmOldTime, base::flash::tNanoSeconds tmNewTime) const |
Sends the Reset begin event. | |
tResult | SendResetEndEvent (base::flash::tNanoSeconds tmOldTime, base::flash::tNanoSeconds tmNewTime) const |
Sends the Reset end event. | |
tResult | SendUpdateEvent (base::flash::tNanoSeconds tmOldTime, base::flash::tNanoSeconds tmNewTime) const |
Sends the time update event. | |
![]() | |
~IObject ()=default | |
Protected destructor --> Only the final implementation can be destroyed! | |
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. |
|
private |
Definition at line 152 of file base_clock.h.