dbus-cxx logo
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
DBus Namespace Reference

Namespaces

namespace  Glib

Classes

struct  PredicateAccumulatorDefaultTrue
 This accumulator starts with a presumption of true and checks to see if any result returned false. More...
struct  InterruptablePredicateAccumulatorDefaultFalse
 This accumulator will interrupt on the first slot that returns true. More...
struct  MessageHandlerAccumulator
 This accumulator will try each slot and stop when the first slot returns HANDLED. More...
struct  FilterAccumulator
 This accumulator will try each slot and stop when the first slot returns FILTER. More...
struct  PredicateAccumulatorDefaultFalse
 This accumulator starts with a presumption of false and checks to see if any result returned true. More...
class  CallMessage
 Represents a DBus call message. More...
class  Connection
 Connection point to the DBus. More...
class  signal
 Subclass of the numbered sigc::signal templates. More...
class  signal< T_return, nil, nil, nil, nil, nil, nil, nil >
 Subclass of the numbered sigc::signal templates. More...
class  signal< T_return, T_arg1, nil, nil, nil, nil, nil, nil >
 Subclass of the numbered sigc::signal templates. More...
class  signal< T_return, T_arg1, T_arg2, nil, nil, nil, nil, nil >
 Subclass of the numbered sigc::signal templates. More...
class  signal< T_return, T_arg1, T_arg2, T_arg3, nil, nil, nil, nil >
 Subclass of the numbered sigc::signal templates. More...
class  signal< T_return, T_arg1, T_arg2, T_arg3, T_arg4, nil, nil, nil >
 Subclass of the numbered sigc::signal templates. More...
class  signal< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, nil, nil >
 Subclass of the numbered sigc::signal templates. More...
class  signal< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, nil >
 Subclass of the numbered sigc::signal templates. More...
class  Dispatcher
 Handles multi-threaded dispatching of one or more connections. More...
class  Error
 Base class of a hierarchy of error objects thrown when exceptional conditions occur. More...
class  ErrorMessage
 Represents a DBus Error message. More...
class  Interface
class  InterfaceProxy
class  Message
 This class represents a basic DBus message and also serves as a base class for the specialized message types (call, return, signal, error). More...
class  MessageAppendIterator
 Insertion iterator allow values to be appended to a message. More...
class  MessageFilter
 This class provides a common base class for all message filters. More...
class  MessageHandler
 This class provides a common base class for all message handlers. More...
class  MessageIterator
 Extraction iterator allowing values to be retrieved from a message. More...
class  Method
class  Method< T_return, nil, nil, nil, nil, nil, nil, nil >
class  Method< T_return, T_arg1, nil, nil, nil, nil, nil, nil >
class  Method< T_return, T_arg1, T_arg2, nil, nil, nil, nil, nil >
class  Method< T_return, T_arg1, T_arg2, T_arg3, nil, nil, nil, nil >
class  Method< T_return, T_arg1, T_arg2, T_arg3, T_arg4, nil, nil, nil >
class  Method< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, nil, nil >
class  Method< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, nil >
class  Method< void, nil, nil, nil, nil, nil, nil, nil >
class  Method< void, T_arg1, nil, nil, nil, nil, nil, nil >
class  Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >
class  Method< void, T_arg1, T_arg2, T_arg3, nil, nil, nil, nil >
class  Method< void, T_arg1, T_arg2, T_arg3, T_arg4, nil, nil, nil >
class  Method< void, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, nil, nil >
class  Method< void, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, nil >
class  Method< void, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >
class  MethodBase
class  MethodProxy
class  MethodProxy< T_return, nil, nil, nil, nil, nil, nil, nil >
class  MethodProxy< T_return, T_arg1, nil, nil, nil, nil, nil, nil >
class  MethodProxy< T_return, T_arg1, T_arg2, nil, nil, nil, nil, nil >
class  MethodProxy< T_return, T_arg1, T_arg2, T_arg3, nil, nil, nil, nil >
class  MethodProxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, nil, nil, nil >
class  MethodProxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, nil, nil >
class  MethodProxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, nil >
class  MethodProxy< void, nil, nil, nil, nil, nil, nil, nil >
class  MethodProxy< void, T_arg1, nil, nil, nil, nil, nil, nil >
class  MethodProxy< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >
class  MethodProxy< void, T_arg1, T_arg2, T_arg3, nil, nil, nil, nil >
class  MethodProxy< void, T_arg1, T_arg2, T_arg3, T_arg4, nil, nil, nil >
class  MethodProxy< void, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, nil, nil >
class  MethodProxy< void, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, nil >
class  MethodProxyBase
class  Object
class  ObjectProxy
 Object proxies are local proxies that provide local methods and signals for remote objects with dbus interfaces. More...
