#include <CCompoundEventSegment.h>
Inheritance diagram for CCompoundEventSegment:
Public Types | |
typedef list< CEventSegment * > | EventSegmentList |
Public Methods | |
CCompoundEventSegment () | |
Default constructor. | |
~CCompoundEventSegment () | |
Destructor. | |
EventSegmentList | getEventSegments () const |
virtual void | Initialize () |
virtual DAQWordBufferPtr & | Read (DAQWordBufferPtr &rBuffer) |
virtual void | Clear () |
virtual unsigned int | MaxSize () |
void | AddSegment (CEventSegment *pSegment) |
void | DeleteSegment (CEventSegment *pSegment) |
void | DeleteSegment (EventSegmentList::iterator pItem) |
EventSegmentList::iterator | begin () const |
EventSegmentList::iterator | end () const |
int | size () const |
Private Methods | |
CCompoundEventSegment (const CCompoundEventSegment &rhs) | |
Copy constructor. | |
CCompoundEventSegment & | operator= (const CCompoundEventSegment &rhs) |
Assignment. | |
int | operator== (const CCompoundEventSegment &rhs) const |
Comparison for equality. | |
int | operator!= (const CCompoundEventSegment &rhs) const |
Private Attributes | |
EventSegmentList | m_Segments |
Definition at line 306 of file CCompoundEventSegment.h.
|
Definition at line 309 of file CCompoundEventSegment.h. Referenced by getEventSegments(). |
|
Default constructor. Default constructor. This is called when declarations of the form e.g.:
Definition at line 289 of file CCompoundEventSegment.cpp. |
|
Destructor.
Definition at line 317 of file CCompoundEventSegment.h. |
|
Copy constructor.
|
|
Add an event segment to the compound segment. The event segment is added at the end of the event.
Definition at line 370 of file CCompoundEventSegment.cpp. References m_Segments. Referenced by CExperiment::AddEventSegment(), and CExperiment::CExperiment(). |
|
Return an iterator to the start of the event segment list. Definition at line 405 of file CCompoundEventSegment.cpp. References m_Segments. |
|
Clear the hardware associated with this event. Implements CEventSegment. Definition at line 338 of file CCompoundEventSegment.cpp. References m_Segments. Referenced by CExperiment::ReadEvent(), and CExperiment::Start(). |
|
Deletes a segment given an iterator to the segment inside the event segment list.
Definition at line 397 of file CCompoundEventSegment.cpp. References m_Segments. |
|
Deletes a segement from the list given a pointer to the segment.
Definition at line 381 of file CCompoundEventSegment.cpp. References m_Segments. Referenced by CExperiment::RemoveEventSegment(). |
|
Return an iterator to the end of the event segment list. Definition at line 413 of file CCompoundEventSegment.cpp. References m_Segments. |
|
Definition at line 329 of file CCompoundEventSegment.h. References EventSegmentList, and m_Segments. |
|
Initialize the event readout. Implements CEventSegment. Definition at line 302 of file CCompoundEventSegment.cpp. References m_Segments. Referenced by CExperiment::Start(). |
|
Return the maximum number of words of data this segment can read out. Implements CEventSegment. Definition at line 354 of file CCompoundEventSegment.cpp. References m_Segments. |
|
|
|
Assignment.
|
|
Comparison for equality.
|
|
Read the segment of the event for which this class is responsible.
Implements CEventSegment. Reimplemented in Hierarchy. Definition at line 321 of file CCompoundEventSegment.cpp. References m_Segments. Referenced by Hierarchy::Read(), and CExperiment::ReadEvent(). |
|
Return the number of segments in the list. Definition at line 421 of file CCompoundEventSegment.cpp. References m_Segments. Referenced by CExperiment::ReadEvent(). |
|
Definition at line 312 of file CCompoundEventSegment.h. Referenced by AddSegment(), begin(), Clear(), DeleteSegment(), end(), getEventSegments(), Initialize(), MaxSize(), Read(), and size(). |