VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
recurringTimer.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: recTimer.h,v $ $Revision: 1.6 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 
13 #ifndef DtRecurringTimer_H_
14 #define DtRecurringTimer_H_
15 
16 #include "vrfutil/simClock.h"
17 #include "vrfcore/timer.h"
18 
27 
28 #include "vrfcore/vrfcoreDefines.h"
30 {
31 protected:
34 
35 public:
40  DtRecurringTimer (const DtClock * clock, const unsigned int type,
41  const DtTime recurTime, const DtTimerCallbackFcn callback,
42  void *usr);
43 
44  virtual ~DtRecurringTimer();
45 
46  virtual void fire();
47 
48 protected:
50  const DtClock * myClock;
51 };
52 #endif
Instances of DtTimer are used to maintain the information needed to represent some kind of scheduled ...
Definition: timer.h:38
const DtTime myRecurTime
Definition: recurringTimer.h:49
DtTimer & operator=(const DtTimer &orig)
assignment operator
File: vlClock.h.
const DtClock * myClock
Definition: recurringTimer.h:50
virtual void fire()
Sets off (fires) the timer. Sets the fired state to true. If a callback exists, invokes the callback...
void(* DtTimerCallbackFcn)(DtTimer *timer)
Definition: timer.h:24
File: recTimer.h.
Definition: recurringTimer.h:29
#define DT_DLL_vrfcore
This file is used to determine how to build.
Definition: vrfcoreDefines.h:25

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)