CFEL - ASG Software Suite
2.5.0
CASS
|
An Acqiris TDC Instrument. More...
#include <acqiristdc_device.hpp>
Public Types | |
enum | { NbrChannels =6 } |
there is a fixed size of channels in this instrument More... | |
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... | |
void | serialize (SerializerBackend &out) const |
will serialize all channels to Serializer More... | |
bool | deserialize (SerializerBackend &in) |
will deserialize all channels from the Serializer More... | |
const channels_t & | channels () const |
channels_t & | channels () |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
uint16_t | _version |
the version for de/serializing More... | |
An Acqiris TDC Instrument.
An Acqiris Instrument represents the actual Acqiris (Multi)-Instrument, which contains a lot of channels
Definition at line 104 of file acqiristdc_device.hpp.
typedef std::vector<Channel> cass::ACQIRISTDC::Instrument::channels_t |
a vector of Channels
Definition at line 124 of file acqiristdc_device.hpp.
anonymous enum |
there is a fixed size of channels in this instrument
Enumerator | |
---|---|
NbrChannels |
Definition at line 127 of file acqiristdc_device.hpp.
|
inline |
constructor
Definition at line 108 of file acqiristdc_device.hpp.
|
inline |
constuct class from stream
in | the stream to construct this class from |
Definition at line 116 of file acqiristdc_device.hpp.
References deserialize().
|
inline |
Definition at line 164 of file acqiristdc_device.hpp.
References _channels.
|
inline |
Definition at line 167 of file acqiristdc_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 channel container and read the channels from the stream
Implements cass::Serializable.
Definition at line 150 of file acqiristdc_device.hpp.
References _channels, cass::Serializable::checkVersion(), and cass::SerializerBackend::retrieve().
Referenced by Instrument().
|
inlinevirtual |
will serialize all channels to Serializer
out | the stream to serialze this class to |
serialize the size of the channels and then all channels
Implements cass::Serializable.
Definition at line 134 of file acqiristdc_device.hpp.
References _channels, cass::SerializerBackend::add(), and cass::Serializable::writeVersion().
|
private |
Container for all Channels.
Definition at line 171 of file acqiristdc_device.hpp.
Referenced by channels(), deserialize(), and serialize().