Jpp  17.2.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
KM3NETDAQ::JDAQAbstractPreamble Class Reference

Simple data structure for the DAQ preamble required for a correct calculation of the object size for binary I/O. More...

#include <JDAQAbstractPreamble.hh>

Inheritance diagram for KM3NETDAQ::JDAQAbstractPreamble:
KM3NETDAQ::JDAQPreamble KM3NETDAQ::JDAQEvent KM3NETDAQ::JDAQSummaryslice KM3NETDAQ::JDAQSuperFrame KM3NETDAQ::JDAQTimeslice JTRIGGER::JTriggeredEvent KM3NETDAQ::JSummaryslice KM3NETDAQ::JDAQTimesliceL0 KM3NETDAQ::JDAQTimesliceL1 KM3NETDAQ::JDAQTimesliceL2 KM3NETDAQ::JDAQTimesliceSN JTRIGGER::JSummaryRouter KM3NETDAQ::JTimesliceL0 KM3NETDAQ::JEventTimeslice KM3NETDAQ::JRandomTimeslice

Public Member Functions

 JDAQAbstractPreamble ()
 Default constuctor. More...
 
int getLength () const
 Get length. More...
 
int getDataType () const
 Get data type. More...
 
 ClassDefNV (JDAQAbstractPreamble, 1)
 

Protected Member Functions

template<class T >
 JDAQAbstractPreamble (JDAQType< T > type)
 Constructor. More...
 

Protected Attributes

int length
 
int type
 

Detailed Description

Simple data structure for the DAQ preamble required for a correct calculation of the object size for binary I/O.

Note that JDAQPreamble derives from this and adds I/O and ROOT functionality.

Definition at line 21 of file JDAQAbstractPreamble.hh.

Constructor & Destructor Documentation

template<class T >
KM3NETDAQ::JDAQAbstractPreamble::JDAQAbstractPreamble ( JDAQType< T type)
inlineprotected

Constructor.

Parameters
typedata type of derived class

Definition at line 29 of file JDAQAbstractPreamble.hh.

29  :
30  length(0),
32  {}
int getDataType()
Template definition for method returning data type.
KM3NETDAQ::JDAQAbstractPreamble::JDAQAbstractPreamble ( )
inline

Default constuctor.

Definition at line 38 of file JDAQAbstractPreamble.hh.

Member Function Documentation

int KM3NETDAQ::JDAQAbstractPreamble::getLength ( ) const
inline

Get length.

Returns
number of bytes

Definition at line 49 of file JDAQAbstractPreamble.hh.

50  {
51  return length;
52  }
int KM3NETDAQ::JDAQAbstractPreamble::getDataType ( ) const
inline

Get data type.

Returns
data type

Definition at line 60 of file JDAQAbstractPreamble.hh.

61  {
62  return type;
63  }
KM3NETDAQ::JDAQAbstractPreamble::ClassDefNV ( JDAQAbstractPreamble  ,
 
)

Member Data Documentation

int KM3NETDAQ::JDAQAbstractPreamble::length
protected

Definition at line 69 of file JDAQAbstractPreamble.hh.

int KM3NETDAQ::JDAQAbstractPreamble::type
protected

Definition at line 70 of file JDAQAbstractPreamble.hh.


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