Back to index

unity  6.0.0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
unity::glib::SignalBase Class Reference

#include <GLibSignal.h>

Inheritance diagram for unity::glib::SignalBase:
Inheritance graph
Collaboration diagram for unity::glib::SignalBase:
Collaboration graph

List of all members.

Public Types

typedef std::shared_ptr
< SignalBase

Public Member Functions

virtual ~SignalBase ()
void Disconnect ()
GObject * object () const
std::string const & name () const

Protected Member Functions

 SignalBase ()

Protected Attributes

GObject * object_
guint32 connection_id_
std::string name_

Detailed Description

Definition at line 36 of file GLibSignal.h.

Member Typedef Documentation

typedef std::shared_ptr<SignalBase> unity::glib::SignalBase::Ptr

Definition at line 39 of file GLibSignal.h.

Constructor & Destructor Documentation

Definition at line 33 of file GLibSignal.cpp.


Here is the call graph for this function:

Definition at line 28 of file GLibSignal.cpp.

  : object_(0),

Member Function Documentation

Definition at line 38 of file GLibSignal.cpp.

  if (connection_id_ && G_IS_OBJECT(object_))
    g_signal_handler_disconnect(object_, connection_id_);

  object_ = 0;
  connection_id_ = 0;

Here is the caller graph for this function:

std::string const & unity::glib::SignalBase::name ( ) const

Definition at line 52 of file GLibSignal.cpp.

  return name_;
GObject * unity::glib::SignalBase::object ( ) const

Definition at line 47 of file GLibSignal.cpp.

  return object_;

Here is the caller graph for this function:

Member Data Documentation

Definition at line 52 of file GLibSignal.h.

std::string unity::glib::SignalBase::name_ [protected]

Definition at line 53 of file GLibSignal.h.

GObject* unity::glib::SignalBase::object_ [protected]

Definition at line 51 of file GLibSignal.h.

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