| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

DayaBay::TESDemoReadout Class Reference

Readout demonstration class for TESDemo. More...

#include <TESDemoReadout.h>

Inheritance diagram for DayaBay::TESDemoReadout:

[legend]
Collaboration diagram for DayaBay::TESDemoReadout:
[legend]
List of all members.

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 TimeStamptimeStamp () 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 CLIDclID () const
virtual const std::string & defLoc ()
virtual void setOutputAddress (const GenericAddress *roa)
virtual void setInputAddress (const GenericAddress *ria)
virtual const TimeStampearliest () const
void setEarliest (const TimeStamp &value)
virtual const TimeStamplatest () const
void setLatest (const TimeStamp &value)
virtual const GenericAddressoutputAddress () const
virtual const GenericAddressinputAddress () const
void setRegistry (IRegistry *pRegistry)
IRegistryregistry () const
LinkManagerlinkMgr () 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 StreamBufferserialize (StreamBuffer &s)
virtual StreamBufferserialize (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 CLIDclassID ()

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)

Detailed Description

Readout demonstration class for TESDemo.

Author:
Simon Patton created Mon Apr 11 04:16:20 2011

Definition at line 40 of file TESDemoReadout.h.


Constructor & Destructor Documentation

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]

Destructor.

Definition at line 5 of file TESDemoReadout.cpp.

00005                                 {
00006 }


Member Function Documentation

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.

00088     {
00089       return ::operator new (size,pObj);
00090     }

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     }


Member Data Documentation

TimeStamp DayaBay::TESDemoReadout::m_timeStamp [private]

The trigger time of this Readout.

Definition at line 111 of file TESDemoReadout.h.

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.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:39:15 2011 for TESDemoData by doxygen 1.4.7