casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs | Functions | Variables
casa::dbus Namespace Reference


class  record
 todo: o create python to/from record functions o implement compare() o implement record_to_string() o create a thorough test program o verify that std::map<>'s copy ctor does a complete copy o add copy-on-write (w/ reference counting) More...
class  address
class  Diagnostic
class  init_diagnostic_object_t
class  Timeout
class  Watch
class  Dispatcher
class  variant


typedef std::map< std::string,


casacore::Record toRecord (const std::map< std::string, DBus::Variant > &mapIn)
std::map< std::string,
DBus::Variant > 
fromRecord (const casacore::Record &record)
variant toVariant (const DBus::Variant &src)
std::map< std::string, varianttoStdMap (const std::map< std::string, DBus::Variant > &src)
std::map< std::string,
DBus::Variant > 
fromStdMap (const std::map< std::string, variant > &src)
DBus::Variant fromVariant (const variant &src)
void show (const variant &v)
template<class t >
std::vector< double > af (const casacore::Vector< t > &other)
std::string adaptor_object (const std::string &name, const std::string &path)
 this function is a little odd... More...
std::string object (const std::string &name)
std::string path (const std::string &name)
char * launch_casa_proxy (bool unique_name, const std::string &dbusname, const std::string &default_name, const std::list< std::string > &args)
template<class proxy >
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 asString (const variant &v)
std::string asString (const std::string &s)
template<typename T >
std::string asString (const T &t)
template<typename K , typename V >
std::string asString (const std::pair< K, V > &p)


Diagnostic diagnostic
static class

Typedef Documentation

typedef std::map<std::string,variant> casa::dbus::rec_map

Definition at line 39 of file record.h.

Function Documentation

std::string casa::dbus::adaptor_object ( const std::string &  name,
const std::string &  path 

this function is a little odd...

it gets a connection with a unique name (via a suffix) using 'name' and upon success returns 'path', otherwise it throws an exception...

template<class t >
std::vector<double> casa::dbus::af ( const casacore::Vector< t > &  other)

Definition at line 56 of file Conversion.h.

References casacore::ArrayBase::nelements().

Referenced by casa::ImageSourceFinder< T >::setAbsFind().

std::string casa::dbus::asString ( const variant &  v)

Referenced by asString().

std::string casa::dbus::asString ( const std::string &  s)

Definition at line 73 of file io.h.

template<typename T >
std::string casa::dbus::asString ( const T &  t)

Definition at line 76 of file io.h.

References asString().

template<typename K , typename V >
std::string casa::dbus::asString ( const std::pair< K, V > &  p)

Definition at line 83 of file io.h.

References asString().

std::map<std::string,DBus::Variant> casa::dbus::fromRecord ( const casacore::Record record)
std::map<std::string,DBus::Variant> casa::dbus::fromStdMap ( const std::map< std::string, variant > &  src)
DBus::Variant casa::dbus::fromVariant ( const variant &  src)
template<class proxy >
proxy* casa::dbus::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 

Definition at line 58 of file BusAccess.h.

References launch_casa_proxy(), and casa::name().

char* casa::dbus::launch_casa_proxy ( bool  unique_name,
const std::string &  dbusname,
const std::string &  default_name,
const std::list< std::string > &  args 

Referenced by launch().

std::string casa::dbus::object ( const std::string &  name)
std::string casa::dbus::path ( const std::string &  name)
void casa::dbus::show ( const variant &  v)
casacore::Record casa::dbus::toRecord ( const std::map< std::string, DBus::Variant > &  mapIn)
std::map<std::string,variant> casa::dbus::toStdMap ( const std::map< std::string, DBus::Variant > &  src)
variant casa::dbus::toVariant ( const DBus::Variant &  src)

Variable Documentation

Diagnostic casa::dbus::diagnostic
class casa::dbus::init_diagnostic_object_t casa::dbus::init_diagnostic_object_