VR-Forces 4.0.4 Class Documentation
include/vrfcore/periTimer.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2006 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: periTimer.h,v $ $Revision: 1.7 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 
00013 #ifndef DtPeriodicTimer_H_
00014 #define DtPeriodicTimer_H_
00015 
00016 #include "vrfutil/vlClock.h"
00017 #include "vrfcore/timer.h"
00018 
00027 
00028 
00029 #include "vrfcore/vrfcoreDefines.h"
00030 class DT_DLL_vrfcore DtPeriodicTimer : public DtTimer
00031 {
00032 protected:
00034    DtPeriodicTimer& operator= (const DtPeriodicTimer& orig);
00035 
00036 public:
00041    DtPeriodicTimer (const DtClock *clock, const unsigned int type,
00042                      const DtTime period, const DtTimerCallbackFcn callback,
00043                      void *usr);
00044 
00045    virtual ~DtPeriodicTimer();
00046    
00047    virtual void fire();
00048 
00049 private:
00050    const DtTime      myPeriod;
00051    const DtClock *   myClock;
00052 };
00053 
00054 #endif
00055 
00056 
00057 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)