Tango Core Classes Reference
9.3.4
|
Class used to move/copy a complete device server process database configuration from one Tango host to another. More...
#include "tango.h"
Public Member Functions | |
DbServerData (const string &ds_exec_name, const string &ds_inst_name) | |
Create a DbServerData instance. More... | |
bool | already_exist (const string &tg_host) |
Check if device(s) already defined. More... | |
void | put_in_database (const string &tg_host) |
Put device server database configuration in new Tango host. More... | |
void | remove () |
Remove device server database configuration from default Tango host. More... | |
void | remove (const string &tg_host) |
Remove device server database configuration from Tango host. More... | |
Class used to move/copy a complete device server process database configuration from one Tango host to another.
Tango::DbServerData::DbServerData | ( | const string & | ds_exec_name, |
const string & | ds_inst_name | ||
) |
Create a DbServerData instance.
A constructor for a DbServerData object for a device server process defined in the TANGO database specified by the TANGO_HOST environment variable
[in] | ds_exec_name | The device server process executable name |
[in] | ds_inst_name | The device server process instance name |
bool Tango::DbServerData::already_exist | ( | const string & | tg_host | ) |
Check if device(s) already defined.
Return true if one of the device defined in the device server process with configuration in this instance is already defined in the database defined by the Tango host given as parameter
[in] | tg_host | The tango host |
void Tango::DbServerData::put_in_database | ( | const string & | tg_host | ) |
void Tango::DbServerData::remove | ( | ) |
Remove device server database configuration from default Tango host.
Remove the device server process database configuration from the database specified by the environment variable TANGO_HOST
void Tango::DbServerData::remove | ( | const string & | tg_host | ) |