class  Path
class  PendingCall
 Monitors an asynchronous call, emitting a signal when a response is received. More...
class  ReturnMessage
 Represents a DBus call return message. More...
class  signal_base
class  signal_proxy
 Subclass of the numbered sigc::signal templates. More...
class  signal_proxy< T_return, nil, nil, nil, nil, nil, nil, nil >
 Subclass of the numbered sigc::signal templates. More...
class  signal_proxy< T_return, T_arg1, nil, nil, nil, nil, nil, nil >
 Subclass of the numbered sigc::signal templates. More...
class  signal_proxy< T_return, T_arg1, T_arg2, nil, nil, nil, nil, nil >
 Subclass of the numbered sigc::signal templates. More...
class  signal_proxy< T_return, T_arg1, T_arg2, T_arg3, nil, nil, nil, nil >
 Subclass of the numbered sigc::signal templates. More...
class  signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, nil, nil, nil >
 Subclass of the numbered sigc::signal templates. More...
class  signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, nil, nil >
 Subclass of the numbered sigc::signal templates. More...
class  signal_proxy< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, nil >
 Subclass of the numbered sigc::signal templates. More...
class  signal_proxy_base
class  signal_proxy_simple
class  SignalMessage
 Represents a DBus signal message. More...
class  SignalReceiver
 This class serves as a receiver of incoming signal messages. More...
class  Signature
class  SignatureIterator
 Signature iterator allowing type signatures to be parsed. More...
class  Timeout
 Provides timeouts that can be armed/disarmed as necessary. More...
class  Variant
 A Variant is a type of DBus object that can be one of several different types of normal DBus object. More...
class  Watch
 Provides file descriptor watches. More...

Typedefs

typedef enum DBus::BusType BusType
typedef enum DBus::CreateMethod CreateMethod
typedef enum DBus::Type Type
typedef enum DBus::ContainerType ContainerType
typedef enum DBus::MessageType MessageType
typedef enum DBus::DispatchStatus DispatchStatus
typedef enum DBus::HandlerResult HandlerResult
typedef enum DBus::FilterResult FilterResult
typedef enum DBus::StartReply StartReply
typedef enum DBus::WatchStatus WatchStatus
typedef enum DBus::PrimaryFallback PrimaryFallback
typedef sigc::signal
< FilterResult, DBusCxxPointer
< Connection >
, Message::pointer >
::accumulated
< FilterAccumulator
FilterSignal
typedef sigc::nil nil

Enumerations

enum  BusType { BUS_NONE = -1, BUS_SESSION = DBUS_BUS_SESSION, BUS_SYSTEM = DBUS_BUS_SYSTEM, BUS_STARTER = DBUS_BUS_STARTER }
enum  CreateMethod { CREATE_ALIAS, CREATE_COPY }
enum  Type {
  TYPE_INVALID = DBUS_TYPE_INVALID, TYPE_BYTE = DBUS_TYPE_BYTE, TYPE_BOOLEAN = DBUS_TYPE_BOOLEAN, TYPE_INT16 = DBUS_TYPE_INT16,
  TYPE_UINT16 = DBUS_TYPE_UINT16, TYPE_INT32 = DBUS_TYPE_INT32, TYPE_UINT32 = DBUS_TYPE_UINT32, TYPE_INT64 = DBUS_TYPE_INT64,
  TYPE_UINT64 = DBUS_TYPE_UINT64, TYPE_DOUBLE = DBUS_TYPE_DOUBLE, TYPE_STRING = DBUS_TYPE_STRING, TYPE_OBJECT_PATH = DBUS_TYPE_OBJECT_PATH,
  TYPE_SIGNATURE = DBUS_TYPE_SIGNATURE, TYPE_ARRAY = DBUS_TYPE_ARRAY, TYPE_VARIANT = DBUS_TYPE_VARIANT, TYPE_STRUCT = DBUS_TYPE_STRUCT,
  TYPE_DICT_ENTRY = DBUS_TYPE_DICT_ENTRY
}
enum  ContainerType { CONTAINER_ARRAY = DBUS_TYPE_ARRAY, CONTAINER_VARIANT = DBUS_TYPE_VARIANT, CONTAINER_STRUCT = DBUS_TYPE_STRUCT, CONTAINER_DICT_ENTRY = DBUS_TYPE_DICT_ENTRY }
enum  MessageType {
  INVALID_MESSAGE = DBUS_MESSAGE_TYPE_INVALID, CALL_MESSAGE = DBUS_MESSAGE_TYPE_METHOD_CALL, RETURN_MESSAGE = DBUS_MESSAGE_TYPE_METHOD_RETURN, ERROR_MESSAGE = DBUS_MESSAGE_TYPE_ERROR,
  SIGNAL_MESSAGE = DBUS_MESSAGE_TYPE_SIGNAL
}
enum  DispatchStatus { DISPATCH_DATA_REMAINS = DBUS_DISPATCH_DATA_REMAINS, DISPATCH_COMPLETE = DBUS_DISPATCH_COMPLETE, DISPATCH_NEED_MEMORY = DBUS_DISPATCH_NEED_MEMORY }
enum  HandlerResult { HANDLED = DBUS_HANDLER_RESULT_HANDLED, NOT_HANDLED = DBUS_HANDLER_RESULT_NOT_YET_HANDLED, HANDLER_NEEDS_MEMORY = DBUS_HANDLER_RESULT_NEED_MEMORY }
enum  FilterResult { FILTER = HANDLED, DONT_FILTER = NOT_HANDLED, FILTER_NEEDS_MEMORY = HANDLER_NEEDS_MEMORY }
enum  StartReply { START_REPLY_FAILED = 0, START_REPLY_SUCCESS = DBUS_START_REPLY_SUCCESS, START_REPLY_ALREADY_RUNNING = DBUS_START_REPLY_ALREADY_RUNNING }
enum  WatchStatus { WATCH_READABLE = DBUS_WATCH_READABLE, WATCH_WRITABLE = DBUS_WATCH_WRITABLE, WATCH_ERROR = DBUS_WATCH_ERROR, WATCH_HANGUP = DBUS_WATCH_HANGUP }
enum  PrimaryFallback { PRIMARY, FALLBACK }

Functions

void callmsg_wp_deleter (void *v)
void conn_wp_deleter (void *v)
template<typename T >
void deleter (void *p)
 DBUSCXX_ERROR (ErrorFailed, DBUS_ERROR_FAILED)
 DBUSCXX_ERROR (ErrorNoMemory, DBUS_ERROR_NO_MEMORY)
 DBUSCXX_ERROR (ErrorServiceUnknown, DBUS_ERROR_SERVICE_UNKNOWN)
 DBUSCXX_ERROR (ErrorNameHasNoOwner, DBUS_ERROR_NAME_HAS_NO_OWNER)
 DBUSCXX_ERROR (ErrorNoReply, DBUS_ERROR_NO_REPLY)
 DBUSCXX_ERROR (ErrorIOError, DBUS_ERROR_IO_ERROR)
 DBUSCXX_ERROR (ErrorBadAddress, DBUS_ERROR_BAD_ADDRESS)
 DBUSCXX_ERROR (ErrorNotSupported, DBUS_ERROR_NOT_SUPPORTED)
 DBUSCXX_ERROR (ErrorLimitsExceeded, DBUS_ERROR_LIMITS_EXCEEDED)
 DBUSCXX_ERROR (ErrorAccessDenied, DBUS_ERROR_ACCESS_DENIED)
 DBUSCXX_ERROR (ErrorAuthFailed, DBUS_ERROR_AUTH_FAILED)
 DBUSCXX_ERROR (ErrorNoServer, DBUS_ERROR_NO_SERVER)
 DBUSCXX_ERROR (ErrorTimeout, DBUS_ERROR_TIMEOUT)
 DBUSCXX_ERROR (ErrorNoNetwork, DBUS_ERROR_NO_NETWORK)
 DBUSCXX_ERROR (ErrorAddressInUse, DBUS_ERROR_ADDRESS_IN_USE)
 DBUSCXX_ERROR (ErrorDisconnected, DBUS_ERROR_DISCONNECTED)
 DBUSCXX_ERROR (ErrorInvalidArgs, DBUS_ERROR_INVALID_ARGS)
 DBUSCXX_ERROR (ErrorFileNotFound, DBUS_ERROR_FILE_NOT_FOUND)
 DBUSCXX_ERROR (ErrorFileExists, DBUS_ERROR_FILE_EXISTS)
 DBUSCXX_ERROR (ErrorUnknownMethod, DBUS_ERROR_UNKNOWN_METHOD)
 DBUSCXX_ERROR (ErrorTimedOut, DBUS_ERROR_TIMED_OUT)
 DBUSCXX_ERROR (ErrorMatchRuleNotFound, DBUS_ERROR_MATCH_RULE_NOT_FOUND)
 DBUSCXX_ERROR (ErrorMatchRuleInvalid, DBUS_ERROR_MATCH_RULE_INVALID)
 DBUSCXX_ERROR (ErrorSpawnExecFailed, DBUS_ERROR_SPAWN_EXEC_FAILED)
 DBUSCXX_ERROR (ErrorSpawnForkFailed, DBUS_ERROR_SPAWN_FORK_FAILED)
 DBUSCXX_ERROR (ErrorSpawnChildExited, DBUS_ERROR_SPAWN_CHILD_EXITED)
 DBUSCXX_ERROR (ErrorSpawnChildSignaled, DBUS_ERROR_SPAWN_CHILD_SIGNALED)
 DBUSCXX_ERROR (ErrorSpawnFailed, DBUS_ERROR_SPAWN_FAILED)
 DBUSCXX_ERROR (ErrorUnixProcessIdUnknown, DBUS_ERROR_UNIX_PROCESS_ID_UNKNOWN)
 DBUSCXX_ERROR (ErrorInvalidSignature, DBUS_ERROR_INVALID_SIGNATURE)
 DBUSCXX_ERROR (ErrorInvalidFileContent, DBUS_ERROR_INVALID_FILE_CONTENT)
 DBUSCXX_ERROR (ErrorSELinuxSecurityContextUnknown, DBUS_ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN)
 DBUSCXX_ERROR (ErrorInvalidCObject,"Invalid C Object")
 DBUSCXX_ERROR (ErrorInvalidTypecast,"Invalid Typecast")
 DBUSCXX_ERROR (ErrorInvalidConnection,"DBus connection is invalid")
 DBUSCXX_ERROR (ErrorInvalidMessageType,"DBus message type does not match the C++ Message object type")
 DBUSCXX_ERROR (ErrorNoConnection,"No connection specified and operation requires a DBus connection")
 DBUSCXX_ERROR (ErrorDeadlock,"Locking a mutex a dbus-cxx thread already owns")
 DBUSCXX_ERROR (ErrorNotOwner,"Unlocking a mutex a dbus-cxx thread doesn't own")
 DBUSCXX_ERROR (ErrorNotInitialized,"DBus::init(bool threadsafe=true) not called")
 DBUSCXX_ERROR (ErrorInvalidAdaptee,"DBus adapter method called, but adaptee is invalid")
void errmsg_wp_deleter (void *v)
void wp_deleter (void *v)
void retmsg_wp_deleter (void *v)
void sigmsg_wp_deleter (void *v)
std::string signature (uint8_t)
std::string signature (bool)
std::string signature (int16_t)
std::string signature (uint16_t)
std::string signature (int32_t)
std::string signature (uint32_t)
std::string signature (int64_t)
std::string signature (uint64_t)
std::string signature (double)
std::string signature (std::string)
std::string signature (Signature)
std::string signature (Path)
template<class T >
std::string signature (Variant< T >)
std::string signature (char)
std::string signature (int8_t)
std::string signature (float)
template<typename T >
std::string signature (const std::vector< T > &)
template<typename Key , typename Data >
std::string signature (const std::map< Key, Data > &)
template<typename Key , typename Data >
std::string signature_dict_data (const std::map< Key, Data > &)
Type type (uint8_t)
Type type (bool)
Type type (int16_t)
Type type (uint16_t)
Type type (int32_t)
Type type (uint32_t)
Type type (int64_t)
Type type (uint64_t)
Type type (double)
Type type (const std::string &)
Type type (const char *)
Type type (Path)
Type type (Signature)
template<class T >
Type type (Variant< T >)
Type type (char)
Type type (int8_t)
Type type (float)
template<typename T >
Type type (const std::vector< T > &)
std::string type_string (uint8_t)
std::string type_string (int8_t)
std::string type_string (bool)
std::string type_string (int16_t)
std::string type_string (uint16_t)
std::string type_string (int32_t)
std::string type_string (uint32_t)
std::string type_string (int64_t)
std::string type_string (uint64_t)
std::string type_string (double)
std::string type_string (float)
std::string type_string (std::string)
std::string type_string (Path)
std::string type_string (Signature)
template<class T >
std::string type_string (Variant< T >)
template<class T >
std::string type_string (std::vector< T >)
std::string type_string_from_code (DBus::Type t)
Type checked_type_cast (int n)
void init (bool threadsafe=true)
 Initializes the dbus-cxx library.
bool initialized ()
 Get the initialization state of the dbus-cxx library.

Variables

const Signature::size_type npos = std::string::npos
pthread_mutex_t init_mutex = PTHREAD_MUTEX_INITIALIZER
 mutex to lock when initializing
bool initialized_var = false

Typedef Documentation

typedef sigc::signal<FilterResult,DBusCxxPointer<Connection>,Message::pointer>::accumulated<FilterAccumulator> DBus::FilterSignal
typedef sigc::nil DBus::nil
typedef enum DBus::Type DBus::Type

Enumeration Type Documentation

Enumerator:
BUS_NONE 
BUS_SESSION 

The login session bus.

BUS_SYSTEM 

The systemwide bus.

BUS_STARTER 

The bus that started us, if any.

Enumerator:
CONTAINER_ARRAY 
CONTAINER_VARIANT 
CONTAINER_STRUCT 
CONTAINER_DICT_ENTRY 
Enumerator:
CREATE_ALIAS 
CREATE_COPY 
Enumerator:
DISPATCH_DATA_REMAINS 
DISPATCH_COMPLETE 
DISPATCH_NEED_MEMORY 
Enumerator:
FILTER 
DONT_FILTER 
FILTER_NEEDS_MEMORY 
Enumerator:
HANDLED 
NOT_HANDLED 
HANDLER_NEEDS_MEMORY 
Enumerator:
INVALID_MESSAGE 
CALL_MESSAGE 
RETURN_MESSAGE 
ERROR_MESSAGE 
SIGNAL_MESSAGE 
Enumerator:
PRIMARY 
FALLBACK 
Enumerator:
START_REPLY_FAILED 
START_REPLY_SUCCESS 
START_REPLY_ALREADY_RUNNING 
enum DBus::Type
Enumerator:
TYPE_INVALID 
TYPE_BYTE 
TYPE_BOOLEAN 
TYPE_INT16 
TYPE_UINT16 
TYPE_INT32 
TYPE_UINT32 
TYPE_INT64 
TYPE_UINT64 
TYPE_DOUBLE 
TYPE_STRING 
TYPE_OBJECT_PATH 
TYPE_SIGNATURE 
TYPE_ARRAY 
TYPE_VARIANT 
TYPE_STRUCT 
TYPE_DICT_ENTRY 
Enumerator:
WATCH_READABLE 
WATCH_WRITABLE 
WATCH_ERROR 
WATCH_HANGUP 

Function Documentation

