28 #ifndef DBUS_BUSACCESS_H_
29 #define DBUS_BUSACCESS_H_
43 std::string
path(
const std::string &
name );
47 address(
const std::string &bus_address,
bool unique=
true );
52 std::string
generate_name(
const std::string &base,
bool unique=
true );
56 char *
launch_casa_proxy(
bool unique_name,
const std::string &dbusname,
const std::string &default_name,
const std::list<std::string> &args );
58 template<
class proxy> proxy *
launch(
const std::list<std::string> &args=std::list<std::string>( ),
bool unique_name=
true,
59 const std::string &
name=
"",
int trys=60,
unsigned long delay=500000 ) {
61 if ( dbname == 0 ) {
throw std::runtime_error(
"launch failed" ); }
67 result =
new proxy(dbname);
std::string busName() const
char * launch_casa_proxy(bool unique_name, const std::string &dbusname, const std::string &default_name, const std::list< std::string > &args)
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
proxy * launch(const std::list< std::string > &args=std::list< std::string >(), bool unique_name=true, const std::string &name="", int trys=60, unsigned long delay=500000)
std::string object(const std::string &name)
std::string path(const std::string &name)
std::string generate_name(const std::string &base, bool unique=true)
std::string adaptor_object(const std::string &name, const std::string &path)
this function is a little odd...