forked from OpenDDS/OpenDDS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RTDMonitor.h
40 lines (30 loc) · 915 Bytes
/
RTDMonitor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
*
*
* Distributed under the OpenDDS License.
* See: http://www.opendds.org/license.html
*/
#ifndef RTDMONITOR_H
#define RTDMONITOR_H
#include <string>
#include <list>
namespace Monitor {
class RTDMonitorImpl;
/// Accessor class so the Excel RTD server can utilize the same
/// backend as the stand-alone Monitor app.
class RTDMonitor {
public:
RTDMonitor(int argc = 0, char* argv[] = 0);
~RTDMonitor();
bool newRepo(const std::string& ior);
int getColumnCount() const;
std::string getNodeValue(const std::string& nodeId, int column) const;
std::string getNodeColor(const std::string& nodeId, int column) const;
bool isNodeValid(const std::string& nodeId) const;
static void shutdown();
std::list<std::string> getNodeChildren(const std::string& parentId) const;
private:
RTDMonitorImpl* impl_;
};
} // End of namespace Monitor
#endif /* RTDMONITOR_H */