LRT13
1.0
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
Process
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
14
class
SynchronizedProcess
:
public
AsyncProcess
15
{
16
public
:
17
SynchronizedProcess
(
const
char
* taskName, INT32 priority=Task::kDefaultPriority);
18
SynchronizedProcess
(
const
char
* taskName, SEM_ID syncSem, INT32 priority=Task::kDefaultPriority);
19
virtual
~
SynchronizedProcess
();
23
void
RunOneCycle
();
24
//protected:
28
virtual
void
preTick
();
29
private
:
30
SEM_ID m_syncSem;
31
};
32
33
#endif
Generated on Thu Nov 28 2013 20:16:51 for LRT13 by
1.8.3