pqXMLEventSource.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3 // SPDX-License-Identifier: BSD-3-Clause
4 
5 #ifndef pqXMLEventSource_h
6 #define pqXMLEventSource_h
7 
8 #include "pqCoreModule.h"
9 #include "pqEventSource.h"
10 
11 class QString;
12 
15 class PQCORE_EXPORT pqXMLEventSource : public pqEventSource
16 {
17  Q_OBJECT
18 public:
19  pqXMLEventSource(QObject* p = nullptr);
20  ~pqXMLEventSource() override;
21 
22  void setContent(const QString& path) override;
23 
27  int getNextEvent(QString& object, QString& command, QString& arguments, int& eventType) override;
28 
29 private:
30  class pqImplementation;
31  pqImplementation* const Implementation;
32 };
33 
34 #endif // !pqXMLEventSource_h
Concrete implementation of pqEventSource that retrieves events recorded by pqXMLEventObserver.
#define PQCORE_EXPORT
Definition: pqCoreModule.h:15