Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

PXXVRecord Class Reference

#include <PXXVRecord.h>

Inheritance diagram for PXXVRecord:

PXXVUnpackable PXXObject PXXVAttWritable TObject PXXDomHitEngineeringFormatRecord PXXEventPayloadRecord PXXReadoutDataRecord PXXReadoutRequestElementRecord PXXReadoutRequestRecord PXXTriggerRequestRecord List of all members.

Public Member Functions

virtual ~PXXVRecord ()
virtual Short16b_t GetRecordType () const

Protected Member Functions

 PXXVRecord ()
virtual Int32b_t ReadRecordType ()
virtual void SetRecordType (Short16b_t rectype)

Detailed Description

PXXVRecord //

This is an base(abstract) class of all records. // It inherits PXXVUnpackable and doesn't implement ReadData() and Write(), // so you cannot instanciate the class. // All records must be an descendant of the class //

Author:
Kotoyo Hoshina 23/Aug/05 //


Constructor & Destructor Documentation

virtual PXXVRecord::~PXXVRecord  )  [virtual]
 

Destructor.

PXXVRecord::PXXVRecord  )  [protected]
 

The class is pure virtual so that the constructor should be protected.


Member Function Documentation

virtual Short16b_t PXXVRecord::GetRecordType  )  const [virtual]
 

Get two byte record type.

virtual Int32b_t PXXVRecord::ReadRecordType  )  [protected, virtual]
 

utility function to read RecordType to the fSRecordType_ and set correct endianness to the current decoder.

Returns:
int ... number of bytes you have read.

virtual void PXXVRecord::SetRecordType Short16b_t  rectype  )  [inline, protected, virtual]
 

Set record type just in case you are treating irregular record which cannot call ReadRecordType. Currently only DomHitEngineeringFormatRecord can call it.


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


Generated on Thu Nov 10 14:06:37 2005 by doxygen version 1.4.1