fesa-core-gsi  7.0.0
fesaGSI::TimingSimulationEventSourceWR Class Reference

This event source simulates White Rabbit events using a software timer. More...

#include <TimingSimulationEventSourceWR.h>

Inherits AbstractEventSource.

Public Member Functions

void wait (boost::shared_ptr< fesa::RTEvent > &eventToFire)
 This method blocks waiting for one of the registered hardware timing events. Once a timing event has occurred the eventToFire will contain the Timing Context of the event. More...
 
void connect (const boost::shared_ptr< fesa::EventElement > &eventElement)
 connects a FESA-event to a specific WR-Event More...
 
uint64_t getProcessStartTimestamp (int id)
 returns timestamp of the most recent Process Start Event for the given Process Using the Simulated Event Source start events are not guaranteed
 
uint64_t getSequenceStartTimestamp (int id)
 returns timestamp of the most recent Sequence Start Event for the given Sequence Using the Simulated Event Source start events are not guaranteed
 
bool getTimingReceiverLinkStatus ()
 Simulation: always true.
 

Static Public Member Functions

static void registerTrigger (fesa::AbstractDevice *device, int eventNo, uint64_t offset, uint32_t tag)
 Simulation: does nothing.
 
static void deregisterTrigger (fesa::AbstractDevice *device, int eventNo)
 Simulation: does nothing.
 
static void injectTag (uint32_t tag)
 Simulation: does nothing.
 

Detailed Description

This event source simulates White Rabbit events using a software timer.

Member Function Documentation

void fesaGSI::TimingSimulationEventSourceWR::connect ( const boost::shared_ptr< fesa::EventElement > &  eventElement)

connects a FESA-event to a specific WR-Event

Parameters
eventElementcontains information about the FESA-event which is to connect
void fesaGSI::TimingSimulationEventSourceWR::wait ( boost::shared_ptr< fesa::RTEvent > &  eventToFire)

This method blocks waiting for one of the registered hardware timing events. Once a timing event has occurred the eventToFire will contain the Timing Context of the event.

Parameters
eventToFireevent which will be fired when the method returns

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