casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Typedefs | Functions | Variables
casa::dbus Namespace Reference

Classes

class  Timeout
class  Watch
class  Dispatcher
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  variant
class  Diagnostic
class  init_diagnostic_object_t

Typedefs

typedef std::map< std::string,
variant
rec_map

Functions

std::string adaptor_object (const std::string &name)
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)
Record toRecord (const std::map< std::string, DBus::Variant > &mapIn)
std::map< std::string,
DBus::Variant > 
fromRecord (const 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 Vector< t > &other)
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)

Variables

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

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)
template<class t >
std::vector<double> casa::dbus::af ( const Vector< t > &  other)

Definition at line 52 of file Conversion.h.

References casa::ArrayBase::nelements().

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

Referenced by asString().

std::string casa::dbus::asString ( const std::string &  s) [inline]

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 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 44 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)
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