#include <RawData.h>
Inheritance diagram for RawData:
Public Member Functions | |
virtual std::ostream & | fillStream (std::ostream &s) const |
Fill the ASCII output stream. | |
virtual std::ostream & | fillStream (std::ostream &s) const |
Fill the ASCII output stream. | |
unsigned int | getChargeChannel () const |
unsigned int | getChargeChannel () const |
unsigned int | getIntId () const |
unsigned int | getIntId () const |
unsigned int | getTimeChannel () const |
unsigned int | getTimeChannel () const |
int | getTrackIndex () const |
int | getTrackIndex () const |
virtual Identifier | identify () const |
virtual Identifier | identify () const |
RawData & | operator+= (const RawData &) |
RawData & | operator+= (const RawData &) |
RawData (const unsigned int id) | |
RawData (const Identifier &id, const unsigned int timeChannel=0, const unsigned int chargeChannel=0) | |
RawData (const unsigned int id) | |
RawData (const Identifier &id, const unsigned int timeChannel=0, const unsigned int chargeChannel=0) | |
virtual StreamBuffer & | serialize (StreamBuffer &s) |
virtual StreamBuffer & | serialize (StreamBuffer &s) const |
Serialize the object for writing. | |
virtual StreamBuffer & | serialize (StreamBuffer &s) |
virtual StreamBuffer & | serialize (StreamBuffer &s) const |
Serialize the object for writing. | |
void | setChargeChannel (const unsigned int chargeChannel) |
void | setChargeChannel (const unsigned int chargeChannel) |
void | setTimeChannel (const unsigned int timeChannel) |
void | setTimeChannel (const unsigned int timeChannel) |
void | setTrackIndex (const int trackIndex) |
void | setTrackIndex (const int trackIndex) |
Protected Member Functions | |
RawData & | operator= (const RawData &) |
RawData & | operator= (const RawData &) |
RawData (const RawData &) | |
RawData (const RawData &) | |
Protected Attributes | |
unsigned int | m_chargeChannel |
const Identifier | m_id |
const unsigned int | m_intId |
unsigned int | m_timeChannel |
int | m_trackIndex |
|
00004 : 00005 m_id(id), m_timeChannel(timeChannel), m_chargeChannel(chargeChannel), m_intId(id.get_value()) 00006 { 00007 }
|
|
00009 : 00010 m_id(Identifier(id)), m_timeChannel(0), m_chargeChannel(0), m_intId(id) 00011 { 00012 }
|
|
|
|
|
|
|
|
|
|
Fill the ASCII output stream.
|
|
Fill the ASCII output stream.
00093 { 00094 s << "class RawData :" << std::endl 00095 << " m_id: " << m_intId 00096 << " m_timeChannel: " << m_timeChannel 00097 << " m_chargeChannel: " << m_chargeChannel 00098 << std::endl; 00099 return s; 00100 }
|
|
|
|
00045 {
00046 return m_chargeChannel;
00047 }
|
|
|
|
00020 {
00021 return m_intId;
00022 }
|
|
|
|
00040 {
00041 return m_timeChannel;
00042 }
|
|
|
|
00050 {
00051 return m_trackIndex;
00052 }
|
|
|
|
00015 {
00016 return m_id;
00017 }
|
|
|
|
00055 { 00056 if(m_id != rval.identify()) // do nothing 00057 return *this; 00058 00059 if( rval.getTimeChannel() < m_timeChannel ) 00060 m_timeChannel = rval.getTimeChannel(); 00061 00062 m_chargeChannel += rval.getChargeChannel(); 00063 return *this; 00064 }
|
|
|
|
|
|
|
|
Serialize the object for writing.
|
|
00087 { 00088 return serialize(s); 00089 }
|
|
Serialize the object for writing.
00080 { 00081 ContainedObject::serialize(s); 00082 s<< m_timeChannel 00083 << m_chargeChannel; 00084 return s; 00085 }
|
|
|
|
00030 { 00031 m_chargeChannel = chargeChannel; 00032 }
|
|
|
|
00025 { 00026 m_timeChannel = timeChannel; 00027 }
|
|
|
|
00035 { 00036 m_trackIndex = trackIndex; 00037 }
|
|
|
|
|
|
|
|
|
|
|