/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Static Public Member Functions | Private Attributes
DayaBay::TESDemoReadout Class Reference

Readout demonstration class for TESDemo. More...

#include <TESDemoReadout.h>

Inheritance diagram for DayaBay::TESDemoReadout:
Inheritance graph
[legend]
Collaboration diagram for DayaBay::TESDemoReadout:
Collaboration graph
[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 CLID & clID () 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 GenericAddress * outputAddress () const
virtual const GenericAddress * inputAddress () 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.

Detailed Description

Readout demonstration class for TESDemo.

Author:
Simon Patton created Thu Dec 5 18:17:27 2013

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.

{

          setTimeStamp(timeStamp);
          setIdentifier(identifier);
          setEarliest(timeStamp);
          setLatest(timeStamp);
        
}
DayaBay::TESDemoReadout::TESDemoReadout ( ) [inline]

Default Constructor.

Definition at line 49 of file TESDemoReadout.h.

TESDemoReadout::~TESDemoReadout ( ) [virtual]

Destructor.

Definition at line 5 of file TESDemoReadout.cpp.

                                {
}

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.

{
  TemporalDataObject::fillStream(s);
  s << "{ " << "timeStamp :     " << m_timeStamp << std::endl
            << "identifier :    " << m_identifier << std::endl << " }";
  return s;
}
const TimeStamp & DayaBay::TESDemoReadout::timeStamp ( ) const [inline]

Retrieve const The trigger time of this Readout.

Definition at line 149 of file TESDemoReadout.h.

{
  return m_timeStamp;
}
void DayaBay::TESDemoReadout::setTimeStamp ( const TimeStamp value) [inline]

Update The trigger time of this Readout.

Definition at line 154 of file TESDemoReadout.h.

{
  m_timeStamp = value;
}
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.

{
  return m_identifier;
}
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.

{
  m_identifier = value;
}
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.

    {
      return ( sizeof(TESDemoReadout) == size ? 
               boost::singleton_pool<TESDemoReadout, sizeof(TESDemoReadout)>::malloc() :
               ::operator new(size) );
    }
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.

    {
      return ::operator new (size,pObj);
    }
static void DayaBay::TESDemoReadout::operator delete ( void *  p) [inline, static]

operator delete

Reimplemented from DayaBay::TemporalDataObject.

Definition at line 93 of file TESDemoReadout.h.

    {
      boost::singleton_pool<TESDemoReadout, sizeof(TESDemoReadout)>::is_from(p) ?
      boost::singleton_pool<TESDemoReadout, sizeof(TESDemoReadout)>::free(p) :
      ::operator delete(p);
    }
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.

    {
      ::operator delete (p, pObj);
    }

Member Data Documentation

The trigger time of this Readout.

Definition at line 111 of file TESDemoReadout.h.

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 Fri May 16 2014 10:08:47 for TESDemoData by doxygen 1.7.4