CFEL - ASG Software Suite
2.5.0
CASS
|
#include <acqiristdc_converter.h>
Public Member Functions | |
void | operator() (const Pds::Xtc *, CASSEvent *) |
takes the xtc and copies the data to cassevent More... | |
![]() | |
virtual | ~ConversionBackend () |
virtual destructor to make clear this is a base class More... | |
virtual void | prepare (cass::CASSEvent *) |
prepare the cassevent More... | |
virtual void | finalize (cass::CASSEvent *) |
finalize the event More... | |
const pdstypelist_t & | pdsTypeList () const |
return the list of pds type ids the converter is responsible for More... | |
Static Public Member Functions | |
static ConversionBackend::shared_pointer | instance () |
create singleton if doesnt exist already More... | |
![]() | |
static shared_pointer | instance (const std::string &type) |
return the requested converter type More... | |
Private Member Functions | |
Converter () | |
constructor More... | |
Converter (const Converter &) | |
prevent copy construction More... | |
Converter & | operator= (const Converter &) |
prevent assignment More... | |
Static Private Attributes | |
static ConversionBackend::shared_pointer | _instance |
the singleton container More... | |
static QMutex | _mutex |
singleton locker for mutithreaded requests More... | |
Additional Inherited Members | |
![]() | |
typedef std::tr1::shared_ptr< ConversionBackend > | shared_pointer |
typedef More... | |
typedef std::list< Pds::TypeId::Type > | pdstypelist_t |
typedef More... | |
![]() | |
pdstypelist_t | _pdsTypeList |
the list of pds types that the converter is responsible for More... | |
Acqiris Converter.
this class takes a xtc of type Id_AcqTDC and extracts the acqiris tdc channels for all instruments
Definition at line 29 of file acqiristdc_converter.h.
|
private |
constructor
sets up the pds type ids that it is responsible for
Definition at line 45 of file acqiristdc_converter.cpp.
|
private |
prevent copy construction
|
static |
create singleton if doesnt exist already
Definition at line 33 of file acqiristdc_converter.cpp.
|
virtual |
takes the xtc and copies the data to cassevent
Reimplemented from cass::ConversionBackend.
Definition at line 51 of file acqiristdc_converter.cpp.
References cass::CASSEvent::AcqirisTDC, data, cass::CASSEvent::devices(), info, and cass::ACQIRISTDC::Instrument::NbrChannels.
|
staticprivate |
the singleton container
Definition at line 52 of file acqiristdc_converter.h.
|
staticprivate |
singleton locker for mutithreaded requests
Definition at line 55 of file acqiristdc_converter.h.