LRT14
1.0
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
SynchronizedProcess.h
1
#ifndef SYNC_PROCESS_H_
2
#define SYNC_PROCESS_H_
3
4
#include <WPILib.h>
5
#include <semLib.h>
6
7
#include "AsyncProcess.h"
8
12
class
SynchronizedProcess
:
public
AsyncProcess
13
{
14
public
:
15
SynchronizedProcess
(
const
char
* taskName, INT32 priority=Task::kDefaultPriority);
16
SynchronizedProcess
(
const
char
* taskName, SEM_ID syncSem, INT32 priority=Task::kDefaultPriority);
17
virtual
~
SynchronizedProcess
();
18
22
void
RunOneCycle
();
23
27
virtual
void
preTick
();
28
private
:
29
SEM_ID m_syncSem;
30
};
31
32
#endif
Process
SynchronizedProcess.h
Generated on Tue Feb 11 2014 00:29:46 for LRT14 by
1.8.3