7#ifndef TRIGSTEERINGEVENT_GENERICRESULT_H
8#define TRIGSTEERINGEVENT_GENERICRESULT_H
53 virtual bool serialize( std::vector<uint32_t>& output ) = 0;
68 virtual bool serialize( uint32_t*& output,
int& data_size,
const int max_size=-1,
const unsigned int mod_id = 0 ) = 0;
75 virtual bool deserialize(
const std::vector<uint32_t>& source ) = 0;
82 virtual bool deserialize( uint32_t* source,
int data_size ) = 0;
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
File providing the different SG_BASE macros.
the interface class for all HLT, CALIB, MONITORING results The class define the interface between PSC...
virtual bool deserialize(const std::vector< uint32_t > &source)=0
unpacking raw result into the usable high level object
virtual bool serialize(uint32_t *&output, int &data_size, const int max_size=-1, const unsigned int mod_id=0)=0
the optimized version of the above, works on plain C array the content is the same as in above
virtual bool deserialize(uint32_t *source, int data_size)=0
more efficient version of above deserialize, using raw C arrays
virtual bool serialize(std::vector< uint32_t > &output)=0
get the result of the processing as the raw vector of 32 bit unsigned integers
virtual uint32_t error_bits() const =0
bit flags to explain problems during processing
virtual bool error() const =0
problems during processing
virtual bool accepted() const =0
reject or accept