ATLAS Offline Software
VP1ExternalRequest.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 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 
21 public:
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  QString actioninfo() const { return m_actioninfo; }
33  QString message() const { return m_message; }
34  QString sender() const { return m_sender; }
35 
36  QString serialize() const;
37  VP1ExternalRequest(const QString& serialized);
38 
39  virtual ~VP1ExternalRequest() {}
40 
41  bool operator== ( const VP1ExternalRequest & other ) const;
42  bool operator< ( const VP1ExternalRequest & other ) const;
43 private:
44 
45  QString m_message;
46  QString m_sender;
48  QString m_actioninfo;
49  bool m_valid;
50 };
51 
52 #endif
VP1ExternalRequest::m_sender
QString m_sender
Definition: VP1ExternalRequest.h:46
VP1ExternalRequest::message
QString message() const
Definition: VP1ExternalRequest.h:33
VP1ExternalRequest::m_valid
bool m_valid
Definition: VP1ExternalRequest.h:49
VP1ExternalRequest::operator==
bool operator==(const VP1ExternalRequest &other) const
Definition: VP1ExternalRequest.cxx:116
VP1ExternalRequest::sender
QString sender() const
Definition: VP1ExternalRequest.h:34
VP1ExternalRequest::m_message
QString m_message
Definition: VP1ExternalRequest.h:45
VP1ExternalRequest::action
Action action() const
Definition: VP1ExternalRequest.h:31
VP1ExternalRequest::actionToString
QString actionToString(const Action &) const
Definition: VP1ExternalRequest.cxx:36
VP1ExternalRequest
Definition: VP1ExternalRequest.h:20
VP1ExternalRequest::serialize
QString serialize() const
Definition: VP1ExternalRequest.cxx:52
VP1ExternalRequest::m_action
Action m_action
Definition: VP1ExternalRequest.h:47
VP1ExternalRequest::SHOWCHANNEL
@ SHOWCHANNEL
Definition: VP1ExternalRequest.h:23
VP1ExternalRequest::Action
Action
Definition: VP1ExternalRequest.h:23
VP1ExternalRequest::SHOWTAB
@ SHOWTAB
Definition: VP1ExternalRequest.h:23
VP1ExternalRequest::m_actioninfo
QString m_actioninfo
Definition: VP1ExternalRequest.h:48
VP1ExternalRequest::operator<
bool operator<(const VP1ExternalRequest &other) const
Definition: VP1ExternalRequest.cxx:125
VP1ExternalRequest::~VP1ExternalRequest
virtual ~VP1ExternalRequest()
Definition: VP1ExternalRequest.h:39
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
VP1ExternalRequest::actioninfo
QString actioninfo() const
Definition: VP1ExternalRequest.h:32
VP1ExternalRequest::isValid
bool isValid() const
Definition: VP1ExternalRequest.h:29
VP1ExternalRequest::VP1ExternalRequest
VP1ExternalRequest(const QString &sender, const QString &message, const Action &action, const QString &actioninfo)
Definition: VP1ExternalRequest.cxx:20
VP1ExternalRequest::SHOWMESSAGE
@ SHOWMESSAGE
Definition: VP1ExternalRequest.h:23