Gizmod::GizmodTimer Class Reference

Class for creating threads from the Python API. More...

#include <GizmodTimer.hpp>

Inheritance diagram for Gizmod::GizmodTimer:

Inheritance graph
[legend]
Collaboration diagram for Gizmod::GizmodTimer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void cancel ()
 Cancel a timer's execution.
void resetTimer ()
 Reset the timer's time.
void setUserData (boost::python::object UserData)
 Set the Timer's user data.
void start ()
 Start a timer's execution.
 GizmodTimer (float Seconds, boost::python::object TimerFunction)
 Default Constructor.
 GizmodTimer (float Seconds, boost::python::object TimerFunction, boost::python::object UserData)
 Init Constructor.
virtual ~GizmodTimer ()
 Destructor.

Classes

struct  GizmodTimerThreadProc

Detailed Description

Class for creating threads from the Python API.

Note that for some reason Python's threading API doesn't work very well embedded inside C++


Member Function Documentation

void GizmodTimer::setUserData ( boost::python::object  UserData  ) 

Set the Timer's user data.

Parameters:
UserData User defined data


The documentation for this class was generated from the following files:
Generated on Wed Jun 27 12:43:44 2007 for gizmod by  doxygen 1.4.7