LRT14
1.0
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
CollectorRollersData.h
1
#ifndef COLLECTOR_ROLLERS_DATA_H_
2
#define COLLECTOR_ROLLERS_DATA_H_
3
4
#include "ComponentData.h"
5
9
class
CollectorRollersData
:
public
ComponentData
10
{
11
public
:
12
enum
Direction
13
{
14
FORWARD,
15
REVERSE
16
};
17
18
CollectorRollersData
();
19
static
CollectorRollersData
* Get();
20
21
void
SetRunning(
bool
run);
22
bool
IsRunning();
23
24
void
SetSpeed(
float
speed);
25
float
GetSpeed();
26
27
void
SetDirection(Direction direction);
28
Direction GetDirection();
29
30
void
ResetCommands();
31
void
Log
();
32
33
private
:
34
bool
m_running;
35
Direction m_direction;
36
float
m_speed;
37
38
friend
class
CollectorRollers
;
39
};
40
41
#endif
ComponentData
CollectorRollersData.h
Generated on Tue Feb 11 2014 00:29:33 for LRT14 by
1.8.3