Now you can download a copy of these docs so you can use them offline! Download now
DigitalSource.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) FIRST 2008. All Rights Reserved. */
3 /* Open Source Software - may be modified and shared by FRC teams. The code */
4 /* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
5 /*----------------------------------------------------------------------------*/
6 
7 #ifndef DIGITAL_SOURCE_H
8 #define DIGITAL_SOURCE_H
9 
10 #include "InterruptableSensorBase.h"
11 
20 {
21 public:
22  virtual ~DigitalSource();
23  virtual uint32_t GetChannelForRouting() = 0;
24  virtual uint32_t GetModuleForRouting() = 0;
25  virtual bool GetAnalogTriggerForRouting() = 0;
26  virtual void RequestInterrupts(tInterruptHandler handler, void *param) = 0;
27  virtual void RequestInterrupts() = 0;
28 };
29 
30 #endif
31 
virtual ~DigitalSource()
virtual void RequestInterrupts()=0
Synchronus Wait version.

Generated on Sat Apr 26 2014 12:26:45 for WPILibC++ by doxygen 1.8.6