CFEL - ASG Software Suite
2.5.0
CASS
|
The Acqiris device. More...
#include <acqiris_device.hpp>
Public Types | |
typedef std::map< uint32_t, Instrument > | instruments_t |
a map of all instruments available More... | |
![]() | |
typedef std::tr1::shared_ptr< DeviceBackend > | shared_pointer |
a shared pointer of this type More... | |
Public Member Functions | |
Device () | |
constructor More... | |
instruments_t & | instruments () |
instrument setter More... | |
const instruments_t & | instruments () const |
instrument getter 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... | |
![]() | |
DeviceBackend (uint16_t version) | |
constructor already initializing the serialization version More... | |
virtual | ~DeviceBackend () |
virtual desctructor More... | |
![]() | |
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 | |
instruments_t | _instruments |
Container for all Instruments. More... | |
Additional Inherited Members | |
![]() | |
uint16_t | _version |
the version for de/serializing More... | |
The Acqiris device.
The Acqiris device contains all availabe Acqiris instruments All availabe instruments will be added when they are detected
Definition at line 115 of file acqiris_device.hpp.
typedef std::map<uint32_t, Instrument> cass::ACQIRIS::Device::instruments_t |
a map of all instruments available
Definition at line 125 of file acqiris_device.hpp.
|
inline |
constructor
Definition at line 119 of file acqiris_device.hpp.
|
inlinevirtual |
will deserialize all channels from the Serializer
in | the stream to serialize this class from |
read the number of instruments
read the key of the instrument and add the deserialized instrument
Implements cass::DeviceBackend.
Definition at line 157 of file acqiris_device.hpp.
References _instruments, cass::Serializable::checkVersion(), and cass::SerializerBackend::retrieve().
|
inline |
instrument setter
Definition at line 129 of file acqiris_device.hpp.
References _instruments.
Referenced by cass::HDF5FileInput::runthis().
|
inline |
|
inlinevirtual |
will serialize all channels to Serializer
out | the stream to serialze this class to |
write the size of the container
for each instrument in the map write the key and then the Instrument
Implements cass::DeviceBackend.
Definition at line 139 of file acqiris_device.hpp.
References _instruments, cass::SerializerBackend::add(), and cass::Serializable::writeVersion().
|
private |
Container for all Instruments.
Definition at line 173 of file acqiris_device.hpp.
Referenced by deserialize(), instruments(), and serialize().