Callback Class Reference

class representing a callback function inside the main loop More...

#include <main_loop.h>

List of all members.

Public Member Functions

 Callback ()
 contructor
 Callback (int interval, gboolean(*function)(gpointer data))
 constructing a new callback object from the given values

Public Attributes

int interval
 interval in which the callback function is executed
gboolean(* function )(gpointer data)
 the callback function
int id
 the id of the event source assigned by glib


Detailed Description

class representing a callback function inside the main loop

Every callback has a unique id, an interval on which it is executed and the callback function


Constructor & Destructor Documentation

Callback::Callback  ) 
 

contructor

Callback::Callback int  interval,
gboolean(*)(gpointer data)  function
 

constructing a new callback object from the given values

Parameters:
interval the interval on which the callback is executed
function the callback function which will be called


Member Data Documentation

gboolean(* Callback::function)(gpointer data)
 

the callback function

int Callback::id
 

the id of the event source assigned by glib

int Callback::interval
 

interval in which the callback function is executed


The documentation for this class was generated from the following files:
Generated on Mon Mar 27 09:27:19 2006 for Powersave Daemon by  doxygen 1.4.6