fesa::TimingContext Class Reference

Specialized context for a RTEvent coming from the TimingEventSource. The implementation is lab specific. More...

#include <TimingContext.h>

Inheritance diagram for fesa::TimingContext:
fesa::MultiplexingContext

List of all members.

Public Member Functions

 TimingContext (const std::string &cycleName)
 Constructor.
 TimingContext (std::istream &stream)
 constructor from serialized data
virtual 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.
virtual 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.
virtual ~TimingContext ()
 Destructor.

Protected Member Functions

 TimingContext ()
 Constructor.

Detailed Description

Specialized context for a RTEvent coming from the TimingEventSource. The implementation is lab specific.

Definition at line 18 of file TimingContext.h.


Constructor & Destructor Documentation

fesa::TimingContext::TimingContext ( const std::string &  cycleName  ) 
fesa::TimingContext::TimingContext ( std::istream &  stream  ) 

constructor from serialized data

Definition at line 28 of file TimingContext.cpp.

fesa::TimingContext::~TimingContext (  )  [virtual]

Destructor.

Definition at line 44 of file TimingContext.cpp.

fesa::TimingContext::TimingContext (  )  [protected]

Constructor.

Definition at line 22 of file TimingContext.cpp.

References fesa::MultiplexingContext::CycleTypeCtxt, and fesa::MultiplexingContext::type_.


Member Function Documentation

uint32_t fesa::TimingContext::getCycleTime (  )  [virtual]

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.

Returns:
the event-time in the cycle.

Definition at line 39 of file TimingContext.cpp.

int64_t fesa::TimingContext::getInterruptTimeStamp (  )  [virtual]

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.

Returns:
the current TimeStamp

Definition at line 34 of file TimingContext.cpp.


The documentation for this class was generated from the following files:

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1