| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/include/dbus-cxx-0.4/dbus-cxx/ |
Upload File : |
// -*- c++ -*-
/* Do not edit! -- generated file */
#ifndef DBUSMETHODPROXYBASE_H
#define DBUSMETHODPROXYBASE_H
#include <string>
#include <sigc++/sigc++.h>
#include <dbus-cxx/enums.h>
#include <dbus-cxx/pointer.h>
#include <dbus-cxx/accumulators.h>
#include <dbus-cxx/callmessage.h>
#include <dbus-cxx/returnmessage.h>
#include <dbus-cxx/pendingcall.h>
namespace DBus
{
class Connection;
class InterfaceProxy;
/**
* @ingroup objects
* @ingroup proxy
*
* @author Rick L Vinyard Jr <rvinyard@cs.nmsu.edu>
*/
class MethodProxyBase
{
protected:
MethodProxyBase( const std::string& name );
MethodProxyBase(const MethodProxyBase& other);
public:
typedef DBusCxxPointer<MethodProxyBase> pointer;
static pointer create( const std::string& name );
~MethodProxyBase();
InterfaceProxy* interface() 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&/*old name*/, const std::string&/*new name*/> signal_name_changed();
protected:
// Declare InterfaceProxy as a friend so that it can set the interface
friend class InterfaceProxy;
InterfaceProxy* m_interface;
std::string m_name;
/** Ensures that the name doesn't change while the name changed signal is emitting */
pthread_mutex_t m_name_mutex;
sigc::signal<void,const std::string&, const std::string&> m_signal_name_changed;
};
}
#endif