|
enum class | BusType { NONE = -1
, SESSION
, SYSTEM
, STARTER
} |
|
enum class | PropertyUpdateType { Updates
, Invalidates
, Const
, DoesNotUpdate
} |
|
enum class | PropertyAccess { ReadOnly
, WriteOnly
, ReadWrite
} |
|
enum class | DataType {
INVALID = '\0'
, BYTE = 'y'
, BOOLEAN = 'b'
, INT16 = 'n'
,
UINT16 = 'q'
, INT32 = 'i'
, UINT32 = 'u'
, INT64 = 'x'
,
UINT64 = 't'
, DOUBLE = 'd'
, STRING = 's'
, OBJECT_PATH = 'o'
,
SIGNATURE = 'g'
, ARRAY = 'a'
, VARIANT = 'v'
, STRUCT = 'r'
,
DICT_ENTRY = 'e'
, UNIX_FD = 'h'
} |
|
enum class | ContainerType {
None
, ARRAY = 'a'
, VARIANT = 'v'
, STRUCT = 'r'
,
DICT_ENTRY = 'e'
} |
|
enum class | MessageType : int32_t {
INVALID = 0
, CALL = 1
, RETURN = 2
, ERROR = 3
,
SIGNAL = 4
} |
|
enum class | DispatchStatus { DATA_REMAINS
, COMPLETE
, NEED_MEMORY
} |
|
enum class | HandlerResult {
Handled
, Invalid_Interface
, Invalid_Method
, Invalid_Path
,
Not_Handled
} |
|
enum class | StartReply { FAILED = 0
, SUCCESS
, ALREADY_RUNNING
} |
|
enum class | Endianess { Little
, Big
} |
|
enum class | RegistrationStatus { Success
, Failed_Path_in_Use
, Failed_Invalid_Object
, Failed_No_Thread_Dispatcher
} |
|
enum class | ThreadForCalling { DispatcherThread
, CurrentThread
} |
| Gives hints to the connection as to which thread should be the one to call the methods on the given object. More...
|
|
enum class | MessageHeaderFields {
Invalid = 0
, Path = 1
, Interface = 2
, Member = 3
,
Error_Name = 4
, Reply_Serial = 5
, Destination = 6
, Sender = 7
,
Signature = 8
, Unix_FDs = 9
} |
|
enum class | RequestNameResponse { PrimaryOwner
, NameInQueue
, NameExists
, AlreadyOwner
} |
| Response status to attempting to register a name on the bus. More...
|
|
enum class | ReleaseNameResponse { NameReleased
, NameNonExistant
, NotOwner
} |
|
|
std::shared_ptr< DBus::Connection > | operator<< (std::shared_ptr< DBus::Connection > ptr, std::shared_ptr< DBus::Message > msg) |
|
std::shared_ptr< DBus::Connection > | operator<< (std::shared_ptr< DBus::Connection > ptr, std::shared_ptr< DBus::ReturnMessage > msg) |
|
std::shared_ptr< DBus::Connection > | operator<< (std::shared_ptr< DBus::Connection > ptr, std::shared_ptr< DBus::SignalMessage > msg) |
|
std::shared_ptr< DBus::Connection > | operator<< (std::shared_ptr< DBus::Connection > ptr, std::shared_ptr< DBus::ErrorMessage > msg) |
|
template<typename T > |
std::string | demangle () |
| demangle the given type. More...
|
|
uint8_t | header_field_to_int (MessageHeaderFields header) |
|
MessageHeaderFields | int_to_header_field (uint8_t val) |
|
std::ostream & | operator<< (std::ostream &os, Endianess endian) |
|
std::ostream & | operator<< (std::ostream &os, MessageType type) |
|
std::ostream & | operator<< (std::ostream &os, DispatchStatus status) |
|
std::ostream & | operator<< (std::ostream &os, HandlerResult res) |
|
| DBUSCXX_ERROR (ErrorFailed, DBUSCXX_ERROR_FAILED) |
|
| DBUSCXX_ERROR (ErrorNoMemory, DBUSCXX_ERROR_NO_MEMORY) |
|
| DBUSCXX_ERROR (ErrorServiceUnknown, DBUSCXX_ERROR_SERVICE_UNKNOWN) |
|
| DBUSCXX_ERROR (ErrorNameHasNoOwner, DBUSCXX_ERROR_NAME_HAS_NO_OWNER) |
|
| DBUSCXX_ERROR (ErrorNoReply, DBUSCXX_ERROR_NO_REPLY) |
|
| DBUSCXX_ERROR (ErrorIOError, DBUSCXX_ERROR_IO_ERROR) |
|
| DBUSCXX_ERROR (ErrorBadAddress, DBUSCXX_ERROR_BAD_ADDRESS) |
|
| DBUSCXX_ERROR (ErrorNotSupported, DBUSCXX_ERROR_NOT_SUPPORTED) |
|
| DBUSCXX_ERROR (ErrorLimitsExceeded, DBUSCXX_ERROR_LIMITS_EXCEEDED) |
|
| DBUSCXX_ERROR (ErrorAccessDenied, DBUSCXX_ERROR_ACCESS_DENIED) |
|
| DBUSCXX_ERROR (ErrorAuthFailed, DBUSCXX_ERROR_AUTH_FAILED) |
|
| DBUSCXX_ERROR (ErrorNoServer, DBUSCXX_ERROR_NO_SERVER) |
|
| DBUSCXX_ERROR (ErrorTimeout, DBUSCXX_ERROR_TIMEOUT) |
|
| DBUSCXX_ERROR (ErrorNoNetwork, DBUSCXX_ERROR_NO_NETWORK) |
|
| DBUSCXX_ERROR (ErrorAddressInUse, DBUSCXX_ERROR_ADDRESS_IN_USE) |
|
| DBUSCXX_ERROR (ErrorDisconnected, DBUSCXX_ERROR_DISCONNECTED) |
|
| DBUSCXX_ERROR (ErrorInvalidArgs, DBUSCXX_ERROR_INVALID_ARGS) |
|
| DBUSCXX_ERROR (ErrorFileNotFound, DBUSCXX_ERROR_FILE_NOT_FOUND) |
|
| DBUSCXX_ERROR (ErrorFileExists, DBUSCXX_ERROR_FILE_EXISTS) |
|
| DBUSCXX_ERROR (ErrorUnknownMethod, DBUSCXX_ERROR_UNKNOWN_METHOD) |
|
| DBUSCXX_ERROR (ErrorUnknownObject, DBUSCXX_ERROR_UNKNOWN_OBJECT) |
|
| DBUSCXX_ERROR (ErrorUnknownInterface, DBUSCXX_ERROR_UNKNOWN_INTERFACE) |
|
| DBUSCXX_ERROR (ErrorUnknownProperty, DBUSCXX_ERROR_UNKNOWN_PROPERTY) |
|
| DBUSCXX_ERROR (ErrorPropertyReadOnly, DBUSCXX_ERROR_PROPERTY_READ_ONLY) |
|
| DBUSCXX_ERROR (ErrorTimedOut, DBUSCXX_ERROR_TIMED_OUT) |
|
| DBUSCXX_ERROR (ErrorMatchRuleNotFound, DBUSCXX_ERROR_MATCH_RULE_NOT_FOUND) |
|
| DBUSCXX_ERROR (ErrorMatchRuleInvalid, DBUSCXX_ERROR_MATCH_RULE_INVALID) |
|
| DBUSCXX_ERROR (ErrorSpawnExecFailed, DBUSCXX_ERROR_SPAWN_EXEC_FAILED) |
|
| DBUSCXX_ERROR (ErrorSpawnForkFailed, DBUSCXX_ERROR_SPAWN_FORK_FAILED) |
|
| DBUSCXX_ERROR (ErrorSpawnChildExited, DBUSCXX_ERROR_SPAWN_CHILD_EXITED) |
|
| DBUSCXX_ERROR (ErrorSpawnChildSignaled, DBUSCXX_ERROR_SPAWN_CHILD_SIGNALED) |
|
| DBUSCXX_ERROR (ErrorSpawnFailed, DBUSCXX_ERROR_SPAWN_FAILED) |
|
| DBUSCXX_ERROR (ErrorUnixProcessIdUnknown, DBUSCXX_ERROR_UNIX_PROCESS_ID_UNKNOWN) |
|
| DBUSCXX_ERROR (ErrorInvalidSignature, DBUSCXX_ERROR_INVALID_SIGNATURE) |
|
| DBUSCXX_ERROR (ErrorInvalidFileContent, DBUSCXX_ERROR_INVALID_FILE_CONTENT) |
|
| DBUSCXX_ERROR (ErrorSELinuxSecurityContextUnknown, DBUSCXX_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") |
|
| DBUSCXX_ERROR (ErrorDispatcherInitFailed, "DBus::Dispatcher initialization failed") |
|
| DBUSCXX_ERROR (ErrorInvalidSharedPtr, "shared_ptr was invalid") |
|
| DBUSCXX_ERROR (ErrorPollFailed, "poll() syscall failed") |
|
| DBUSCXX_ERROR (ErrorInvalidReturn, "dbuscxx.Error.InvalidReturnValue") |
| This error may be thrown if there is an invalid return value from a DBus function that should never have an invalid return value. More...
|
|
| DBUSCXX_ERROR (ErrorUnexpectedResponse, "dbuscxx.Error.UnexpectedResponse") |
| This error may be thrown if we receive an unexpected response. More...
|
|
std::ostream & | operator<< (std::ostream &os, const DBus::Message *msg) |
|
template<typename T > |
DBus::MessageIterator | operator>> (std::shared_ptr< const DBus::Message > ptr, T &value) |
|
template<typename T > |
DBus::MessageAppendIterator | operator<< (std::shared_ptr< DBus::Message > ptr, const T &value) |
|
template<typename... T> |
std::string | signature (const std::tuple< T... > &) |
|
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) |
|
std::string | signature (const DBus::Variant &) |
|
std::string | signature (const std::shared_ptr< FileDescriptor >) |
|
template<typename... T> |
std::string | signature (const DBus::MultipleReturn< T... > &) |
|
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 > &) |
|
template<typename... T_arg> |
std::string | signature_multiple_return_data (const DBus::MultipleReturn< T_arg... > &) |
|
template<typename... T_arg> |
std::string | signature (const std::tuple< T_arg... > &) |
|
std::ostream & | operator<< (std::ostream &sout, const DBus::Signature &sig) |
|
std::ostream & | operator<< (std::ostream &os, DataType d) |
|
int | typeToDBusType (DataType t) |
|
int | typeToDBusContainerType (ContainerType t) |
|
DataType | char_to_dbus_type (char c) |
|
ContainerType | char_to_container_type (char c) |
|
bool | is_ending_container (char c) |
|
ContainerType | char_to_ending_container (char c) |
|
DataType | type (const uint8_t &) |
|
DataType | type (const bool &) |
|
DataType | type (const int16_t &) |
|
DataType | type (const uint16_t &) |
|
DataType | type (const int32_t &) |
|
DataType | type (const uint32_t &) |
|
DataType | type (const int64_t &) |
|
DataType | type (const uint64_t &) |
|
DataType | type (const double &) |
|
DataType | type (const std::string &) |
|
DataType | type (const char *) |
|
DataType | type (const Path &) |
|
DataType | type (const Signature &) |
|
template<typename... args> |
DataType | type (const DBus::Variant &) |
|
DataType | type (const FileDescriptor &) |
|
DataType | type (const char &) |
|
DataType | type (const int8_t &) |
|
DataType | type (const float &) |
|
template<typename T > |
DataType | type (const std::vector< T > &) |
|
template<typename ... T> |
DataType | type (const std::tuple< T... > &) |
|
DataType | checked_type_cast (int n) |
|
void | set_logging_function (simplelogger_log_function function) |
|
void | log_std_err (const char *logger_name, const struct SL_LogLocation *location, const enum SL_LogLevel level, const char *log_string) |
|
void | set_log_level (const enum SL_LogLevel level) |
|
void | hexdump (const std::vector< uint8_t > *vec, std::ostream *stream) |
| Print the vector as a hexdump output to the given output stream. More...
|
|
void | hexdump (const uint8_t *vec, const uint32_t len, std::ostream *stream) |
| Print the C array as a hexdump output to the given output stream. More...
|
|
void | set_default_endianess (DBus::Endianess endianess) |
| Set the default endianess that the library uses in order to send messages. More...
|
|
DBus::Endianess | default_endianess () |
|
void | set_logging_function (::simplelogger_log_function function) |
| Set the callback function that is used for printing log messages. More...
|
|
void | log_std_err (const char *logger_name, const struct ::SL_LogLocation *location, const enum ::SL_LogLevel level, const char *log_string) |
| Log messages to stderr(std::cerr). More...
|
|
void | set_log_level (const enum ::SL_LogLevel level) |
| When used in conjunction with DBus::logStdErr, will only print out log messages above the set level. More...
|
|
std::ostream & | operator<< (std::ostream &os, const Variant &var) |
|
Global DBus namespace, where everything happens.