LRT13
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
static
bool
IsRunning();
11
12
LRTRobotBase();
13
virtual
~LRTRobotBase();
14
15
virtual
void
RobotInit() = 0;
16
17
// Inherited from RobotBase, starts the competition
18
virtual
void
StartCompetition();
19
20
21
// Function to execute each pass in the loop; similar to a main function, but it gets run multiple times.
22
virtual
void
Tick();
23
24
private
:
25
// Function to execute each pass in the loop; similar to a main function, but it gets run multiple times.
26
void
Run();
27
28
Notifier m_loopSynchronizer;
29
static
bool
m_isRunning;
30
31
static
void
ReleaseLoop(
void
* param);
32
33
SEM_ID m_loopSynchSem;
34
bool
m_robotMainOverridden;
35
};
36
37
#endif
Generated on Thu Nov 28 2013 20:16:51 for LRT13 by
1.8.3