CARMA C++
MasterServer.h
1 #ifndef CARMA_UI_RTD_MASTERSERVER_H
2 #define CARMA_UI_RTD_MASTERSERVER_H
3 
4 /*
5  * @file
6  *
7  * Master process for the realtime display data servers.
8  *
9  * @author Steve Scott
10  * $id: $
11  *
12  * $CarmaCopyright$
13  *
14  */
15 
16 #include <sys/wait.h>
17 #include <string>
18 
19 namespace carma {
20 namespace ui {
21 namespace rtd {
22 
23 // forward declarations
24 class WindowList;
25 
88 class MasterServer {
89 public:
90  MasterServer( );
91 
113  int run( const std::string & pgpDir,
114  const std::string & rootPathServerPath,
115  const std::string & serverPathOverride,
116  const std::string & programName,
117  const std::string & mmapPath,
118  const std::string & connectionFilename,
119  int traceLevel,
120  bool useDbms,
121  int niceLevel,
122  const WindowList & windowList,
123  bool checkDomain );
124 
125 private:
126  // No copying
127  MasterServer( const MasterServer & rhs );
128  MasterServer & operator=( const MasterServer & rhs );
129 };
130 
131 } // namespace carma::ui::rtd
132 } // namespace carma::ui
133 } // namespace carma
134 
135 #endif // end conditional include guard
int run(const std::string &pgpDir, const std::string &rootPathServerPath, const std::string &serverPathOverride, const std::string &programName, const std::string &mmapPath, const std::string &connectionFilename, int traceLevel, bool useDbms, int niceLevel, const WindowList &windowList, bool checkDomain)
Constructor.
This object is the master data server for java monitor and control programs for the Carma...
Definition: MasterServer.h:88
A list of all possible windows on a system and methods to find them.
Definition: WindowList.h:174