SCL
1.0
Standard Control Library : Control, dynamics, physics, and simulation
|
#include <CSystemClock.hpp>
Public Member Functions | |
SSystemClock () | |
Private Member Functions | |
SSystemClock (const SSystemClock &) | |
SSystemClock & | operator= (const SSystemClock &) |
Private Attributes | |
suClock | sim_time_ |
timeval | t_start_ |
Friends | |
class | CSystemClock |
Contains data required to compute the time. Private data members and a friend CSystemClock help enforce the singleton.
|
inline |
Sets the start times for the system and simulation clocks
|
private |
Private for the clock singleton
|
private |
Private for the clock singleton
|
friend |
Only CSystemClock objects can handle this data structure
|
private |
Tracks simulation time ticks
|
private |
Initialized to when the clock started