#include <SimReadout.h>
Collaboration diagram for DayaBay::SimReadout:
Public Member Functions | |
SimReadout (DayaBay::Readout *readout, DayaBay::SimReadoutHeader *header) | |
standard constructor | |
SimReadout () | |
Default Constructor. | |
virtual | ~SimReadout () |
Destructor. | |
std::ostream & | fillStream (std::ostream &s) const |
Print this SimReadout. | |
const DayaBay::Readout * | readout () const |
Retrieve const The readout data contained by this simulated readout. | |
void | setReadout (DayaBay::Readout *value) |
Update The readout data contained by this simulated readout. | |
const DayaBay::SimReadoutHeader * | header () const |
Retrieve const The sim readout header associated with this readout. | |
void | setHeader (DayaBay::SimReadoutHeader *value) |
Update The sim readout header associated with this readout. | |
Static Public Member Functions | |
static void * | operator new (size_t size) |
operator new | |
static void * | operator new (size_t size, void *pObj) |
placement operator new it is needed by libstdc++ 3.2.3 (e.g. | |
static void | operator delete (void *p) |
operator delete | |
static void | operator delete (void *p, void *pObj) |
placement operator delete not sure if really needed, but it does not harm | |
Private Attributes | |
DayaBay::Readout * | m_readout |
The readout data contained by this simulated readout. | |
DayaBay::SimReadoutHeader * | m_header |
The sim readout header associated with this readout. |
Definition at line 41 of file SimReadout.h.
DayaBay::SimReadout::SimReadout | ( | DayaBay::Readout * | readout, | |
DayaBay::SimReadoutHeader * | header | |||
) | [inline] |
DayaBay::SimReadout::SimReadout | ( | ) | [inline] |
DayaBay::SimReadout::~SimReadout | ( | ) | [inline, virtual] |
Destructor.
Definition at line 133 of file SimReadout.h.
00134 { 00135 00136 delete m_readout; 00137 00138 }
std::ostream & DayaBay::SimReadout::fillStream | ( | std::ostream & | s | ) | const |
Print this SimReadout.
Definition at line 3 of file SimReadout.cc.
00004 { 00005 s << "{ " 00006 << "header : " << m_header << std::endl ; 00007 m_readout->fillStream(s); 00008 s << " }"; 00009 return s; 00010 }
const DayaBay::Readout * DayaBay::SimReadout::readout | ( | ) | const [inline] |
Retrieve const The readout data contained by this simulated readout.
Definition at line 140 of file SimReadout.h.
00141 { 00142 return m_readout; 00143 }
void DayaBay::SimReadout::setReadout | ( | DayaBay::Readout * | value | ) | [inline] |
Update The readout data contained by this simulated readout.
Definition at line 145 of file SimReadout.h.
00146 { 00147 m_readout = value; 00148 }
const DayaBay::SimReadoutHeader * DayaBay::SimReadout::header | ( | ) | const [inline] |
Retrieve const The sim readout header associated with this readout.
Definition at line 150 of file SimReadout.h.
00151 { 00152 return m_header; 00153 }
void DayaBay::SimReadout::setHeader | ( | DayaBay::SimReadoutHeader * | value | ) | [inline] |
Update The sim readout header associated with this readout.
Definition at line 155 of file SimReadout.h.
00156 { 00157 m_header = value; 00158 }
static void* DayaBay::SimReadout::operator new | ( | size_t | size | ) | [inline, static] |
operator new
Definition at line 79 of file SimReadout.h.
00080 { 00081 return ( sizeof(SimReadout) == size ? 00082 boost::singleton_pool<SimReadout, sizeof(SimReadout)>::malloc() : 00083 ::operator new(size) ); 00084 }
static void* DayaBay::SimReadout::operator new | ( | size_t | size, | |
void * | pObj | |||
) | [inline, static] |
placement operator new it is needed by libstdc++ 3.2.3 (e.g.
in std::vector) it is not needed in libstdc++ >= 3.4
Definition at line 89 of file SimReadout.h.
00090 { 00091 return ::operator new (size,pObj); 00092 }
static void DayaBay::SimReadout::operator delete | ( | void * | p | ) | [inline, static] |
operator delete
Definition at line 95 of file SimReadout.h.
00096 { 00097 boost::singleton_pool<SimReadout, sizeof(SimReadout)>::is_from(p) ? 00098 boost::singleton_pool<SimReadout, sizeof(SimReadout)>::free(p) : 00099 ::operator delete(p); 00100 }
static void DayaBay::SimReadout::operator delete | ( | void * | p, | |
void * | pObj | |||
) | [inline, static] |
placement operator delete not sure if really needed, but it does not harm
Definition at line 104 of file SimReadout.h.
00105 { 00106 ::operator delete (p, pObj); 00107 }
DayaBay::Readout* DayaBay::SimReadout::m_readout [private] |