#include <SimTrigHeader.h>
Inheritance diagram for DayaBay::SimTrigHeader:
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 | addInputHeader (const DayaBay::IHeader *iheader) |
const TimeStamp & | timeStamp () const |
void | setTimeStamp (const TimeStamp &ts) |
const std::vector< const DayaBay::IHeader * > | findHeaders (const CLID &clid) const |
const Context & | context () 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::JobId & | jobId () const |
void | setJobId (const DayaBay::JobId &value) |
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 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::SimTrigCommandHeader * | m_commandHeader |
Pointer to the crate header. | |
Friends | |
friend friend std::ostream & | operator<< (std::ostream &s, const DataObject &obj) |
Definition at line 49 of file SimTrigHeader.h.
DayaBay::SimTrigHeader::SimTrigHeader | ( | ) | [inline] |
DayaBay::SimTrigHeader::~SimTrigHeader | ( | ) | [inline] |
destructor
Definition at line 132 of file SimTrigHeader.h.
00133 { 00134 00135 delete m_commandHeader; 00136 00137 }
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.
00054 { return SimTrigHeaderLocation::Default; }
virtual const std::string& DayaBay::SimTrigHeader::defLoc | ( | ) | const [inline, virtual] |
Reimplemented from DayaBay::HeaderObject.
Definition at line 55 of file SimTrigHeader.h.
00055 { return SimTrigHeaderLocation::Default; }
const CLID & DayaBay::SimTrigHeader::clID | ( | ) | const [inline, virtual] |
Reimplemented from DayaBay::HeaderObject.
Definition at line 139 of file SimTrigHeader.h.
00140 { 00141 return DayaBay::SimTrigHeader::classID(); 00142 }
const CLID & DayaBay::SimTrigHeader::classID | ( | ) | [inline, static] |
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.
00004 { 00005 HeaderObject::fillStream(s); 00006 s << std::endl << "{ "; 00007 00008 s << "trigHeader : "; 00009 if (m_commandHeader) m_commandHeader->fillStream(s); 00010 else s << "NULL"; 00011 s << std::endl; 00012 00013 s << " }"; 00014 return s; 00015 }
const DayaBay::SimTrigCommandHeader * DayaBay::SimTrigHeader::commandHeader | ( | ) | const [inline] |
Retrieve const Pointer to the crate header.
Definition at line 149 of file SimTrigHeader.h.
00150 { 00151 return m_commandHeader; 00152 }
void DayaBay::SimTrigHeader::setCommandHeader | ( | DayaBay::SimTrigCommandHeader * | value | ) | [inline] |
Update Pointer to the crate header.
Definition at line 154 of file SimTrigHeader.h.
00155 { 00156 m_commandHeader = value; 00157 }
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.
00082 { 00083 return ( sizeof(SimTrigHeader) == size ? 00084 boost::singleton_pool<SimTrigHeader, sizeof(SimTrigHeader)>::malloc() : 00085 ::operator new(size) ); 00086 }
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.
static void DayaBay::SimTrigHeader::operator delete | ( | void * | p | ) | [inline, static] |
operator delete
Reimplemented from DayaBay::HeaderObject.
Definition at line 97 of file SimTrigHeader.h.
00098 { 00099 boost::singleton_pool<SimTrigHeader, sizeof(SimTrigHeader)>::is_from(p) ? 00100 boost::singleton_pool<SimTrigHeader, sizeof(SimTrigHeader)>::free(p) : 00101 ::operator delete(p); 00102 }
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.
00107 { 00108 ::operator delete (p, pObj); 00109 }