PhoenixClock  0.4.0
Library wrapping the usage of system's clock, allowing to use clock mock-ups
Loading...
Searching...
No Matches
PClockMock.cpp File Reference
#include "PClockMock.h"
+ Include dependency graph for PClockMock.cpp:

Go to the source code of this file.

Functions

bool phoenix_loadClockMock (VecTime &vecTime)
 Load the Clock Mock.
 
bool phoenix_saveClockMock (const VecTime &vecTime)
 Save the Clock Mock.
 

Function Documentation

◆ phoenix_loadClockMock()

bool phoenix_loadClockMock ( VecTime & vecTime)

Load the Clock Mock.

Parameters
[out]vecTime: vector of time to be loaded from Mock
Returns
true on success, false otherwise

Definition at line 22 of file PClockMock.cpp.

22 {
23 return data_load("clock.clockmock", vecTime);
24}

Referenced by PClockMock::now().

+ Here is the caller graph for this function:

◆ phoenix_saveClockMock()

bool phoenix_saveClockMock ( const VecTime & vecTime)

Save the Clock Mock.

Parameters
vecTime: vector of time to be saved as Mock
Returns
true on success, false otherwise

Definition at line 14 of file PClockMock.cpp.

14 {
15 return data_save("clock.clockmock", vecTime);
16}

Referenced by PClockMock::~PClockMock().

+ Here is the caller graph for this function: