CFEL - ASG Software Suite  2.5.0
CASS
Public Types | Public Member Functions | List of all members
cass::DeviceBackend Class Referenceabstract

A Baseclass for all Devices in the CASSEvent. More...

#include <device_backend.hpp>

+ Inheritance diagram for cass::DeviceBackend:
+ Collaboration diagram for cass::DeviceBackend:

Public Types

typedef std::tr1::shared_ptr< DeviceBackendshared_pointer
 a shared pointer of this type More...
 

Public Member Functions

 DeviceBackend (uint16_t version)
 constructor already initializing the serialization version More...
 
virtual void serialize (cass::SerializerBackend &) const =0
 serializer is still pure virtual More...
 
virtual bool deserialize (cass::SerializerBackend &)=0
 deserializer is still pure virtual More...
 
virtual ~DeviceBackend ()
 virtual desctructor More...
 
- Public Member Functions inherited from cass::Serializable
 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...
 

Additional Inherited Members

- Protected Attributes inherited from cass::Serializable
uint16_t _version
 the version for de/serializing More...
 

Detailed Description

A Baseclass for all Devices in the CASSEvent.

Note
All devices need to be serializable, therefore this class inerhits from serializable.
Author
Lutz Foucar

Definition at line 28 of file device_backend.hpp.

Member Typedef Documentation

typedef std::tr1::shared_ptr<DeviceBackend> cass::DeviceBackend::shared_pointer

a shared pointer of this type

Definition at line 32 of file device_backend.hpp.

Constructor & Destructor Documentation

cass::DeviceBackend::DeviceBackend ( uint16_t  version)
inline

constructor already initializing the serialization version

Definition at line 35 of file device_backend.hpp.

virtual cass::DeviceBackend::~DeviceBackend ( )
inlinevirtual

virtual desctructor

Definition at line 46 of file device_backend.hpp.

Member Function Documentation

virtual bool cass::DeviceBackend::deserialize ( cass::SerializerBackend )
pure virtual
virtual void cass::DeviceBackend::serialize ( cass::SerializerBackend ) const
pure virtual

The documentation for this class was generated from the following file: