Irrlicht Engine: ITimer.h Source File

Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials

# ITimer.h

Go to the documentation of this file.

    00001 // Copyright (C) 2002-2010 Nikolaus Gebhardt
    00002 // This file is part of the "Irrlicht Engine".
    00003 // For conditions of distribution and use, see copyright notice in irrlicht.h
    00004
    00005 #ifndef __I_TIMER_H_INCLUDED__
    00006 #define __I_TIMER_H_INCLUDED__
    00007
    00008 #include "IReferenceCounted.h"
    00009
    00010 namespace irr
    00011 {
    00012
    00014 class ITimer : public virtual IReferenceCounted
    00015 {
    00016 public:
    00017
    00019         virtual ~ITimer() {}
    00020
    00022
    00026         virtual u32 getRealTime() const = 0;
    00027
    00029
    00033         virtual u32 getTime() const = 0;
    00034
    00036         virtual void setTime(u32 time) = 0;
    00037
    00039
    00042         virtual void stop() = 0;
    00043
    00045
    00048         virtual void start() = 0;
    00049
    00051
    00053         virtual void setSpeed(f32 speed = 1.0f) = 0;
    00054
    00056
    00058         virtual f32 getSpeed() const = 0;
    00059
    00061         virtual bool isStopped() const = 0;
    00062
    00064
    00067         virtual void tick() = 0;
    00068 };
    00069
    00070 } // end namespace irr
    00071
    00072 #endif
    00073

| The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Sun Oct 24 12:41:57 2010 by Doxygen (1.6.2)