| OGMJob Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Signals | ||||
#include <ogmjob-container.h> void (*OGMJobCallback) (OGMJobSpawn *spawn,gpointer data); struct OGMJobContainer; void ogmjob_container_add (OGMJobContainer *container,OGMJobSpawn *spawn); void ogmjob_container_remove (OGMJobContainer *container,OGMJobSpawn *spawn); void ogmjob_container_foreach (OGMJobContainer *container,OGMJobCallback callback,gpointer data);
void (*OGMJobCallback) (OGMJobSpawn *spawn,gpointer data);
Specifies the type of functions passed to ogmjob_container_foreach().
|
An OGMJobSpawn |
|
The user data |
void ogmjob_container_add (OGMJobContainer *container,OGMJobSpawn *spawn);
Adds spawn to container.
|
An OGMJobContainer |
|
An OGMJobSpawn |
void ogmjob_container_remove (OGMJobContainer *container,OGMJobSpawn *spawn);
Removes spawn from container.
|
An OGMJobContainer |
|
An OGMJobSpawn |
void ogmjob_container_foreach (OGMJobContainer *container,OGMJobCallback callback,gpointer data);
Invokes callback on each child of container.
|
An OGMJobContainer |
|
A callback |
|
Callback user data |
"add" signalvoid user_function (OGMJobContainer *container,
OGMJobSpawn *child,
gpointer user_data) : No Hooks
Emitted each time a child is added to a container.
|
the container that received the signal |
|
the child to be added |
|
user data set when the signal handler was connected. |
"remove" signalvoid user_function (OGMJobContainer *container,
OGMJobSpawn *child,
gpointer user_data) : No Hooks
Emitted each time a child is removed from a container.
|
the container that received the signal |
|
the child to be removed |
|
user data set when the signal handler was connected. |