#include <discrete_clock.h>
Inherits adtf::system::ant::cBaseClock.
|
| | cDiscreteClock (const char *strName) |
| |
|
tTimeStamp | GetTime () const override |
| |
| tResult | Reset (tTimeStamp tmNewTime) |
| |
| tResult | SetTime (tTimeStamp tmNewTime) |
| |
| | cBaseClock (const char *strName) |
| |
|
tResult | GetName (base::ant::IString &&strName) 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") |
| |
Discrete Clock implementation.
Time does not advance between calls to SetTime() and Reset().
◆ cDiscreteClock()
| adtf::system::ant::cDiscreteClock::cDiscreteClock |
( |
const char * | strName | ) |
|
CTOR
- Parameters
-
| [in] | strName | Name of the clock |
◆ Reset()
| tResult adtf::system::ant::cDiscreteClock::Reset |
( |
tTimeStamp | tmNewTime | ) |
|
Resets the time to the new value and send the reste time events.
- Parameters
-
| [in] | tmNewTime | the new time |
- Returns
- Standard Result Code
-
ERR_NOERROR time set successfully
◆ SetTime()
| tResult adtf::system::ant::cDiscreteClock::SetTime |
( |
tTimeStamp | tmNewTime | ) |
|
Sets the time to the new value and resets if value is less than time is set.
- Parameters
-
| [in] | tmNewTime | the new time |
- Returns
- Standard Result Code
-
ERR_NOERROR time set successfully
The documentation for this class was generated from the following file: