PhoenixClockMock  1.2.1
Tool to manipulate mock of clock
Loading...
Searching...
No Matches
phoenix_clock_mock.h
Go to the documentation of this file.
1/***************************************
2 Auteur : Pierre Aubert
3 Mail : pierre.aubert@lapp.in2p3.fr
4 Licence : CeCILL-C
5****************************************/
6
7#ifndef __PHOENIX_MOCK_H__
8#define __PHOENIX_MOCK_H__
9
10#include "data_file.h"
11#include "phoenix_clock.h"
12
13typedef unsigned int timeType;
14typedef std::vector<EllapsedTime> VecTime;
15
16void concatenateVecTime(VecTime & vecOutput, const VecTime vecInput);
17
18void splitVecTime(VecTime & vecOutput, const VecTime vecInput,
19 size_t offsetPart, size_t sizePart);
20
21void sleep(timeType ellapsedTime);
22
23
24#endif
unsigned int timeType
void concatenateVecTime(VecTime &vecOutput, const VecTime vecInput)
Concatenate vector of message into an other one.
std::vector< EllapsedTime > VecTime
void splitVecTime(VecTime &vecOutput, const VecTime vecInput, size_t offsetPart, size_t sizePart)
Split a vector of messages into an other.
void sleep(timeType ellapsedTime)
Sleep function for mock clock.