ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ByteStreamAddress Class Reference

IOpaqueAddress for ByteStreamCnvSvc, with ROB ids. More...

#include <ByteStreamAddress.h>

Inheritance diagram for ByteStreamAddress:
Collaboration diagram for ByteStreamAddress:

Public Member Functions

 ByteStreamAddress (const CLID &clid, const std::string &fname, const std::string &cname, int p1=0, int p2=0)
 Standard Constructor. More...
 
 ByteStreamAddress (const CLID &clid)
 
virtual ~ByteStreamAddress ()
 
void add (uint32_t robid)
 Add ROBID. More...
 
void setEventContext (const EventContext &eid)
 
const std::vector< uint32_t > & getRobIDs () const
 access the fragment pointer More...
 
const EventContext & getEventContext () const
 

Static Public Member Functions

static constexpr long storageType ()
 

Private Attributes

std::vector< uint32_t > m_robIDs
 
EventContext m_eid
 

Detailed Description

IOpaqueAddress for ByteStreamCnvSvc, with ROB ids.

Package : ByteStreamCnvSvcBase

description : Definition of RawEvent address class This class holds a vector of ROBIDs

Author
: H. Ma Revision : July 10, 2002, Use new eformat package Revision : Sept 19, 2002, Store ROB IDs, to be used with ROBDataProviderSvc

Definition at line 28 of file ByteStreamAddress.h.

Constructor & Destructor Documentation

◆ ByteStreamAddress() [1/2]

ByteStreamAddress::ByteStreamAddress ( const CLID clid,
const std::string &  fname,
const std::string &  cname,
int  p1 = 0,
int  p2 = 0 
)

Standard Constructor.

Definition at line 27 of file ByteStreamAddress.cxx.

29  : GenericAddress(storageType(), clid, fname, cname, p1, p2), m_eid(0,0) {
30 }

◆ ByteStreamAddress() [2/2]

ByteStreamAddress::ByteStreamAddress ( const CLID clid)

Definition at line 32 of file ByteStreamAddress.cxx.

33  : GenericAddress(storageType(), clid, "", "") {
34 }

◆ ~ByteStreamAddress()

virtual ByteStreamAddress::~ByteStreamAddress ( )
inlinevirtual

Definition at line 36 of file ByteStreamAddress.h.

36 {}; //doesn't own event

Member Function Documentation

◆ add()

void ByteStreamAddress::add ( uint32_t  robid)

Add ROBID.

Definition at line 38 of file ByteStreamAddress.cxx.

38  {
39  m_robIDs.push_back(robid);
40 }

◆ getEventContext()

const EventContext & ByteStreamAddress::getEventContext ( ) const
inline

Definition at line 62 of file ByteStreamAddress.h.

63 { return m_eid; }

◆ getRobIDs()

const std::vector< uint32_t > & ByteStreamAddress::getRobIDs ( ) const

access the fragment pointer

Definition at line 44 of file ByteStreamAddress.cxx.

44  {
45  return(m_robIDs);
46 }

◆ setEventContext()

void ByteStreamAddress::setEventContext ( const EventContext &  eid)
inline

Definition at line 59 of file ByteStreamAddress.h.

60 { m_eid = eid; }

◆ storageType()

static constexpr long ByteStreamAddress::storageType ( )
inlinestaticconstexpr

Definition at line 51 of file ByteStreamAddress.h.

51 { return 0x43; }

Member Data Documentation

◆ m_eid

EventContext ByteStreamAddress::m_eid
private

Definition at line 56 of file ByteStreamAddress.h.

◆ m_robIDs

std::vector<uint32_t> ByteStreamAddress::m_robIDs
private

Definition at line 55 of file ByteStreamAddress.h.


The documentation for this class was generated from the following files:
ByteStreamAddress::m_robIDs
std::vector< uint32_t > m_robIDs
Definition: ByteStreamAddress.h:55
TRTCalib_cfilter.p1
p1
Definition: TRTCalib_cfilter.py:130
TRTCalib_cfilter.p2
p2
Definition: TRTCalib_cfilter.py:131
ByteStreamAddress::storageType
static constexpr long storageType()
Definition: ByteStreamAddress.h:51
ByteStreamAddress::m_eid
EventContext m_eid
Definition: ByteStreamAddress.h:56
python.AthDsoLogger.fname
string fname
Definition: AthDsoLogger.py:67