![]() |
|
PhoenixClock
2.2.0
Library wrapping the usage of system's clock, allowing to use clock mock-ups
|
#include "PClockMockFile.h"
Include dependency graph for PClockMockFile.cpp:Go to the source code of this file.
Functions | |
| bool | phoenix_createClockMock (const std::string &prefix, size_t nbTime, time_t firstTime, time_t timeIncrement) |
| Create a clock mock. | |
| bool | phoenix_createMockBackend (PClockMockFile &mock, const std::string &prefix) |
| Create a mock backend for clock. | |
| bool phoenix_createClockMock | ( | const std::string & | prefix, |
| size_t | nbTime, | ||
| time_t | firstTime, | ||
| time_t | timeIncrement ) |
Create a clock mock.
| prefix | : prefix where to find the mock file |
| nbTime | : number of time values in the mock |
| firstTime | : value of the first time |
| timeIncrement | : increment between two consecutive times |
Definition at line 27 of file PClockMockFile.cpp.
References PClockMock::close(), PClockMockFile::close(), phoenix_createMockBackend(), and phoenix_fillClockMock().
Here is the call graph for this function:| bool phoenix_createMockBackend | ( | PClockMockFile & | mock, |
| const std::string & | prefix ) |
Create a mock backend for clock.
| [out] | mock | : clock mock backend to be used |
| prefix | : prefix of the mock file |
Definition at line 15 of file PClockMockFile.cpp.
References PClockMockFile::setMockPrefix().
Referenced by phoenix_createClockMock().
Here is the call graph for this function:
Here is the caller graph for this function: