dbus-cxx logo
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
DBus::MethodProxyBase Class Reference

#include <methodproxybase.h>

Inheritance diagram for DBus::MethodProxyBase:
Inheritance graph
[legend]

Public Types

typedef DBusCxxPointer
< MethodProxyBase
pointer
 

Public Member Functions

 ~MethodProxyBase ()
 
InterfaceProxyinterface () const
 
const std::string & name () const
 
void set_name (const std::string &name)
 
CallMessage::pointer create_call_message () const
 
ReturnMessage::const_pointer call (CallMessage::const_pointer, int timeout_milliseconds=-1) const
 
PendingCall::pointer call_async (CallMessage::const_pointer, int timeout_milliseconds=-1) const
 
sigc::signal< void, const
std::string &, const
std::string & > 
signal_name_changed ()
 

Static Public Member Functions

static pointer create (const std::string &name)
 

Protected Member Functions

 MethodProxyBase (const std::string &name)
 
 MethodProxyBase (const MethodProxyBase &other)
 

Protected Attributes

InterfaceProxym_interface
 
std::string m_name
 
pthread_mutex_t m_name_mutex
 Ensures that the name doesn't change while the name changed signal is emitting. More...
 
sigc::signal< void, const
std::string &, const
std::string & > 
m_signal_name_changed
 

Friends

class InterfaceProxy
 

Detailed Description

Author
Rick L Vinyard Jr rviny.nosp@m.ard@.nosp@m.cs.nm.nosp@m.su.e.nosp@m.du

Member Typedef Documentation

Constructor & Destructor Documentation

DBus::MethodProxyBase::MethodProxyBase ( const std::string &  name)
protected

References m_name_mutex.

Referenced by create().

DBus::MethodProxyBase::MethodProxyBase ( const MethodProxyBase other)
protected

References m_name_mutex.

DBus::MethodProxyBase::~MethodProxyBase ( )

References m_name_mutex.

Member Function Documentation

ReturnMessage::const_pointer DBus::MethodProxyBase::call ( CallMessage::const_pointer  call_message,
int  timeout_milliseconds = -1 
) const
PendingCall::pointer DBus::MethodProxyBase::call_async ( CallMessage::const_pointer  call_message,
int  timeout_milliseconds = -1 
) const
MethodProxyBase::pointer DBus::MethodProxyBase::create ( const std::string &  name)
static

References MethodProxyBase().

CallMessage::pointer DBus::MethodProxyBase::create_call_message ( ) const
InterfaceProxy * DBus::MethodProxyBase::interface ( ) const

References m_interface.

const std::string & DBus::MethodProxyBase::name ( ) const

References m_name.

Referenced by set_name().

void DBus::MethodProxyBase::set_name ( const std::string &  name)
sigc::signal< void, const std::string &, const std::string & > DBus::MethodProxyBase::signal_name_changed ( )

References m_signal_name_changed.

Friends And Related Function Documentation

friend class InterfaceProxy
friend

Member Data Documentation

InterfaceProxy* DBus::MethodProxyBase::m_interface
protected

Referenced by interface().

std::string DBus::MethodProxyBase::m_name
protected
pthread_mutex_t DBus::MethodProxyBase::m_name_mutex
protected

Ensures that the name doesn't change while the name changed signal is emitting.

Referenced by MethodProxyBase(), set_name(), and ~MethodProxyBase().

sigc::signal<void,const std::string&, const std::string&> DBus::MethodProxyBase::m_signal_name_changed
protected

Referenced by set_name(), and signal_name_changed().


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

Generated on Sun Mar 19 2017 14:54:27 for dbus-cxx by doxygen 1.8.8