fesa-core-gsi
4.2.0
|
Specialized context for a RTEvent coming from the TimingEventSource. More...
#include <TimingContext.h>
Inherits TimingContext.
Public Member Functions | |
TimingContext (long long cycleStamp, const std::string &cycleName, int64_t interruptStamp=MultiplexingContext::UNKNOWN_TIMESTAMP) | |
constructor More... | |
int64_t | getInterruptTimeStamp () |
Returns the time of occurrence of the event expressed as a 64-bit integer counting the number of nanoseconds elapsed since the UNIX epoch i.e. since January 1st 1970 at 00.00 A.M. More... | |
uint32_t | getCycleTime () |
Returns the time of occurrence of the event in the cycle in ms. The time is returned in a 32 bit integer with the number of miliseconds ticks since the start of the currently executing cycle. More... | |
Protected Attributes | |
int | cycleId_ |
Moved cycleID to lab-part ... not available at fesa-core any more. | |
Specialized context for a RTEvent coming from the TimingEventSource.
fesaGSI::TimingContext::TimingContext | ( | long long | cycleStamp, |
const std::string & | cycleName, | ||
int64_t | interruptStamp = MultiplexingContext::UNKNOWN_TIMESTAMP |
||
) |
constructor
cycleTimeStamp | |
cycleName | |
forewarning | Indicates if the context belongs to the next cycle |
uint32_t fesaGSI::TimingContext::getCycleTime | ( | ) |
Returns the time of occurrence of the event in the cycle in ms. The time is returned in a 32 bit integer with the number of miliseconds ticks since the start of the currently executing cycle.
int64_t fesaGSI::TimingContext::getInterruptTimeStamp | ( | ) |
Returns the time of occurrence of the event expressed as a 64-bit integer counting the number of nanoseconds elapsed since the UNIX epoch i.e. since January 1st 1970 at 00.00 A.M.