ATLAS Offline Software
Public Member Functions | Static Public Member Functions | List of all members
ByteStreamInputSvc Class Referenceabstract

This class provides the base class to services to read bytestream data. The concrete class can provide Raw event from a file, transient store, or through network. More...

#include <ByteStreamInputSvc.h>

Inheritance diagram for ByteStreamInputSvc:
Collaboration diagram for ByteStreamInputSvc:

Public Member Functions

 ByteStreamInputSvc (const std::string &name, ISvcLocator *svcloc)
 constructor More...
 
virtual ~ByteStreamInputSvc (void)
 destructor More...
 
virtual const RawEventnextEvent ()=0
 virtual method for advance to the next event More...
 
virtual const RawEventpreviousEvent ()=0
 
virtual void setEvent (void *, unsigned int)
 
virtual const RawEventcurrentEvent () const =0
 virtual method for accessing the current event More...
 
virtual unsigned int currentEventStatus () const
 virtual method for accessing the current event status More...
 
virtual std::pair< long, std::string > getBlockIterator (const std::string &)
 
virtual void closeBlockIterator (bool)
 
virtual bool ready ()
 
virtual StatusCode generateDataHeader ()
 
virtual long positionInBlock ()
 
virtual void validateEvent ()
 
MsgStream & msg () const
 
MsgStream & msg (const MSG::Level lvl) const
 
bool msgLvl (const MSG::Level lvl) const
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 Retrieve interface ID. More...
 

Detailed Description

This class provides the base class to services to read bytestream data. The concrete class can provide Raw event from a file, transient store, or through network.

Definition at line 23 of file ByteStreamInputSvc.h.

Constructor & Destructor Documentation

◆ ByteStreamInputSvc()

ByteStreamInputSvc::ByteStreamInputSvc ( const std::string &  name,
ISvcLocator *  svcloc 
)

constructor

Definition at line 8 of file ByteStreamInputSvc.cxx.

8  :
9  ::AthService(name, svcloc) {
10 }

◆ ~ByteStreamInputSvc()

ByteStreamInputSvc::~ByteStreamInputSvc ( void  )
virtual

destructor

Definition at line 13 of file ByteStreamInputSvc.cxx.

13 {}

Member Function Documentation

◆ closeBlockIterator()

void ByteStreamInputSvc::closeBlockIterator ( bool  )
inlinevirtual

Reimplemented in ByteStreamEventStorageInputSvc.

Definition at line 61 of file ByteStreamInputSvc.h.

61 {}

◆ currentEvent()

virtual const RawEvent* ByteStreamInputSvc::currentEvent ( ) const
pure virtual

virtual method for accessing the current event

Implemented in ByteStreamEventStorageInputSvc, ByteStreamEmonInputSvc, and TrigByteStreamInputSvc.

◆ currentEventStatus()

unsigned int ByteStreamInputSvc::currentEventStatus ( ) const
inlinevirtual

virtual method for accessing the current event status

Reimplemented in ByteStreamEventStorageInputSvc.

Definition at line 55 of file ByteStreamInputSvc.h.

55  {
56  return(0);
57 }

◆ generateDataHeader()

StatusCode ByteStreamInputSvc::generateDataHeader ( )
inlinevirtual

Reimplemented in ByteStreamEventStorageInputSvc.

Definition at line 63 of file ByteStreamInputSvc.h.

63 {return StatusCode::SUCCESS;}

◆ getBlockIterator()

std::pair< long, std::string > ByteStreamInputSvc::getBlockIterator ( const std::string &  )
inlinevirtual

Reimplemented in ByteStreamEventStorageInputSvc.

Definition at line 60 of file ByteStreamInputSvc.h.

60 {return std::make_pair(-1,"GUID");}

◆ interfaceID()

const InterfaceID & ByteStreamInputSvc::interfaceID ( )
inlinestatic

Retrieve interface ID.

Declaration of the interface ID ( interface id, major version, minor version)

Definition at line 49 of file ByteStreamInputSvc.h.

49  {
51  static const InterfaceID IID_ByteStreamInputSvc("ByteStreamInputSvc", 1, 0);
52  return(IID_ByteStreamInputSvc);
53 }

◆ msg() [1/2]

MsgStream& AthCommonMsg< Service >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24  {
25  return this->msgStream();
26  }

◆ msg() [2/2]

MsgStream& AthCommonMsg< Service >::msg ( const MSG::Level  lvl) const
inlineinherited

Definition at line 27 of file AthCommonMsg.h.

27  {
28  return this->msgStream(lvl);
29  }

◆ msgLvl()

bool AthCommonMsg< Service >::msgLvl ( const MSG::Level  lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30  {
31  return this->msgLevel(lvl);
32  }

◆ nextEvent()

virtual const RawEvent* ByteStreamInputSvc::nextEvent ( )
pure virtual

virtual method for advance to the next event

Implemented in ByteStreamEventStorageInputSvc, ByteStreamEmonInputSvc, and TrigByteStreamInputSvc.

◆ positionInBlock()

long ByteStreamInputSvc::positionInBlock ( )
inlinevirtual

Reimplemented in ByteStreamEventStorageInputSvc.

Definition at line 64 of file ByteStreamInputSvc.h.

64 {return -1;}

◆ previousEvent()

virtual const RawEvent* ByteStreamInputSvc::previousEvent ( )
pure virtual

◆ ready()

bool ByteStreamInputSvc::ready ( )
inlinevirtual

Reimplemented in ByteStreamEventStorageInputSvc.

Definition at line 62 of file ByteStreamInputSvc.h.

62 {return false;}

◆ setEvent()

virtual void ByteStreamInputSvc::setEvent ( void *  ,
unsigned int   
)
inlinevirtual

Reimplemented in ByteStreamEventStorageInputSvc.

Definition at line 36 of file ByteStreamInputSvc.h.

36 {}

◆ validateEvent()

void ByteStreamInputSvc::validateEvent ( )
inlinevirtual

Reimplemented in ByteStreamEventStorageInputSvc.

Definition at line 65 of file ByteStreamInputSvc.h.

65 {}

The documentation for this class was generated from the following files:
AthService::AthService
AthService()
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192