5#include <tango/tango.h>
7#include <boost/process.hpp>
32 static std::string
port();
44 [[nodiscard]]
const std::string&
device()
const;
64 std::vector<std::string>
argv;
69 Tango::Util*
tg{
nullptr};
boost::process::child tangoServerProcess
std::vector< std::string > argv
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 & setCreateOfflineDatabase(bool create)
std::string offlineDatabase
TangoServerLauncher & overrideNames(const std::string &newNames)
void stop()
Shut down the Tango server.
static TangoServerLauncher * self
TangoServerLauncher & setKeepOfflineDatabase(bool keep)
std::shared_ptr< Tango::DeviceProxy > remoteProxy
static TangoServerLauncher & instance()
static std::string port()
Get the port used for CORBA commuication.
bool createOfflineDatabase
TangoServerLauncher & setOfflineDatabase(const std::string &basePath)
Configure the Tango server to run against an offline database.