|
ADTF
|
#include <discrete_clock.h>
Inherits adtf::system::flash::cBaseClock.
Public Member Functions | |
| cDiscreteClock () | |
| cDiscreteClock (const char *strName) | |
| adtf::base::flash::tNanoSeconds | GetTimeNs () const override |
| tResult | Reset (tTimeStamp tmNewTime) |
| tResult | Reset (adtf::base::flash::tNanoSeconds tmNewTime) |
| tResult | SetTime (tTimeStamp tmNewTime) |
| tResult | SetTime (adtf::base::flash::tNanoSeconds tmNewTime) |
Public Member Functions inherited from adtf::system::flash::cBaseClock | |
| cBaseClock () | |
| cBaseClock (const char *strName) | |
| void | SetName (const char *strName) |
| tResult | GetName (base::ant::IString &&strName) const override |
| tTimeStamp | GetTime () const override |
| adtf::base::flash::tNanoSeconds | GetTimeNs () const override |
Public Member Functions inherited from adtf::ucom::catwo::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. | |
| 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. | |
Public Member Functions inherited from adtf::ucom::ant::IObject | |
| ADTF_IID (IObject, "object.ant.ucom.adtf.iid") | |
Additional Inherited Members | |
Protected Member Functions inherited from adtf::system::flash::cBaseClock | |
| tResult | SendResetBeginEvent (tTimeStamp tmOldTime, tTimeStamp tmNewTime) const |
| tResult | SendResetEndEvent (tTimeStamp tmOldTime, tTimeStamp tmNewTime) const |
| tResult | SendUpdateEvent (tTimeStamp tmOldTime, tTimeStamp tmNewTime) const |
| tResult | SendResetBeginEvent (base::flash::tNanoSeconds tmOldTime, base::flash::tNanoSeconds tmNewTime) const |
| tResult | SendResetEndEvent (base::flash::tNanoSeconds tmOldTime, base::flash::tNanoSeconds tmNewTime) const |
| tResult | SendUpdateEvent (base::flash::tNanoSeconds tmOldTime, base::flash::tNanoSeconds tmNewTime) const |
Protected Member Functions inherited from adtf::ucom::ant::IObject | |
| ~IObject ()=default | |
| Protected destructor --> Only the final implementation can be destroyed! | |
| adtf::system::flash::cDiscreteClock::cDiscreteClock | ( | ) |
CTOR make sure you call SetName()
| adtf::system::flash::cDiscreteClock::cDiscreteClock | ( | const char * | strName | ) |
CTOR
| [in] | strName | Name of the clock |
| tResult adtf::system::flash::cDiscreteClock::Reset | ( | adtf::base::flash::tNanoSeconds | tmNewTime | ) |
Resets the time to the new value and send the reste time events.
| [in] | tmNewTime | the new time |
| tResult adtf::system::flash::cDiscreteClock::Reset | ( | tTimeStamp | tmNewTime | ) |
Resets the time to the new value and send the reset time events.
| [in] | tmNewTime | the new time |
| tResult adtf::system::flash::cDiscreteClock::SetTime | ( | adtf::base::flash::tNanoSeconds | tmNewTime | ) |
Sets the time to the new value and resets if value is less than time is set.
| [in] | tmNewTime | the new time |
| tResult adtf::system::flash::cDiscreteClock::SetTime | ( | tTimeStamp | tmNewTime | ) |
Sets the time to the new value and resets if value is less than time is set.
| [in] | tmNewTime | the new time |