VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
periodicTimer.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: periTimer.h,v $ $Revision: 1.7 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 
13 #ifndef DtPeriodicTimer_H_
14 #define DtPeriodicTimer_H_
15 
16 #include "vrfutil/simClock.h"
17 #include "vrfcore/timer.h"
18 
27 
28 
29 #include "vrfcore/vrfcoreDefines.h"
31 {
32 protected:
35 
36 public:
41  DtPeriodicTimer (const DtClock *clock, const unsigned int type,
42  const DtTime period, const DtTimerCallbackFcn callback,
43  void *usr);
44 
45  virtual ~DtPeriodicTimer();
46 
47  virtual void fire();
48 
49 private:
51  const DtClock * myClock;
52 };
53 
54 #endif
55 
56 
57 
Instances of DtTimer are used to maintain the information needed to represent some kind of scheduled ...
Definition: timer.h:45
DtTimer & operator=(const DtTimer &orig)
assignment operator
const DtTime myPeriod
Definition: periodicTimer.h:50
File: vlClock.h.
virtual void fire()
Sets off (fires) the timer.
const DtClock * myClock
Definition: periodicTimer.h:51
void(* DtTimerCallbackFcn)(DtTimer *timer)
Definition: timer.h:31
File: periTimer.h.
Definition: periodicTimer.h:30
#define DT_DLL_vrfcore
This file is used to determine how to build.
Definition: vrfcoreDefines.h:25

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)