|
int | add (int a, int b) |
|
int | add (int a, int b) |
|
int | add (int a, int b) |
|
virtual | ~Object () |
|
const Path & | path () const |
| Returns the path this handler is associated with. More...
|
|
std::weak_ptr< Connection > | connection () const |
| Returns the connection this handler is registered with. More...
|
|
bool | unregister () |
| Unregisters the handler. More...
|
|
sigc::signal< void(std::shared_ptr< Connection >) > & | signal_registered () |
| Emitted when this object is registered with a connection. More...
|
|
sigc::signal< void(std::shared_ptr< Connection >) > & | signal_unregistered () |
| Emitted when this object is unregistered from a connection. More...
|
|
void | set_connection (std::shared_ptr< Connection > conn) |
| Sets the connection that this object is on. More...
|
|
const Interfaces & | interfaces () const |
| Get all the interfaces associated with this Object instance. More...
|
|
std::shared_ptr< Interface > | interface_by_name (const std::string &name) const |
| Returns the interface with the given name. More...
|
|
bool | add_interface (std::shared_ptr< Interface > interface_by_name) |
| Adds the interface to this object. More...
|
|
std::shared_ptr< Interface > | create_interface (const std::string &name) |
| Creates and adds the named interface to this object. More...
|
|
template<typename T_type > |
std::shared_ptr< Method< T_type > > | create_method (const std::string &method_name, sigc::slot< T_type > slot) |
| Creates a method with a signature based on the. More...
|
|
template<typename T_type > |
std::shared_ptr< Method< T_type > > | create_method (const std::string &interface_name, const std::string &method_name, sigc::slot< T_type > slot) |
| Creates a method with a signature based on the. More...
|
|
template<typename T_type > |
std::shared_ptr< Property< T_type > > | create_property (const std::string &interface_name, const std::string &property_name, PropertyAccess access_type=PropertyAccess::ReadWrite, PropertyUpdateType update_type=PropertyUpdateType::Updates) |
|
void | remove_interface (const std::string &name) |
| Removes the interface found with the given name. More...
|
|
bool | has_interface (const std::string &name) |
| Test whether an Object has a named interface. More...
|
|
std::shared_ptr< Interface > | default_interface () const |
| Get the default interface associated with this object. More...
|
|
bool | set_default_interface (const std::string &new_default_name) |
| Set the default interface to a specific name. More...
|
|
bool | set_default_interface (std::shared_ptr< Interface > interface_by_name) |
| Set the default interface for handling calls to no interface. More...
|
|
void | remove_default_interface () |
| Removes the currently set (if any) default interface. More...
|
|
template<class... T_type> |
std::shared_ptr< Signal< T_type... > > | create_signal (const std::string &name) |
| Creates a signal with a return value (possibly void ) and a variable number of parameters and adds it to the default interface. More...
|
|
template<class... T_type> |
std::shared_ptr< Signal< T_type... > > | create_signal (const std::string &iface, const std::string &name) |
| Creates a signal with a return value (possibly void ) and a variable number of parameters and adds it to the named interface. More...
|
|
const Children & | children () const |
| Get the children associated with this object instance. More...
|
|
std::shared_ptr< Object > | child (const std::string &name) const |
| Get a named child of this object. More...
|
|
bool | add_child (const std::string &name, std::shared_ptr< Object > child, bool force=false) |
| Add an object as a child with a specified name This method will fail if the object already has a child with the specified name and force is not set. More...
|
|
bool | remove_child (const std::string &name) |
| Remove the named child from this object. More...
|
|
bool | has_child (const std::string &name) const |
| Test whether an object has a child with a specified name. More...
|
|
bool | has_child (std::shared_ptr< Object > child) const |
|
std::string | introspect (int space_depth=0) const |
| Returns a DBus XML description of this interface. More...
|
|
sigc::signal< void(std::shared_ptr< Interface >) > | signal_interface_added () |
| Signal emitted when an interface is added to this object. More...
|
|
sigc::signal< void(std::shared_ptr< Interface >) > | signal_interface_removed () |
| Signal emitted when an interface is removed from this object. More...
|
|
sigc::signal< void(std::shared_ptr< Interface >, std::shared_ptr< Interface >)> | signal_default_interface_changed () |
| Signal emitted when the default interface of this object is changed. More...
|
|
HandlerResult | handle_message (std::shared_ptr< const Message > msg) |
| Handles the specified message on the specified connection. More...
|
|
void | set_handling_thread (std::thread::id thr) |
|
std::thread::id | handling_thread () |
|
bool | is_lightweight () const |
|
bool | has_objectmanager () const |
|
void | set_has_objectmanager (bool objectmanager) |
|