enums.h File Reference
#include <cstdint>
#include <ostream>
Include dependency graph for enums.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 DBus
 Global DBus namespace, where everything happens.
 

Enumerations

enum class  DBus::BusType { DBus::NONE = -1 , DBus::SESSION , DBus::SYSTEM , DBus::STARTER }
 
enum class  DBus::PropertyUpdateType { DBus::Updates , DBus::Invalidates , DBus::Const , DBus::DoesNotUpdate }
 
enum class  DBus::PropertyAccess { DBus::ReadOnly , DBus::WriteOnly , DBus::ReadWrite }
 
enum class  DBus::DataType {
  DBus::INVALID = '\0' , DBus::BYTE = 'y' , DBus::BOOLEAN = 'b' , DBus::INT16 = 'n' ,
  DBus::UINT16 = 'q' , DBus::INT32 = 'i' , DBus::UINT32 = 'u' , DBus::INT64 = 'x' ,
  DBus::UINT64 = 't' , DBus::DOUBLE = 'd' , DBus::STRING = 's' , DBus::OBJECT_PATH = 'o' ,
  DBus::SIGNATURE = 'g' , DBus::ARRAY = 'a' , DBus::VARIANT = 'v' , DBus::STRUCT = 'r' ,
  DBus::DICT_ENTRY = 'e' , DBus::UNIX_FD = 'h'
}
 
enum class  DBus::ContainerType {
  DBus::None , DBus::ARRAY = 'a' , DBus::VARIANT = 'v' , DBus::STRUCT = 'r' ,
  DBus::DICT_ENTRY = 'e'
}
 
enum class  DBus::MessageType : int32_t {
  DBus::INVALID = 0 , DBus::CALL = 1 , DBus::RETURN = 2 , DBus::ERROR = 3 ,
  DBus::SIGNAL = 4
}
 
enum class  DBus::DispatchStatus { DBus::DATA_REMAINS , DBus::COMPLETE , DBus::NEED_MEMORY }
 
enum class  DBus::HandlerResult {
  DBus::Handled , DBus::Invalid_Interface , DBus::Invalid_Method , DBus::Invalid_Path ,
  DBus::Not_Handled
}
 
enum class  DBus::StartReply { DBus::FAILED = 0 , DBus::SUCCESS , DBus::ALREADY_RUNNING }
 
enum class  DBus::Endianess { DBus::Little , DBus::Big }
 
enum class  DBus::RegistrationStatus { DBus::Success , DBus::Failed_Path_in_Use , DBus::Failed_Invalid_Object , DBus::Failed_No_Thread_Dispatcher }
 
enum class  DBus::ThreadForCalling { DBus::DispatcherThread , DBus::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  DBus::MessageHeaderFields {
  DBus::Invalid = 0 , DBus::Path = 1 , DBus::Interface = 2 , DBus::Member = 3 ,
  DBus::Error_Name = 4 , DBus::Reply_Serial = 5 , DBus::Destination = 6 , DBus::Sender = 7 ,
  DBus::Signature = 8 , DBus::Unix_FDs = 9
}
 
enum class  DBus::RequestNameResponse { DBus::PrimaryOwner , DBus::NameInQueue , DBus::NameExists , DBus::AlreadyOwner }
 Response status to attempting to register a name on the bus. More...
 
enum class  DBus::ReleaseNameResponse { DBus::NameReleased , DBus::NameNonExistant , DBus::NotOwner }
 

Functions

uint8_t DBus::header_field_to_int (MessageHeaderFields header)
 
MessageHeaderFields DBus::int_to_header_field (uint8_t val)
 
std::ostream & DBus::operator<< (std::ostream &os, Endianess endian)
 
std::ostream & DBus::operator<< (std::ostream &os, MessageType type)
 
std::ostream & DBus::operator<< (std::ostream &os, DispatchStatus status)
 
std::ostream & DBus::operator<< (std::ostream &os, HandlerResult res)