10 #ifndef _LCLSCONVERTER_H_
11 #define _LCLSCONVERTER_H_
18 #include <QtCore/QMutex>
193 typedef std::map<lclsid::Key, int32_t>
idmap_t;
196 typedef std::pair<uint32_t, std::vector<uint8_t> >
config_t;
Event to store all LCLS Data.
std::pair< uint32_t, std::vector< uint8_t > > config_t
pair the typeid of the config with a shared pointer of the config
std::map< lclsid::Key, int32_t > idmap_t
map that will map the LCLS key to the CASS key
file contains base class for all format converters
static QMutex _mutex
singleton locker for mutithreaded requests
configStore_t _configStore
store for the configurations.
void operator()(const Pds::Xtc *xtc, cass::CASSEvent *evt)
operator to convert the LCLS Data to CASSEvent
static ConversionBackend::shared_pointer _instance
the singleton container
std::map< int32_t, config_t > configStore_t
map containing the detector id together with its configuration
std::tr1::shared_ptr< ConversionBackend > shared_pointer
typedef
Converter for pnCCD, CsPad and commercial CCD Data.
Base class for Converters.
static ConversionBackend::shared_pointer instance()
create singleton if doesnt exist already
Converter & operator=(const Converter &)
prevent assignment
idmap_t _LCLSToCASSId
map lcls id to cass id