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

In This Package:

DayaBay::SimReadout Class Reference

Generic Simulated Electronics Readout. More...

#include <SimReadout.h>

Collaboration diagram for DayaBay::SimReadout:

[legend]
List of all members.

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::Readoutreadout () 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::SimReadoutHeaderheader () 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::Readoutm_readout
 The readout data contained by this simulated readout.
DayaBay::SimReadoutHeaderm_header
 The sim readout header associated with this readout.

Detailed Description

Generic Simulated Electronics Readout.

Author:
dandwyer@caltech.edu created Mon Apr 11 03:56:11 2011

Definition at line 41 of file SimReadout.h.


Constructor & Destructor Documentation

DayaBay::SimReadout::SimReadout ( DayaBay::Readout readout,
DayaBay::SimReadoutHeader header 
) [inline]

standard constructor

Definition at line 46 of file SimReadout.h.

00047                                                 : m_readout(readout),
00048                                                          m_header(header) {}

DayaBay::SimReadout::SimReadout (  )  [inline]

Default Constructor.

Definition at line 51 of file SimReadout.h.

00051                  : m_readout(0),
00052                    m_header(0) {}

DayaBay::SimReadout::~SimReadout (  )  [inline, virtual]

Destructor.

Definition at line 133 of file SimReadout.h.

00134 {
00135 
00136           delete m_readout;
00137         
00138 }


Member Function Documentation

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     }


Member Data Documentation

DayaBay::Readout* DayaBay::SimReadout::m_readout [private]

The readout data contained by this simulated readout.

Definition at line 113 of file SimReadout.h.

DayaBay::SimReadoutHeader* DayaBay::SimReadout::m_header [private]

The sim readout header associated with this readout.

Definition at line 114 of file SimReadout.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:30:15 2011 for SimReadoutEvent by doxygen 1.4.7