ATLAS Offline Software
Loading...
Searching...
No Matches
VP1ExternalRequest.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
6// //
7// Header file for class VP1ExternalRequest //
8// //
9// Author: Thomas Kittelmann <Thomas.Kittelmann@cern.ch> //
10// //
11// Initial version: April 2007 //
12// //
14
15#ifndef VP1EXTERNALREQUEST_H
16#define VP1EXTERNALREQUEST_H
17
18#include <QString>
19
21public:
22
24 QString actionToString(const Action&) const;
25
26 VP1ExternalRequest(const QString& sender, const QString& message,
27 const Action& action,const QString& actioninfo);
28
29 bool isValid() const { return m_valid; }
30
31 Action action() const { return m_action; }
32 const QString& actioninfo() const { return m_actioninfo; }
33 const QString& message() const { return m_message; }
34 const QString& sender() const { return m_sender; }
35
36 QString serialize() const;
37 VP1ExternalRequest(const QString& serialized);
38
40
41 bool operator== ( const VP1ExternalRequest & other ) const;
42 bool operator< ( const VP1ExternalRequest & other ) const;
43private:
44
45 QString m_message;
46 QString m_sender;
48 QString m_actioninfo;
49 bool m_valid;
50};
51
52#endif
const QString & sender() const
bool operator==(const VP1ExternalRequest &other) const
QString actionToString(const Action &) const
const QString & actioninfo() const
QString serialize() const
bool operator<(const VP1ExternalRequest &other) const
VP1ExternalRequest(const QString &sender, const QString &message, const Action &action, const QString &actioninfo)
const QString & message() const