void DBus::callmsg_wp_deleter ( void *  v)
Type DBus::checked_type_cast ( int  n)
inline
void DBus::conn_wp_deleter ( void *  v)
DBus::DBUSCXX_ERROR ( ErrorFailed  ,
DBUS_ERROR_FAILED   
)
DBus::DBUSCXX_ERROR ( ErrorNoMemory  ,
DBUS_ERROR_NO_MEMORY   
)
DBus::DBUSCXX_ERROR ( ErrorServiceUnknown  ,
DBUS_ERROR_SERVICE_UNKNOWN   
)
DBus::DBUSCXX_ERROR ( ErrorNameHasNoOwner  ,
DBUS_ERROR_NAME_HAS_NO_OWNER   
)
DBus::DBUSCXX_ERROR ( ErrorNoReply  ,
DBUS_ERROR_NO_REPLY   
)
DBus::DBUSCXX_ERROR ( ErrorIOError  ,
DBUS_ERROR_IO_ERROR   
)
DBus::DBUSCXX_ERROR ( ErrorBadAddress  ,
DBUS_ERROR_BAD_ADDRESS   
)
DBus::DBUSCXX_ERROR ( ErrorNotSupported  ,
DBUS_ERROR_NOT_SUPPORTED   
)
DBus::DBUSCXX_ERROR ( ErrorLimitsExceeded  ,
DBUS_ERROR_LIMITS_EXCEEDED   
)
DBus::DBUSCXX_ERROR ( ErrorAccessDenied  ,
DBUS_ERROR_ACCESS_DENIED   
)
DBus::DBUSCXX_ERROR ( ErrorAuthFailed  ,
DBUS_ERROR_AUTH_FAILED   
)
DBus::DBUSCXX_ERROR ( ErrorNoServer  ,
DBUS_ERROR_NO_SERVER   
)
DBus::DBUSCXX_ERROR ( ErrorTimeout  ,
DBUS_ERROR_TIMEOUT   
)
DBus::DBUSCXX_ERROR ( ErrorNoNetwork  ,
DBUS_ERROR_NO_NETWORK   
)
DBus::DBUSCXX_ERROR ( ErrorAddressInUse  ,
DBUS_ERROR_ADDRESS_IN_USE   
)
DBus::DBUSCXX_ERROR ( ErrorDisconnected  ,
DBUS_ERROR_DISCONNECTED   
)
DBus::DBUSCXX_ERROR ( ErrorInvalidArgs  ,
DBUS_ERROR_INVALID_ARGS   
)
DBus::DBUSCXX_ERROR ( ErrorFileNotFound  ,
DBUS_ERROR_FILE_NOT_FOUND   
)
DBus::DBUSCXX_ERROR ( ErrorFileExists  ,
DBUS_ERROR_FILE_EXISTS   
)
DBus::DBUSCXX_ERROR ( ErrorUnknownMethod  ,
DBUS_ERROR_UNKNOWN_METHOD   
)
DBus::DBUSCXX_ERROR ( ErrorTimedOut  ,
DBUS_ERROR_TIMED_OUT   
)
DBus::DBUSCXX_ERROR ( ErrorMatchRuleNotFound  ,
DBUS_ERROR_MATCH_RULE_NOT_FOUND   
)
DBus::DBUSCXX_ERROR ( ErrorMatchRuleInvalid  ,
DBUS_ERROR_MATCH_RULE_INVALID   
)
DBus::DBUSCXX_ERROR ( ErrorSpawnExecFailed  ,
DBUS_ERROR_SPAWN_EXEC_FAILED   
)
DBus::DBUSCXX_ERROR ( ErrorSpawnForkFailed  ,
DBUS_ERROR_SPAWN_FORK_FAILED   
)
DBus::DBUSCXX_ERROR ( ErrorSpawnChildExited  ,
DBUS_ERROR_SPAWN_CHILD_EXITED   
)
DBus::DBUSCXX_ERROR ( ErrorSpawnChildSignaled  ,
DBUS_ERROR_SPAWN_CHILD_SIGNALED   
)
DBus::DBUSCXX_ERROR ( ErrorSpawnFailed  ,
DBUS_ERROR_SPAWN_FAILED   
)
DBus::DBUSCXX_ERROR ( ErrorUnixProcessIdUnknown  ,
DBUS_ERROR_UNIX_PROCESS_ID_UNKNOWN   
)
DBus::DBUSCXX_ERROR ( ErrorInvalidSignature  ,
DBUS_ERROR_INVALID_SIGNATURE   
)
DBus::DBUSCXX_ERROR ( ErrorInvalidFileContent  ,
DBUS_ERROR_INVALID_FILE_CONTENT   
)
DBus::DBUSCXX_ERROR ( ErrorSELinuxSecurityContextUnknown  ,
DBUS_ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN   
)
DBus::DBUSCXX_ERROR ( ErrorInvalidCObject  ,
"Invalid C Object"   
)
DBus::DBUSCXX_ERROR ( ErrorInvalidTypecast  ,
"Invalid Typecast"   
)
DBus::DBUSCXX_ERROR ( ErrorInvalidConnection  ,
"DBus connection is invalid"   
)
DBus::DBUSCXX_ERROR ( ErrorInvalidMessageType  ,
"DBus message type does not match the C++ Message object type"   
)
DBus::DBUSCXX_ERROR ( ErrorNoConnection  ,
"No connection specified and operation requires a DBus connection"   
)
DBus::DBUSCXX_ERROR ( ErrorDeadlock  ,
"Locking a mutex a dbus-cxx thread already owns"   
)
DBus::DBUSCXX_ERROR ( ErrorNotOwner  ,
"Unlocking a mutex a dbus-cxx thread doesn't own"   
)
DBus::DBUSCXX_ERROR ( ErrorNotInitialized  ,
"DBus::init(bool threadsafe=true) not called"   
)
DBus::DBUSCXX_ERROR ( ErrorInvalidAdaptee  ,
"DBus adapter method  called,
but adaptee is invalid"   
)
template<typename T >
void DBus::deleter ( void *  p)
void DBus::errmsg_wp_deleter ( void *  v)
void DBus::init ( bool  threadsafe = true)

