gtkutil::Timer Class Reference

#include <timer.h>

Public Member Functions

 Timer (const unsigned long timeout, TimerCallback callback, gpointer data)
void setTimeout (const unsigned long timeout)
void setCallback (TimerCallback callback)
void setCallbackData (gpointer data)
void enable ()
void disable ()
bool isEnabled () const

Private Types

typedef gboolean(* TimerCallback )(gpointer data)

Private Attributes

guint _timerID
unsigned long _timeout
TimerCallback _callback
gpointer _data

Detailed Description

Definition at line 14 of file timer.h.


Member Typedef Documentation

Definition at line 22 of file timer.h.


Constructor & Destructor Documentation

gtkutil::Timer::Timer ( const unsigned long  timeout,
TimerCallback  callback,
gpointer  data 
)

Member Function Documentation

void gtkutil::Timer::disable (  ) 
void gtkutil::Timer::enable (  ) 
bool gtkutil::Timer::isEnabled (  )  const
void gtkutil::Timer::setCallback ( TimerCallback  callback  ) 
void gtkutil::Timer::setCallbackData ( gpointer  data  ) 
void gtkutil::Timer::setTimeout ( const unsigned long  timeout  ) 

Field Documentation

Definition at line 25 of file timer.h.

Definition at line 28 of file timer.h.

unsigned long gtkutil::Timer::_timeout [private]

Definition at line 20 of file timer.h.

Definition at line 17 of file timer.h.


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

Generated by  doxygen 1.6.2