laTimeTrig Class Reference

Time-triggered events. More...

#include <laTimeTrig.h>

Public Member Functions

void enable (M_BOOL bEnable=M_TRUE)
void force ()
void reset ()
void parameters (double dElapse, double dHold=1, M_BOOL bCyclic=M_FALSE)
void setElapseTime (double sec)
void setHoldTime (double sec)
void setCyclic (M_BOOL bCylcic=M_TRUE)
double getElapseTime () const
double getHoldTime () const
M_BOOL isEnabled () const
M_BOOL isElapsed () const
double timeRemaining () const
double timeElapsed () const
double progress () const
double reminder () const
void setEventHandler (void(*pEventHandler)(void *), void *pObject)
void animate (class laTimer &t)

Protected Attributes

double _dElapse
double _dHold
M_BOOL _bCyclic
M_BOOL _bEnabled
M_BOOL _bEvent
M_BOOL _bFired
double _nTimeLeft
void(* _pEventHandler )(void *)
void * _pEventObject

Detailed Description

Time-triggered events.

Copyright (C) 2007-2013 Atanas Laskov, latan.nosp@m.as@g.nosp@m.mail..nosp@m.com

Definition at line 41 of file laTimeTrig.h.

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