Initializes the dbus-cxx library.

Parameters
threadsafeIf true the library's threadsafe structures, along with the underlying dbus library will be initialized to support threadsafe operations. This makes the library threadsafe at the cost of efficiency.
Examples:
calculator_client.cpp, calculator_server.cpp, calculator_watcher.cpp, callee.cpp, callee_2.cpp, callee_dispatched.cpp, callee_object.cpp, callee_object_inherited.cpp, callee_raw.cpp, caller_dispatched.cpp, caller_object.cpp, caller_raw.cpp, signal_emitter.cpp, signal_emitter_2.cpp, signal_emitter_3.cpp, signal_emitter_object.cpp, signal_emitter_raw.cpp, signal_receiver.cpp, signal_receiver_2.cpp, signal_receiver_object.cpp, and signal_receiver_raw.cpp.

References DBUS_CXX_DEBUG, init_mutex, initialized_var, and DBus::Connection::m_weak_pointer_slot.

bool DBus::initialized ( )

Get the initialization state of the dbus-cxx library.

Returns
true if the library is initialized, false otherwise

References initialized_var.

void DBus::retmsg_wp_deleter ( void *  v)
void DBus::sigmsg_wp_deleter ( void *  v)
std::string DBus::signature ( uint8_t  )
inline

Referenced by DBus::MessageAppendIterator::append(), DBus::Method< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::introspect(), DBus::Method< T_return, nil, nil, nil, nil, nil, nil, nil >::introspect(), DBus::signal< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::introspect(), DBus::Method< T_return, T_arg1, nil, nil, nil, nil, nil, nil >::introspect(), DBus::Method< T_return, T_arg1, T_arg2, nil, nil, nil, nil, nil >::introspect(), DBus::Method< T_return, T_arg1, T_arg2, T_arg3, nil, nil, nil, nil >::introspect(), DBus::Method< T_return, T_arg1, T_arg2, T_arg3, T_arg4, nil, nil, nil >::introspect(), DBus::Method< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, nil, nil >::introspect(), DBus::Method< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, nil >::introspect(), DBus::signal< T_return, T_arg1, nil, nil, nil, nil, nil, nil >::introspect(), DBus::signal< T_return, T_arg1, T_arg2, nil, nil, nil, nil, nil >::introspect(), DBus::Method< void, T_arg1, nil, nil, nil, nil, nil, nil >::introspect(), DBus::signal< T_return, T_arg1, T_arg2, T_arg3, nil, nil, nil, nil >::introspect(), DBus::Method< void, T_arg1, T_arg2, nil, nil, nil, nil, nil >::introspect(), DBus::Method< void, T_arg1, T_arg2, T_arg3, nil, nil, nil, nil >::introspect(), DBus::signal< T_return, T_arg1, T_arg2, T_arg3, T_arg4, nil, nil, nil >::introspect(), DBus::Method< void, T_arg1, T_arg2, T_arg3, T_arg4, nil, nil, nil >::introspect(), DBus::Method< void, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, nil, nil >::introspect(), DBus::signal< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, nil, nil >::introspect(), DBus::Method< void, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, nil >::introspect(), DBus::Method< void, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::introspect(), DBus::signal< T_return, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, nil >::introspect(), signature(), and signature_dict_data().

