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

In This Package:

Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
DayaBay::SimTrigHeader Class Reference

Top level header for all SimTrigger data. More...

#include <SimTrigHeader.h>

Inheritance diagram for DayaBay::SimTrigHeader:
Inheritance graph
[legend]
Collaboration diagram for DayaBay::SimTrigHeader:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::vector< IHeader * > Vector
typedef std::vector< const
IHeader * > 
ConstVector

Public Member Functions

virtual const std::string & defLoc () const
 SimTrigHeader ()
 Default Constructor.
 ~SimTrigHeader ()
 destructor
virtual const CLID & clID () const
std::ostream & fillStream (std::ostream &s) const
 Serialize to an ostream.
const
DayaBay::SimTrigCommandHeader
commandHeader () const
 Retrieve const Pointer to the crate header.
void setCommandHeader (DayaBay::SimTrigCommandHeader *value)
 Update Pointer to the crate header.
virtual const std::string & defLoc ()
void setInputHeaders (const std::vector< const DayaBay::IHeader * > &iheaders)
void clearInputHeaders ()
void addInputHeader (const DayaBay::IHeader *iheader)
const TimeStamptimeStamp () const
void setTimeStamp (const TimeStamp &ts)
const std::vector< const
DayaBay::IHeader * > 
findHeaders (const CLID &clid) const
const std::vector< const
DayaBay::IHeader * > 
findHeaders (const std::string &name) const
const Contextcontext () const
void setContext (const Context &value)
int execNumber () const
void setExecNumber (int value)
const std::vector< unsigned
long > & 
randomState () const
void setRandomState (const std::vector< unsigned long > &value)
const std::vector< const
DayaBay::IHeader * > & 
inputHeaders () const
const DayaBay::JobIdjobId () const
void setJobId (const DayaBay::JobId &value)
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 const std::string & defaultLocation ()
 Give access to default location from class scope.
static const CLID & classID ()
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::SimTrigCommandHeaderm_commandHeader
 Pointer to the crate header.

Detailed Description

Top level header for all SimTrigger data.

Author:
bseilhan@iit.edu created Thu Dec 5 18:04:33 2013

Definition at line 49 of file SimTrigHeader.h.


Constructor & Destructor Documentation

DayaBay::SimTrigHeader::SimTrigHeader ( ) [inline]

Default Constructor.

Definition at line 58 of file SimTrigHeader.h.

DayaBay::SimTrigHeader::~SimTrigHeader ( ) [inline]

destructor

Definition at line 132 of file SimTrigHeader.h.

{

           delete m_commandHeader;
         
}

Member Function Documentation

static const std::string& DayaBay::SimTrigHeader::defaultLocation ( ) [inline, static]

Give access to default location from class scope.

Reimplemented from DayaBay::HeaderObject.

Definition at line 54 of file SimTrigHeader.h.

virtual const std::string& DayaBay::SimTrigHeader::defLoc ( ) const [inline, virtual]

Reimplemented from DayaBay::HeaderObject.

Definition at line 55 of file SimTrigHeader.h.

const CLID & DayaBay::SimTrigHeader::clID ( ) const [inline, virtual]

Reimplemented from DayaBay::HeaderObject.

Definition at line 139 of file SimTrigHeader.h.

const CLID & DayaBay::SimTrigHeader::classID ( ) [inline, static]

Reimplemented from DayaBay::HeaderObject.

Definition at line 144 of file SimTrigHeader.h.

{
  return CLID_SimTrigHeader;
}
std::ostream & DayaBay::SimTrigHeader::fillStream ( std::ostream &  s) const [virtual]

Serialize to an ostream.

Reimplemented from DayaBay::HeaderObject.

Definition at line 3 of file SimTrigHeader.cc.

{
    HeaderObject::fillStream(s);
    s << std::endl << "{ ";

    s << "trigHeader : ";
    if (m_commandHeader) m_commandHeader->fillStream(s);
    else s << "NULL";
    s << std::endl;
    
    s << " }";
    return s;
}
const DayaBay::SimTrigCommandHeader * DayaBay::SimTrigHeader::commandHeader ( ) const [inline]

Retrieve const Pointer to the crate header.

Definition at line 149 of file SimTrigHeader.h.

{
  return m_commandHeader;
}
void DayaBay::SimTrigHeader::setCommandHeader ( DayaBay::SimTrigCommandHeader value) [inline]

Update Pointer to the crate header.

Definition at line 154 of file SimTrigHeader.h.

{
  m_commandHeader = value;
}
static void* DayaBay::SimTrigHeader::operator new ( size_t  size) [inline, static]

operator new

Reimplemented from DayaBay::HeaderObject.

Definition at line 81 of file SimTrigHeader.h.

    {
      return ( sizeof(SimTrigHeader) == size ? 
               boost::singleton_pool<SimTrigHeader, sizeof(SimTrigHeader)>::malloc() :
               ::operator new(size) );
    }
static void* DayaBay::SimTrigHeader::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::HeaderObject.

Definition at line 91 of file SimTrigHeader.h.

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

operator delete

Reimplemented from DayaBay::HeaderObject.

Definition at line 97 of file SimTrigHeader.h.

    {
      boost::singleton_pool<SimTrigHeader, sizeof(SimTrigHeader)>::is_from(p) ?
      boost::singleton_pool<SimTrigHeader, sizeof(SimTrigHeader)>::free(p) :
      ::operator delete(p);
    }
static void DayaBay::SimTrigHeader::operator delete ( void *  p,
void *  pObj 
) [inline, static]

placement operator delete not sure if really needed, but it does not harm

Reimplemented from DayaBay::HeaderObject.

Definition at line 106 of file SimTrigHeader.h.

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

Member Data Documentation

Pointer to the crate header.

Definition at line 115 of file SimTrigHeader.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:05:16 for SimTrigEvent by doxygen 1.7.4