Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

CCountingEventSegment Class Reference

Inheritance diagram for CCountingEventSegment:

CEventSegment List of all members.

Public Methods

 CCountingEventSegment (unsigned int nLength, unsigned short nTag, const string &rName, const string &rDescription, const string &rVersion)
virtual ~CCountingEventSegment ()
int getPatternLenth () const
const CDocumentedPacketgetPacket () const
virtual void Initialize ()
virtual DAQWordBufferPtr & Read (DAQWordBufferPtr &rBuffer)
virtual void Clear ()
virtual unsigned int MaxSize ()

Private Methods

 CCountingEventSegment (const CCountingEventSegment &rhs)
CCountingEventSegment & operator= (const CEventSegment &rhs)
int operator== (const CEventSegment &rhs) const
int operator!= (const CEventSegment &rhs) const

Private Attributes

unsigned int m_nPatternLength
CDocumentedPacket m_PacketId

Constructor & Destructor Documentation

CCountingEventSegment::CCountingEventSegment unsigned int    nLength,
unsigned short    nTag,
const string &    rName,
const string &    rDescription,
const string &    rVersion
 

Parameterized constructor:

Definition at line 79 of file rdotest/MyExperiment.cpp.

virtual CCountingEventSegment::~CCountingEventSegment   [inline, virtual]
 

Definition at line 43 of file rdotest/MyExperiment.cpp.

CCountingEventSegment::CCountingEventSegment const CCountingEventSegment &    rhs [private]
 


Member Function Documentation

virtual void CCountingEventSegment::Clear   [inline, virtual]
 

Implements CEventSegment.

Definition at line 64 of file rdotest/MyExperiment.cpp.

const CDocumentedPacket& CCountingEventSegment::getPacket   const [inline]
 

Definition at line 54 of file rdotest/MyExperiment.cpp.

int CCountingEventSegment::getPatternLenth   const [inline]
 

Definition at line 53 of file rdotest/MyExperiment.cpp.

References m_nPatternLength.

virtual void CCountingEventSegment::Initialize   [inline, virtual]
 

Implements CEventSegment.

Definition at line 62 of file rdotest/MyExperiment.cpp.

virtual unsigned int CCountingEventSegment::MaxSize   [inline, virtual]
 

Implements CEventSegment.

Definition at line 65 of file rdotest/MyExperiment.cpp.

References m_nPatternLength.

int CCountingEventSegment::operator!= const CEventSegment   rhs const [private]
 

Reimplemented from CEventSegment.

CCountingEventSegment& CCountingEventSegment::operator= const CEventSegment   rhs [private]
 

Reimplemented from CEventSegment.

int CCountingEventSegment::operator== const CEventSegment   rhs const [private]
 

Reimplemented from CEventSegment.

DAQWordBufferPtr & CCountingEventSegment::Read DAQWordBufferPtr &    rBuffer [virtual]
 

'read' out an event. All we really do is begin the packet make the counting pattern and end the packet:

Implements CEventSegment.

Definition at line 96 of file rdotest/MyExperiment.cpp.

References CDocumentedPacket::Begin(), CDocumentedPacket::End(), m_nPatternLength, and m_PacketId.


Member Data Documentation

unsigned int CCountingEventSegment::m_nPatternLength [private]
 

Definition at line 33 of file rdotest/MyExperiment.cpp.

Referenced by getPatternLenth(), MaxSize(), and Read().

CDocumentedPacket CCountingEventSegment::m_PacketId [private]
 

Definition at line 34 of file rdotest/MyExperiment.cpp.

Referenced by Read().


The documentation for this class was generated from the following file:
Generated on Fri Nov 8 13:37:12 2002 for Event Readout system. by doxygen1.2.16