sdbus-c++ 2.0.0
High-level C++ D-Bus library based on systemd D-Bus implementation
Loading...
Searching...
No Matches
sdbus::MethodCall Class Reference
Inheritance diagram for sdbus::MethodCall:
sdbus::Message

Public Member Functions

MethodReply send (uint64_t timeout) const
 
Slot send (void *callback, void *userData, uint64_t timeout, return_slot_t) const
 
MethodReply createReply () const
 
MethodReply createErrorReply (const sdbus::Error &error) const
 
void dontExpectReply ()
 
bool doesntExpectReply () const
 
- Public Member Functions inherited from sdbus::Message
 Message (const Message &) noexcept
 
Messageoperator= (const Message &) noexcept
 
 Message (Message &&other) noexcept
 
Messageoperator= (Message &&other) noexcept
 
Messageoperator<< (bool item)
 
Messageoperator<< (int16_t item)
 
Messageoperator<< (int32_t item)
 
Messageoperator<< (int64_t item)
 
Messageoperator<< (uint8_t item)
 
Messageoperator<< (uint16_t item)
 
Messageoperator<< (uint32_t item)
 
Messageoperator<< (uint64_t item)
 
Messageoperator<< (double item)
 
Messageoperator<< (const char *item)
 
Messageoperator<< (const std::string &item)
 
Messageoperator<< (std::string_view item)
 
Messageoperator<< (const Variant &item)
 
template<typename ... Elements>
Messageoperator<< (const std::variant< Elements... > &value)
 
Messageoperator<< (const ObjectPath &item)
 
Messageoperator<< (const Signature &item)
 
Messageoperator<< (const UnixFd &item)
 
template<typename _Element , typename _Allocator >
Messageoperator<< (const std::vector< _Element, _Allocator > &items)
 
template<typename _Element , std::size_t _Size>
Messageoperator<< (const std::array< _Element, _Size > &items)
 
template<typename _Enum , typename = std::enable_if_t<std::is_enum_v<_Enum>>>
Messageoperator<< (const _Enum &item)
 
template<typename _Key , typename _Value , typename _Compare , typename _Allocator >
Messageoperator<< (const std::map< _Key, _Value, _Compare, _Allocator > &items)
 
template<typename _Key , typename _Value , typename _Hash , typename _KeyEqual , typename _Allocator >
Messageoperator<< (const std::unordered_map< _Key, _Value, _Hash, _KeyEqual, _Allocator > &items)
 
template<typename... _ValueTypes>
Messageoperator<< (const Struct< _ValueTypes... > &item)
 
template<typename... _ValueTypes>
Messageoperator<< (const std::tuple< _ValueTypes... > &item)
 
Messageoperator>> (bool &item)
 
Messageoperator>> (int16_t &item)
 
Messageoperator>> (int32_t &item)
 
Messageoperator>> (int64_t &item)
 
Messageoperator>> (uint8_t &item)
 
Messageoperator>> (uint16_t &item)
 
Messageoperator>> (uint32_t &item)
 
Messageoperator>> (uint64_t &item)
 
Messageoperator>> (double &item)
 
Messageoperator>> (char *&item)
 
Messageoperator>> (std::string &item)
 
Messageoperator>> (Variant &item)
 
template<typename ... Elements>
Messageoperator>> (std::variant< Elements... > &value)
 
Messageoperator>> (ObjectPath &item)
 
Messageoperator>> (Signature &item)
 
Messageoperator>> (UnixFd &item)
 
template<typename _Element , typename _Allocator >
Messageoperator>> (std::vector< _Element, _Allocator > &items)
 
template<typename _Element , std::size_t _Size>
Messageoperator>> (std::array< _Element, _Size > &items)
 
template<typename _Enum , typename = std::enable_if_t<std::is_enum_v<_Enum>>>
Messageoperator>> (_Enum &item)
 
template<typename _Key , typename _Value , typename _Compare , typename _Allocator >
Messageoperator>> (std::map< _Key, _Value, _Compare, _Allocator > &items)
 
template<typename _Key , typename _Value , typename _Hash , typename _KeyEqual , typename _Allocator >
Messageoperator>> (std::unordered_map< _Key, _Value, _Hash, _KeyEqual, _Allocator > &items)
 
template<typename... _ValueTypes>
Messageoperator>> (Struct< _ValueTypes... > &item)
 
template<typename... _ValueTypes>
Messageoperator>> (std::tuple< _ValueTypes... > &item)
 
template<typename _ElementType >
MessageopenContainer ()
 
MessageopenContainer (const char *signature)
 
MessagecloseContainer ()
 
template<typename _KeyType , typename _ValueType >
MessageopenDictEntry ()
 
MessageopenDictEntry (const char *signature)
 
MessagecloseDictEntry ()
 
template<typename _ValueType >
MessageopenVariant ()
 
MessageopenVariant (const char *signature)
 
MessagecloseVariant ()
 
template<typename... _ValueTypes>
MessageopenStruct ()
 
MessageopenStruct (const char *signature)
 
MessagecloseStruct ()
 
template<typename _ElementType >
MessageenterContainer ()
 
MessageenterContainer (const char *signature)
 
MessageexitContainer ()
 
template<typename _KeyType , typename _ValueType >
MessageenterDictEntry ()
 
MessageenterDictEntry (const char *signature)
 
MessageexitDictEntry ()
 
template<typename _ValueType >
MessageenterVariant ()
 
MessageenterVariant (const char *signature)
 
MessageexitVariant ()
 
template<typename... _ValueTypes>
MessageenterStruct ()
 
MessageenterStruct (const char *signature)
 
MessageexitStruct ()
 
MessageappendArray (char type, const void *ptr, size_t size)
 
MessagereadArray (char type, const void **ptr, size_t *size)
 
 operator bool () const
 
void clearFlags ()
 
const char * getInterfaceName () const
 
const char * getMemberName () const
 
const char * getSender () const
 
const char * getPath () const
 
const char * getDestination () const
 
std::pair< char, const char * > peekType () const
 
bool isValid () const
 
bool isEmpty () const
 
bool isAtEnd (bool complete) const
 
void copyTo (Message &destination, bool complete) const
 
void seal ()
 
void rewind (bool complete)
 
pid_t getCredsPid () const
 
uid_t getCredsUid () const
 
uid_t getCredsEuid () const
 
gid_t getCredsGid () const
 
gid_t getCredsEgid () const
 
std::vector< gid_t > getCredsSupplementaryGids () const
 
std::string getSELinuxContext () const
 

Protected Member Functions

 MethodCall (void *msg, internal::ISdBus *sdbus, adopt_message_t) noexcept
 
- Protected Member Functions inherited from sdbus::Message
 Message (internal::ISdBus *sdbus) noexcept
 
 Message (void *msg, internal::ISdBus *sdbus) noexcept
 
 Message (void *msg, internal::ISdBus *sdbus, adopt_message_t) noexcept
 

Additional Inherited Members

- Protected Attributes inherited from sdbus::Message
friend Factory
 
void * msg_ {}
 
internal::ISdBus * sdbus_ {}
 
bool ok_ {true}
 

The documentation for this class was generated from the following file: