CFEL - ASG Software Suite
2.5.0
CASS
|
An Acqiris Instrument. More...
#include <acqiris_device.hpp>
Public Types | |
typedef std::vector< Channel > | channels_t |
a vector of Channels More... | |
Public Member Functions | |
Instrument () | |
constructor More... | |
Instrument (SerializerBackend &in) | |
constuct class from stream More... | |
virtual void | serialize (SerializerBackend &out) const |
will serialize all channels to Serializer More... | |
virtual bool | deserialize (SerializerBackend &in) |
will deserialize all channels from the Serializer More... | |
const channels_t & | channels () const |
channels_t & | channels () |
uint64_t | id () const |
uint64_t & | id () |
![]() | |
Serializable (uint16_t version) | |
constructor initializing the version More... | |
virtual | ~Serializable () |
virtual destructor to avoid warning with gcc 4.1.2 More... | |
uint16_t | ver () const |
retrieve the version of the serializer More... | |
virtual void | writeVersion (SerializerBackend &out) const |
write the version to the stream More... | |
virtual void | checkVersion (SerializerBackend &in) const |
check the version More... | |
Private Attributes | |
channels_t | _channels |
Container for all Channels. More... | |
uint64_t | _eventID |
the eventid that this detector belongs to (can be used for crosschecks More... | |
Additional Inherited Members | |
![]() | |
uint16_t | _version |
the version for de/serializing More... | |
An Acqiris Instrument.
An Acqiris Instrument represents the actual Acqiris (Multi)-Instrument, which contains a lot of channels
Definition at line 31 of file acqiris_device.hpp.
typedef std::vector<Channel> cass::ACQIRIS::Instrument::channels_t |
a vector of Channels
Definition at line 51 of file acqiris_device.hpp.
|
inline |
constructor
Definition at line 35 of file acqiris_device.hpp.
|
inline |
constuct class from stream
in | the stream to construct this class from |
Definition at line 43 of file acqiris_device.hpp.
References deserialize().
|
inline |
Definition at line 86 of file acqiris_device.hpp.
References _channels.
Referenced by cass::ACQIRIS::LmaReader::readHeaderInfo().
|
inline |
Definition at line 89 of file acqiris_device.hpp.
References _channels.
|
inlinevirtual |
will deserialize all channels from the Serializer
in | the stream to serialize this class from |
read how many channels
clear the channels container and deserialize the channels from the stream
Implements cass::Serializable.
Definition at line 72 of file acqiris_device.hpp.
References _channels, cass::Serializable::checkVersion(), and cass::SerializerBackend::retrieve().
Referenced by Instrument().
|
inline |
Definition at line 92 of file acqiris_device.hpp.
References _eventID.
Referenced by cass::ACQIRIS::Converter::operator()().
|
inline |
Definition at line 95 of file acqiris_device.hpp.
References _eventID.
|
inlinevirtual |
will serialize all channels to Serializer
out | the stream to serialze this class to |
copy the size of the channels and then all channels
Implements cass::Serializable.
Definition at line 58 of file acqiris_device.hpp.
References _channels, cass::SerializerBackend::add(), and cass::Serializable::writeVersion().
|
private |
Container for all Channels.
Definition at line 99 of file acqiris_device.hpp.
Referenced by channels(), deserialize(), and serialize().
|
private |
the eventid that this detector belongs to (can be used for crosschecks
Definition at line 102 of file acqiris_device.hpp.
Referenced by id().