std::string DBus::signature ( bool  )
inline
std::string DBus::signature ( int16_t  )
inline
std::string DBus::signature ( uint16_t  )
inline
std::string DBus::signature ( int32_t  )
inline
std::string DBus::signature ( uint32_t  )
inline
std::string DBus::signature ( int64_t  )
inline
std::string DBus::signature ( uint64_t  )
inline
std::string DBus::signature ( double  )
inline
std::string DBus::signature ( std::string  )
inline
std::string DBus::signature ( Signature  )
inline
std::string DBus::signature ( Path  )
inline
template<class T >
std::string DBus::signature ( Variant< T >  )
inline
std::string DBus::signature ( char  )
inline
std::string DBus::signature ( int8_t  )
inline
std::string DBus::signature ( float  )
inline
template<typename T >
std::string DBus::signature ( const std::vector< T > &  )
inline

References signature().

template<typename Key , typename Data >
std::string DBus::signature ( const std::map< Key, Data > &  )
inline

References signature().

template<typename Key , typename Data >
std::string DBus::signature_dict_data ( const std::map< Key, Data > &  )
inline
Type DBus::type ( uint8_t  )
inline
Type DBus::type ( bool  )
inline

References TYPE_BOOLEAN.

Type DBus::type ( int16_t  )
inline

References TYPE_INT16.

Type DBus::type ( uint16_t  )
inline

References TYPE_UINT16.

Type DBus::type ( int32_t  )
inline

References TYPE_INT32.

Type DBus::type ( uint32_t  )
inline

References TYPE_UINT32.

Type DBus::type ( int64_t  )
inline

References TYPE_INT64.

Type DBus::type ( uint64_t  )
inline

References TYPE_UINT64.

Type DBus::type ( double  )
inline

References TYPE_DOUBLE.

Type DBus::type ( const std::string &  )
inline

References TYPE_STRING.

Type DBus::type ( const char *  )
inline

References TYPE_STRING.

Type DBus::type ( Path  )
inline

References TYPE_OBJECT_PATH.

Type DBus::type ( Signature  )
inline

References TYPE_SIGNATURE.

template<class T >
Type DBus::type ( Variant< T >  )
inline

References TYPE_VARIANT.

Type DBus::type ( char  )
inline

References TYPE_BYTE.

Type DBus::type ( int8_t  )
inline

References TYPE_BYTE.

Type DBus::type ( float  )
inline

References TYPE_DOUBLE.

template<typename T >
Type DBus::type ( const std::vector< T > &  )
inline

References TYPE_ARRAY.

std::string DBus::type_string ( uint8_t  )
inline
std::string DBus::type_string ( int8_t  )
inline
std::string DBus::type_string ( bool  )
inline
std::string DBus::type_string ( int16_t  )
inline
std::string DBus::type_string ( uint16_t  )
inline
std::string DBus::type_string ( int32_t  )
inline
std::string DBus::type_string ( uint32_t  )
inline
std::string DBus::type_string ( int64_t  )
inline
std::string DBus::type_string ( uint64_t  )
inline
std::string DBus::type_string ( double  )
inline
std::string DBus::type_string ( float  )
inline
std::string DBus::type_string ( std::string  )
inline
std::string DBus::type_string ( Path  )
inline
std::string DBus::type_string ( Signature  )
inline
template<class T >
std::string DBus::type_string ( Variant< T >  )
inline
template<class T >
std::string DBus::type_string ( std::vector< T >  )
inline
std::string DBus::type_string_from_code ( DBus::Type  t)
inline
void DBus::wp_deleter ( void *  v)

Variable Documentation

pthread_mutex_t DBus::init_mutex = PTHREAD_MUTEX_INITIALIZER

mutex to lock when initializing

Referenced by init().

bool DBus::initialized_var = false

Referenced by init(), and initialized().

const Signature::size_type DBus::npos = std::string::npos

Generated on Sat Sep 21 2013 17:22:40 for dbus-cxx by doxygen 1.8.1.2