Choreonoid
1.8
src
Base
Timer.h
Go to the documentation of this file.
1
5
#ifndef CNOID_BASE_TIMER_H
6
#define CNOID_BASE_TIMER_H
7
8
#include <cnoid/Signal>
9
#include <QTimer>
10
#include "exportdecl.h"
11
12
namespace
cnoid
{
13
14
class
CNOID_EXPORT
Timer
:
public
QTimer
15
{
16
Q_OBJECT
17
18
public
:
19
Timer
(QObject* parent = 0);
20
21
SignalProxy
<void()>
sigTimeout
() {
22
return
sigTimeout_;
23
}
24
25
private
Q_SLOTS:
26
void
onTimeout();
27
28
private
:
29
Signal
<void()> sigTimeout_;
30
};
31
32
}
33
34
#endif
cnoid::Timer
Definition:
Timer.h:14
cnoid::Timer::sigTimeout
SignalProxy< void()> sigTimeout()
Definition:
Timer.h:21
cnoid
Definition:
AbstractSceneLoader.h:11
cnoid::Signal
Definition:
Signal.h:165
cnoid::SignalProxy
Definition:
Signal.h:470
Generated by
1.8.17