GetTime¶
-
virtual std::chrono::system_clock::time_point ITopController::GetTime() = 0¶
Gets the system time of the controller.
- Returns
std::chrono::system_clock::time_point – System time of the controller.
- Throws
CUnsupportedException
– Controller does not support system time.CCommunicationErrorException
– Protocol error.CConnectionLostException
– Connection to controller lost.CRebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.CIncompatibleException
– Incompatible firmware version loaded.CObjectDestroyedException
– Object is destroyed.