#include <TESDemoReadout.h>
Inheritance diagram for DayaBay::TESDemoReadout:
Public Member Functions | |
TESDemoReadout (const TimeStamp &timeStamp, const int identifier) | |
Standard constructor. | |
TESDemoReadout () | |
Default Constructor. | |
virtual | ~TESDemoReadout () |
Destructor. | |
virtual std::ostream & | fillStream (std::ostream &s) const |
Fill the ASCII output stream. | |
const TimeStamp & | timeStamp () const |
Retrieve const The trigger time of this Readout. | |
void | setTimeStamp (const TimeStamp &value) |
Update The trigger time of this Readout. | |
int | identifier () const |
Retrieve const A number uniquely identifying this object in the context of current execution. | |
void | setIdentifier (int value) |
Update A number uniquely identifying this object in the context of current execution. | |
virtual const CLID & | clID () const |
virtual const std::string & | defLoc () |
virtual void | setOutputAddress (const GenericAddress *roa) |
virtual void | setInputAddress (const GenericAddress *ria) |
virtual const TimeStamp & | earliest () const |
void | setEarliest (const TimeStamp &value) |
virtual const TimeStamp & | latest () const |
void | setLatest (const TimeStamp &value) |
virtual const GenericAddress * | outputAddress () const |
virtual const GenericAddress * | inputAddress () const |
void | setRegistry (IRegistry *pRegistry) |
IRegistry * | registry () const |
LinkManager * | linkMgr () const |
unsigned char | version () const |
void | setVersion (unsigned char vsn) |
unsigned long | refCount () const |
virtual unsigned long | addRef () |
virtual unsigned long | release () |
const std::string & | name () const |
virtual StreamBuffer & | serialize (StreamBuffer &s) |
virtual StreamBuffer & | serialize (StreamBuffer &s) const |
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 | |
static const CLID & | classID () |
Private Attributes | |
TimeStamp | m_timeStamp |
The trigger time of this Readout. | |
int | m_identifier |
A number uniquely identifying this object in the context of current execution. | |
Friends | |
friend friend std::ostream & | operator<< (std::ostream &s, const DataObject &obj) |
Definition at line 40 of file TESDemoReadout.h.
DayaBay::TESDemoReadout::TESDemoReadout | ( | const TimeStamp & | timeStamp, | |
const int | identifier | |||
) | [inline] |
Standard constructor.
Definition at line 129 of file TESDemoReadout.h.
00131 { 00132 00133 setTimeStamp(timeStamp); 00134 setIdentifier(identifier); 00135 setEarliest(timeStamp); 00136 setLatest(timeStamp); 00137 00138 }
DayaBay::TESDemoReadout::TESDemoReadout | ( | ) | [inline] |
Default Constructor.
Definition at line 49 of file TESDemoReadout.h.
00049 : m_timeStamp(), 00050 m_identifier(0) {}
TESDemoReadout::~TESDemoReadout | ( | ) | [virtual] |
std::ostream & DayaBay::TESDemoReadout::fillStream | ( | std::ostream & | s | ) | const [inline, virtual] |
Fill the ASCII output stream.
Reimplemented from DayaBay::TemporalDataObject.
Definition at line 140 of file TESDemoReadout.h.
00141 { 00142 TemporalDataObject::fillStream(s); 00143 s << "{ " << "timeStamp : " << m_timeStamp << std::endl 00144 << "identifier : " << m_identifier << std::endl << " }"; 00145 return s; 00146 }
const TimeStamp & DayaBay::TESDemoReadout::timeStamp | ( | ) | const [inline] |
Retrieve const The trigger time of this Readout.
Definition at line 149 of file TESDemoReadout.h.
00150 { 00151 return m_timeStamp; 00152 }
void DayaBay::TESDemoReadout::setTimeStamp | ( | const TimeStamp & | value | ) | [inline] |
Update The trigger time of this Readout.
Definition at line 154 of file TESDemoReadout.h.
00155 { 00156 m_timeStamp = value; 00157 }
int DayaBay::TESDemoReadout::identifier | ( | ) | const [inline] |
Retrieve const A number uniquely identifying this object in the context of current execution.
Definition at line 159 of file TESDemoReadout.h.
00160 { 00161 return m_identifier; 00162 }
void DayaBay::TESDemoReadout::setIdentifier | ( | int | value | ) | [inline] |
Update A number uniquely identifying this object in the context of current execution.
Definition at line 164 of file TESDemoReadout.h.
00165 { 00166 m_identifier = value; 00167 }
static void* DayaBay::TESDemoReadout::operator new | ( | size_t | size | ) | [inline, static] |
operator new
Reimplemented from DayaBay::TemporalDataObject.
Definition at line 77 of file TESDemoReadout.h.
00078 { 00079 return ( sizeof(TESDemoReadout) == size ? 00080 boost::singleton_pool<TESDemoReadout, sizeof(TESDemoReadout)>::malloc() : 00081 ::operator new(size) ); 00082 }
static void* DayaBay::TESDemoReadout::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
Reimplemented from DayaBay::TemporalDataObject.
Definition at line 87 of file TESDemoReadout.h.
static void DayaBay::TESDemoReadout::operator delete | ( | void * | p | ) | [inline, static] |
operator delete
Reimplemented from DayaBay::TemporalDataObject.
Definition at line 93 of file TESDemoReadout.h.
00094 { 00095 boost::singleton_pool<TESDemoReadout, sizeof(TESDemoReadout)>::is_from(p) ? 00096 boost::singleton_pool<TESDemoReadout, sizeof(TESDemoReadout)>::free(p) : 00097 ::operator delete(p); 00098 }
static void DayaBay::TESDemoReadout::operator delete | ( | void * | p, | |
void * | pObj | |||
) | [inline, static] |
placement operator delete not sure if really needed, but it does not harm
Reimplemented from DayaBay::TemporalDataObject.
Definition at line 102 of file TESDemoReadout.h.
00103 { 00104 ::operator delete (p, pObj); 00105 }
int DayaBay::TESDemoReadout::m_identifier [private] |
A number uniquely identifying this object in the context of current execution.
Definition at line 112 of file TESDemoReadout.h.