additional/timers/TimerCPU.h

Go to the documentation of this file.
00001 //## begin module%392D808B02A1.cm preserve=no
00002 //        %X% %Q% %Z% %W%
00003 //## end module%392D808B02A1.cm
00004 
00005 //## begin module%392D808B02A1.cp preserve=no
00006 //## end module%392D808B02A1.cp
00007 
00008 //## Module: TimerCPU%392D808B02A1; Pseudo Package specification
00009 //## Source file: C:\project\mpk\code\additional\timers\TimerCPU.h
00010 
00011 #ifndef TimerCPU_h
00012 #define TimerCPU_h 1
00013 
00014 #define WIN32_LEAN_AND_MEAN
00015 #include <windows.h>
00016 
00017 //## begin module%392D808B02A1.additionalIncludes preserve=no
00018 //## end module%392D808B02A1.additionalIncludes
00019 
00020 //## begin module%392D808B02A1.includes preserve=yes
00021 #include "time.h"
00022 //## end module%392D808B02A1.includes
00023 
00024 // TimerBase
00025 #include "additional\timers\TimerBase.h"
00026 //## begin module%392D808B02A1.additionalDeclarations preserve=yes
00027 //## end module%392D808B02A1.additionalDeclarations
00028 
00029 
00030 //## begin TimerCPU%392D808B02A1.preface preserve=yes
00031 //## end TimerCPU%392D808B02A1.preface
00032 
00033 //## Class: TimerCPU%392D808B02A1
00034 //## Category: additional::timers%38445C6F01A0
00035 //## Persistence: Transient
00036 //## Cardinality/Multiplicity: n
00037 
00038 class TimerCPU : public TimerBase  //## Inherits: <unnamed>%392D8097026C
00039 {
00040   //## begin TimerCPU%392D808B02A1.initialDeclarations preserve=yes
00041   //## end TimerCPU%392D808B02A1.initialDeclarations
00042 
00043   public:
00044     //## Constructors (specified)
00045       //## Operation: TimerCPU%959283380
00046       TimerCPU ();
00047 
00048     //## Destructor (generated)
00049       virtual ~TimerCPU();
00050 
00051 
00052     //## Other Operations (specified)
00053       //## Operation: Reset%959283372
00054       virtual void Reset ();
00055 
00056       //## Operation: Start%959283373
00057       virtual void Start ();
00058 
00059       //## Operation: ElapsedTime%959283374
00060       virtual double ElapsedTime ();
00061 
00062       //## Operation: Stop%959283375
00063       virtual void Stop ();
00064 
00065     // Additional Public Declarations
00066       //## begin TimerCPU%392D808B02A1.public preserve=yes
00067       //## end TimerCPU%392D808B02A1.public
00068 
00069   protected:
00070     // Data Members for Class Attributes
00071 
00072       //## Attribute: totalSoFar%392D81D500C5
00073       //## begin TimerCPU::totalSoFar%392D81D500C5.attr preserve=no  protected: clock_t {UA} 0
00074       LARGE_INTEGER totalSoFar;
00075       //## end TimerCPU::totalSoFar%392D81D500C5.attr
00076 
00077       //## Attribute: startTime%392D825B029E
00078       //## begin TimerCPU::startTime%392D825B029E.attr preserve=no  protected: clock_t {UA} 0
00079       LARGE_INTEGER startTime;
00080       //## end TimerCPU::startTime%392D825B029E.attr
00081 
00082     // Additional Protected Declarations
00083       //## begin TimerCPU%392D808B02A1.protected preserve=yes
00084           LARGE_INTEGER m_Frequency;
00085       //## end TimerCPU%392D808B02A1.protected
00086 
00087   private:
00088     // Additional Private Declarations
00089       //## begin TimerCPU%392D808B02A1.private preserve=yes
00090       //## end TimerCPU%392D808B02A1.private
00091 
00092   private: //## implementation
00093     // Additional Implementation Declarations
00094       //## begin TimerCPU%392D808B02A1.implementation preserve=yes
00095       //## end TimerCPU%392D808B02A1.implementation
00096 
00097 };
00098 
00099 //## begin TimerCPU%392D808B02A1.postscript preserve=yes
00100 //## end TimerCPU%392D808B02A1.postscript
00101 
00102 // Class TimerCPU 
00103 
00104 //## begin module%392D808B02A1.epilog preserve=yes
00105 //## end module%392D808B02A1.epilog
00106 
00107 
00108 #endif

Generated on Sat Apr 1 21:30:30 2006 for Motion Planning Kernel by  doxygen 1.4.6-NO