This event source is able to connect to the WR-Timing, to receive WR-Events and to forward them to fesa-core.
More...
#include <TimingEventSourceWR.h>
Inherits AbstractEventSource.
|
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...
|
|
|
static void | registerTrigger (fesa::AbstractDevice *device, int eventNo, uint64_t offset, uint32_t tag) |
| register the event to create a tag on the SCU bus Only one tag per event number More...
|
|
static void | deregisterTrigger (fesa::AbstractDevice *device, int eventNo) |
| deregister an event that was creating a tag on the SCU bus More...
|
|
static void | injectTag (uint32_t tag) |
| immediately create a tag on the SCU bus More...
|
|
This event source is able to connect to the WR-Timing, to receive WR-Events and to forward them to fesa-core.
void fesaGSI::TimingEventSourceWR::connect |
( |
const boost::shared_ptr< fesa::EventElement > & |
eventElement | ) |
|
connects a FESA-event to a specific WR-Event
- Parameters
-
eventElement | contains information about the FESA-event which is to connect |
void fesaGSI::TimingEventSourceWR::deregisterTrigger |
( |
fesa::AbstractDevice * |
device, |
|
|
int |
eventNo |
|
) |
| |
|
static |
deregister an event that was creating a tag on the SCU bus
- Parameters
-
device | the device |
eventNo | the event number |
void fesaGSI::TimingEventSourceWR::injectTag |
( |
uint32_t |
tag | ) |
|
|
static |
immediately create a tag on the SCU bus
- Parameters
-
void fesaGSI::TimingEventSourceWR::registerTrigger |
( |
fesa::AbstractDevice * |
device, |
|
|
int |
eventNo, |
|
|
uint64_t |
offset, |
|
|
uint32_t |
tag |
|
) |
| |
|
static |
register the event to create a tag on the SCU bus Only one tag per event number
- Parameters
-
device | the device (to find the groupID) |
eventNo | the event number |
offset | time (ns) to wait before triggering |
tag | tag output to SCU bus |
void fesaGSI::TimingEventSourceWR::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
-
eventToFire | event which will be fired when the method returns |
The documentation for this class was generated from the following files:
- TimingEventSourceWR.h
- TimingEventSourceWR.cpp