TimingEventSourceSCU.h
Go to the documentation of this file.00001
00002 #ifndef _TIMING_EVENT_SOURCE_SCU_H_
00003 #define _TIMING_EVENT_SOURCE_SCU_H_
00004
00005 #include <fesa-core/RealTime/AbstractEventSource.h>
00006 #include <fesa-core/RealTime/RTEvent.h>
00007
00008 const std::string SCU_TIMING_DEVICE_NAME = "/dev/pci_char0";
00009
00010 namespace fesa
00011 {
00012 class EventElement;
00013 }
00014
00015 namespace fesaGSI
00016 {
00017 class TimingEventSourceSCU: public fesa::AbstractEventSource
00018 {
00019 public:
00020
00021 TimingEventSourceSCU();
00022 ~TimingEventSourceSCU();
00023
00024 fesa::RTEvent* wait();
00025
00026 void connect(boost::shared_ptr<fesa::EventElement>& eventElement);
00027
00028 private:
00029
00030
00031 int fileDescriptor_;
00032
00033 };
00034 }
00035
00036 #endif // _TIMING_EVENT_SOURCE_SCU_H_