![]() |
ChimeraTK-DeviceAccess-TangoBackend 00.01.02
|
#include <TangoServerLauncher.h>
Collaboration diagram for TangoServerLauncher:Public Member Functions | |
| TangoServerLauncher (std::string setTestName="Unified", bool setVerbose=false) | |
| ~TangoServerLauncher () | |
| void | start () |
| void | stop () |
| Shut down the Tango server. | |
| std::string | getClientUrl () const |
| An URL that can be used by the Tango::DeviceProxy to connect to this server. | |
| const std::string & | device () const |
| The Tango device name. | |
| TangoServerLauncher & | setOfflineDatabase (const std::string &basePath) |
| Configure the Tango server to run against an offline database. | |
| TangoServerLauncher & | setKeepOfflineDatabase (bool keep) |
| TangoServerLauncher & | setCreateOfflineDatabase (bool create) |
| TangoServerLauncher & | overrideNames (const std::string &newNames) |
Static Public Member Functions | |
| static std::string | port () |
| Get the port used for CORBA commuication. | |
| static TangoServerLauncher & | instance () |
Public Attributes | |
| std::string | testName |
| std::string | offlineDatabase |
| bool | createOfflineDatabase {true} |
| bool | keepOfflineDatabase {false} |
| bool | verbose {false} |
| std::vector< std::string > | argv |
| boost::process::child | tangoServerProcess |
| std::string | deviceString |
| Tango::Util * | tg {nullptr} |
| std::shared_ptr< Tango::DeviceProxy > | remoteProxy |
Static Public Attributes | |
| static TangoServerLauncher * | self {nullptr} |
Definition at line 12 of file TangoServerLauncher.h.
|
explicit |
Definition at line 12 of file TangoServerLauncher.cpp.
| TangoServerLauncher::~TangoServerLauncher | ( | ) |
Definition at line 20 of file TangoServerLauncher.cpp.
| const std::string & TangoServerLauncher::device | ( | ) | const |
The Tango device name.
Definition at line 120 of file TangoServerLauncher.cpp.
| std::string TangoServerLauncher::getClientUrl | ( | ) | const |
An URL that can be used by the Tango::DeviceProxy to connect to this server.
Definition at line 114 of file TangoServerLauncher.cpp.
|
inlinestatic |
Definition at line 71 of file TangoServerLauncher.h.
| TangoServerLauncher & TangoServerLauncher::overrideNames | ( | const std::string & | newNames | ) |
Definition at line 160 of file TangoServerLauncher.cpp.
|
static |
Get the port used for CORBA commuication.
Definition at line 101 of file TangoServerLauncher.cpp.
| TangoServerLauncher & TangoServerLauncher::setCreateOfflineDatabase | ( | bool | create | ) |
Definition at line 126 of file TangoServerLauncher.cpp.
| TangoServerLauncher & TangoServerLauncher::setKeepOfflineDatabase | ( | bool | keep | ) |
Definition at line 134 of file TangoServerLauncher.cpp.
| TangoServerLauncher & TangoServerLauncher::setOfflineDatabase | ( | const std::string & | basePath | ) |
Configure the Tango server to run against an offline database.
| basePath | base name of the db file. A template database with the name basename + ".db" has to exist in the working folder. |
Definition at line 142 of file TangoServerLauncher.cpp.
| void TangoServerLauncher::start | ( | ) |
Definition at line 39 of file TangoServerLauncher.cpp.
| void TangoServerLauncher::stop | ( | ) |
Shut down the Tango server.
Definition at line 91 of file TangoServerLauncher.cpp.
| std::vector<std::string> TangoServerLauncher::argv |
Definition at line 64 of file TangoServerLauncher.h.
| bool TangoServerLauncher::createOfflineDatabase {true} |
Definition at line 61 of file TangoServerLauncher.h.
| std::string TangoServerLauncher::deviceString |
Definition at line 68 of file TangoServerLauncher.h.
| bool TangoServerLauncher::keepOfflineDatabase {false} |
Definition at line 62 of file TangoServerLauncher.h.
| std::string TangoServerLauncher::offlineDatabase |
Definition at line 60 of file TangoServerLauncher.h.
| std::shared_ptr<Tango::DeviceProxy> TangoServerLauncher::remoteProxy |
Definition at line 72 of file TangoServerLauncher.h.
|
static |
Definition at line 168 of file TangoServerLauncher.h.
| boost::process::child TangoServerLauncher::tangoServerProcess |
Definition at line 66 of file TangoServerLauncher.h.
| std::string TangoServerLauncher::testName |
Definition at line 59 of file TangoServerLauncher.h.
| Tango::Util* TangoServerLauncher::tg {nullptr} |
Definition at line 69 of file TangoServerLauncher.h.
| bool TangoServerLauncher::verbose {false} |
Definition at line 63 of file TangoServerLauncher.h.