#include <interpolating_clock.h>
Inherits adtf::system::ant::cBaseClock.
|
| | cInterpolatingClock (const char *strName) |
| |
|
tTimeStamp | GetTime () const override |
| |
| tResult | Reset (tTimeStamp nNewTime) |
| |
| tResult | SetTime (tTimeStamp nNewTime) |
| |
| void | Start () |
| |
| void | Pause () |
| |
| | 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") |
| |
Interpolating clock.
Time is interpolated between calls to SetTime() and Reset() with the help of the system clock.
◆ cInterpolatingClock()
| adtf::system::ant::cInterpolatingClock::cInterpolatingClock |
( |
const char * | strName | ) |
|
Constructor
- Parameters
-
| [in] | strName | The name of the clock. |
◆ Pause()
| void adtf::system::ant::cInterpolatingClock::Pause |
( |
| ) |
|
Pauses the clock at the current instant. GetTime will return the same value for all following calls until Start() is called.
◆ Reset()
| tResult adtf::system::ant::cInterpolatingClock::Reset |
( |
tTimeStamp | nNewTime | ) |
|
Resets the time to the new value and send the reset time events.
- Parameters
-
- Returns
- Standard Result Code
-
ERR_NOERROR time set successfully
◆ SetTime()
| tResult adtf::system::ant::cInterpolatingClock::SetTime |
( |
tTimeStamp | nNewTime | ) |
|
Sets the time to the new value.
This must be greater or equal to the last value set with Reset() or SetTime().
- Parameters
-
- Returns
- Standard Result Code
-
ERR_NOERROR time set successfully
◆ Start()
| void adtf::system::ant::cInterpolatingClock::Start |
( |
| ) |
|
Restarts interpolation after pausing.
The documentation for this class was generated from the following file: