#include <input.h>
Public Member Functions | |
Timer () | |
~Timer () | |
BOOL | Start () |
BOOL | Start (int frequency) |
BOOL | Pause () |
BOOL | Resume () |
BOOL | Stop () |
BOOL | StopAndUnBind () |
BOOL | Stop (int idToFind, BOOL unBind) |
double | GetDeltaTime (BOOL reset=FALSE) |
double | GetDeltaTime (BOOL reset, LARGE_INTEGER *referenceTime) |
BOOL | IsRuning () |
Static Public Member Functions | |
BOOL | Init (HWND _hWnd) |
Timer * | Find (int idToFind) |
Recherche d'une instanciation. | |
BOOL | Call (int idToFind) |
A utiliser dans le message WM_TIMER de la callback ou le hWnd a ete Init. | |
Public Attributes | |
signal1< Timer * > | onTimer |
int Call(Timer *timer) | |
int | id |
id du WM_TIMER en cour | |
BOOL | insideList |
cette element est il dans la liste ? | |
int | frequency |
frequence de declenchement | |
LARGE_INTEGER | beginTime |
BOOL | isRuning |
timer en cours | |
Static Public Attributes | |
MyList< Timer * > | list |
list des instances de TimerEvent | |
int | nextFreeId = 10 |
prochain numero de timer valide | |
HWND | hWnd |
hWnd qui collect les messages | |
LARGE_INTEGER | frecTimer |
frequence du timer |
|
Definition at line 167 of file input.cpp. References insideList, isRuning, and nextFreeId. |
|
Definition at line 175 of file input.cpp. References Stop(). |
|
A utiliser dans le message WM_TIMER de la callback ou le hWnd a ete Init.
Definition at line 199 of file input.cpp. References BOOL(), Find(), and onTimer. Referenced by ControlEngine::Proc(). |
|
Recherche d'une instanciation.
Definition at line 186 of file input.cpp. References MyListIterator< Timer * >::GetElem(), MyList< Timer * >::i, id, list, and MyListIterator< Timer * >::More(). |
|
|
|
Definition at line 263 of file input.cpp. References insideList, isRuning, and reset. Referenced by Inertia::Add(), Inertia::GetMoyValue(), EventInertia::OnInertia(), Button::OnPushDown(), Univers::OnRefresh(), Title::OnRefresh(), Tutorial::FaceDemo::OnTimer(), ControlEngine::Proc(), Inertia::Start(), and EffectApparition::Start(). |
|
Definition at line 161 of file input.cpp. References BOOL(), frecTimer, and hWnd. Referenced by ControlEngine::Start(). |
|
|
|
Definition at line 251 of file input.cpp. References BOOL(), hWnd, and isRuning. Referenced by Start(). |
|
|
|
Definition at line 241 of file input.cpp. References BOOL(), frequency, hWnd, MyList< Timer * >::i, insideList, isRuning, and list. |
|
|
|
Definition at line 220 of file input.cpp. References BOOL(), Find(), hWnd, MyList< Timer * >::i, insideList, isRuning, list, onTimer, and MyListIterator< Timer * >::Supr(). |
|
Definition at line 211 of file input.cpp. References BOOL(). Referenced by Button::PushUp(), EventInertia::Stop(), StopAndUnBind(), and ~Timer(). |
|
Definition at line 216 of file input.cpp. References BOOL(), and Stop(). Referenced by Slider::OnButtonsLMouseUp(), Slider::OnButtonsOverOut(), and Control::OnMButtonUp(). |
|
|
|
frequence du timer
Definition at line 44 of file input_instance.h. Referenced by GetDeltaTime(), and Init(). |
|
frequence de declenchement
|
|
hWnd qui collect les messages
Definition at line 43 of file input_instance.h. Referenced by Init(), Pause(), Resume(), Start(), and Stop(). |
|
id du WM_TIMER en cour
Definition at line 151 of file input.h. Referenced by Find(). |
|
cette element est il dans la liste ?
Definition at line 152 of file input.h. Referenced by GetDeltaTime(), Start(), Stop(), and Timer(). |
|
timer en cours
Definition at line 155 of file input.h. Referenced by GetDeltaTime(), IsRuning(), Control::OnMButtonUp(), Pause(), Resume(), Start(), Stop(), and Timer(). |
|
list des instances de TimerEvent
Definition at line 41 of file input_instance.h. |
|
prochain numero de timer valide
Definition at line 42 of file input_instance.h. Referenced by Timer(). |
|
int Call(Timer *timer)
Definition at line 150 of file input.h. Referenced by Call(), Tutorial::UniversDemo::ConfigSlide(), TreeDirectory::OnClickDirectory(), Tutorial::FaceDemo::OnEnd(), Univers::OnExit(), ResizingAndRotateControl::OnHover(), Control::OnMouseMove(), TreeView::OnNextFrame(), Univers::OnOverIn(), Title::OnOverIn(), Univers::OnOverOut(), Title::OnOverOut(), Tutorial::UniversDemo::OnTimer(), TaskWindow::Restore(), EffectApparition::Start(), Stop(), EffectApparition::Stop(), Title::~Title(), and Univers::~Univers(). |