LRT14
1.0
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
LRTRobotBase.h
1
#ifndef LRT_ROBOT_BASE_
2
#define LRT_ROBOT_BASE_
3
4
#include <WPILib.h>
5
#include <semLib.h>
6
7
class
LRTRobotBase :
public
RobotBase
8
{
9
public
:
10
LRTRobotBase();
11
virtual
~LRTRobotBase();
12
13
virtual
void
RobotInit() = 0;
14
15
// Inherited from RobotBase, starts the competition
16
virtual
void
StartCompetition();
17
18
// Runs once every tick.
19
virtual
void
Tick();
20
21
private
:
22
void
Main();
23
24
Notifier m_loopSynchronizer;
25
static
bool
m_isRunning;
26
27
static
void
ReleaseLoop(
void
* param);
28
29
SEM_ID m_loopSynchSem;
30
bool
m_robotMainOverridden;
31
};
32
33
#endif
LRTRobotBase.h
Generated on Tue Feb 11 2014 00:29:35 for LRT14 by
1.8.3