|
World Ocean Simulation System (WOSS) library
|
#include <woss-test.h>


Public Member Functions | |
| TestTimeReference () | |
| TestTimeReference (const TestTimeReference ©)=default | |
| TestTimeReference (TestTimeReference &&tmp)=default | |
| virtual | ~TestTimeReference () override=default |
| virtual std::unique_ptr< TimeReference > | clone () const override |
| void | setTimeReference (double time) |
| virtual double | getTimeReference () const |
Public Member Functions inherited from woss::TimeReference | |
| virtual | ~TimeReference ()=0 |
Private Attributes | |
| double | time_reference |
TestTimeReference provides the minimum functionality of the simulator time reference
|
inline |
Default constructor
|
default |
|
default |
|
overridevirtualdefault |
|
inlineoverridevirtual |
virtual factory method
Implements woss::TimeReference.
|
inlinevirtual |
Retuns simulation time
Implements woss::TimeReference.
References time_reference.
Referenced by WossUnitTest::testTimeReference().
|
inline |
Sets the current simulation time
| time | simulation time [s] |
References time_reference.
Referenced by WossUnitTest::testTimeReference().
|
private |
Simulated time reference in seconds
Referenced by getTimeReference(), and setTimeReference().