libvtemm Reference Documentation
Main Page   Namespaces  

Gnome::Vte::Reaper Class Reference

Reaper - A singleton object which catches SIGCHLD signals and converts them into GObject-style "child-exited" signals. More...

Inheritance diagram for Gnome::Vte::Reaper:

Inheritance graph
[legend]

List of all members.

Public Member Functions

const VteReaper* gobj () const
 Provides access to the underlying C GObject.
VteReaper* gobj ()
 Provides access to the underlying C GObject.
VteReaper* gobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Glib::SignalProxy2< void, int,
int > 
signal_child_exited ()
virtual ~Reaper ()

Static Public Member Functions

static int add_child (Glib::Pid pid)
 Ensures that child-exited signals will be emitted when pid exits.
static const Glib::RefPtr<Reaperget ()
 Finds the address of the global Vte::Reaper object, creating the object if necessary.

Related Functions

(Note that these are not member functions.)

Glib::RefPtr<Gnome::Vte::Reaperwrap (VteReaper* object, bool take_copy=false)
 A Glib::wrap() method for this object.


Detailed Description

Reaper - A singleton object which catches SIGCHLD signals and converts them into GObject-style "child-exited" signals.

Constructor& Destructor Documentation

virtual Gnome::Vte::Reaper::~Reaper (  )  [virtual]


Member Function Documentation

static int Gnome::Vte::Reaper::add_child ( Glib::Pid  pid  )  [static]

Ensures that child-exited signals will be emitted when pid exits.

This is necessary for correct operation when running with glib versions >= 2.4.

Parameters:
pid The ID of a child process which will be monitored.
Returns:
The new source ID
Since 0.11.11.

static const Glib::RefPtr<Reaper> Gnome::Vte::Reaper::get (  )  [static]

Finds the address of the global Vte::Reaper object, creating the object if necessary.

Returns:
The global Vte::Reaper object, which should not be unreffed.

const VteReaper* Gnome::Vte::Reaper::gobj (  )  const [inline]

Provides access to the underlying C GObject.

Reimplemented from Glib::ObjectBase.

VteReaper* Gnome::Vte::Reaper::gobj (  )  [inline]

Provides access to the underlying C GObject.

Reimplemented from Glib::ObjectBase.

VteReaper* Gnome::Vte::Reaper::gobj_copy (  ) 

Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.

Glib::SignalProxy2< void,int,int > Gnome::Vte::Reaper::signal_child_exited (  ) 

Prototype:
void on_my_child_exited(int pid, int status)


Friends And Related Function Documentation

Glib::RefPtr<Gnome::Vte::Reaper> wrap ( VteReaper *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
object The C instance.
take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns:
A C++ instance that wraps this C instance.


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

Generated for libvtemm by Doxygen 1.5.8 © 1997-2008