7 #ifndef __PCLOCKMOCK_H__
8 #define __PCLOCKMOCK_H__
bool phoenix_loadClockMock(VecTime &vecTime)
Load the Clock Mock.
bool phoenix_saveClockMock(const VecTime &vecTime)
Save the Clock Mock.
std::vector< time_t > VecTime
bool p_isRecordMode
True if the clock mock is in record mode.
VecTime p_vecTime
Vector of recorded time.
PClockMock & operator=(const PClockMock &other)
Definition of equal operator of PClockMock.
size_t p_currentTimeIndex
Index of the current time.
PClockMock()
Default constructor of PClockMock.
time_t now()
Get the mocked current time.
virtual ~PClockMock()
Destructor of PClockMock.
void setCurrentTime(time_t currentTime)
Set the current time to be recorded.
void copyPClockMock(const PClockMock &other)
Copy function of PClockMock.
void initialisationPClockMock()
Initialisation function of the class PClockMock.