BALL
1.4.79
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
VIEW
INPUT
fakeDriver.h
Go to the documentation of this file.
1
#include <
BALL/VIEW/INPUT/inputDeviceDriver.h
>
2
3
namespace
BALL
4
{
5
namespace
VIEW
6
{
7
class
FakeDriver
:
public
InputDeviceDriver
,
protected
QThread
8
{
9
public
:
10
FakeDriver
(
Scene
* receiver)
11
:
InputDeviceDriver
(receiver) {}
12
bool
setUp
() {
return
true
; }
13
bool
tearDown
() {
return
true
; }
14
15
void
setEnabled
(
bool
enabled) {
InputDeviceDriver::setEnabled
(enabled);
if
(enabled) start(); }
16
17
private
:
18
void
run() {
while
(
true
) {
emitPositionChange
(1,2,-3,4,5,6); msleep(20); } }
19
};
20
}
21
}
BALL::VIEW::FakeDriver::setUp
bool setUp()
Definition:
fakeDriver.h:12
BALL::VIEW::FakeDriver::tearDown
bool tearDown()
Definition:
fakeDriver.h:13
BALL::VIEW::FakeDriver::setEnabled
void setEnabled(bool enabled)
Definition:
fakeDriver.h:15
inputDeviceDriver.h
BALL::VIEW::InputDeviceDriver::emitPositionChange
void emitPositionChange(double x, double y, double z, double a, double b, double c)
BALL::VIEW::Scene
Definition:
scene.h:138
BALL::VIEW::FakeDriver::FakeDriver
FakeDriver(Scene *receiver)
Definition:
fakeDriver.h:10
BALL::VIEW::InputDeviceDriver
Definition:
inputDeviceDriver.h:18
BALL::VIEW::FakeDriver
Definition:
fakeDriver.h:7
BALL::VIEW::InputDeviceDriver::setEnabled
void setEnabled(bool enabled)
QThread
Generated by
1.8.7