ATLAS Offline Software
Loading...
Searching...
No Matches
IEventServer.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef JIVEXML_IEVENTSERVER_H
6#define JIVEXML_IEVENTSERVER_H
7
8#include <vector>
9#include <JiveXML/IMessage.h>
10
11namespace JiveXML {
12
13 //forward declarations
14 class EventStreamID;
15
21
22 public:
23
24 //Need virtual destructor
25 virtual ~IEventServer(){}
26
29
30 virtual std::vector<std::string> GetStreamNames() const = 0;
32 virtual const EventStreamID GetEventStreamID(const std::string& streamName) const = 0;
34 virtual const std::string GetEvent( const EventStreamID& evtStreamID ) const = 0;
36 virtual int GetState() const = 0;
38 virtual bool GetRunServerFlag () const = 0;
40
41 };
42
43} //namespace
44
45#endif
46
For the client-server communication, each event is uniquely identified by the run number,...
Definition EventStream.h:19
Pure abstract interface for all event serving classes that provide events, streams and status informa...
virtual const EventStreamID GetEventStreamID(const std::string &streamName) const =0
get the current EventStreamID for a particular stream
virtual std::vector< std::string > GetStreamNames() const =0
get the names of all the streams
virtual int GetState() const =0
get the Status of the application
virtual bool GetRunServerFlag() const =0
The server thread will stop once this flag is set to false.
virtual const std::string GetEvent(const EventStreamID &evtStreamID) const =0
get the current event for a particular stream
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.