jerrym | f157933 | 2013-02-07 01:56:28 +0000 | [diff] [blame^] | 1 | // Copyright (c) National Instruments 2008. All Rights Reserved.
|
| 2 | // Do Not Edit... this file is generated!
|
| 3 |
|
| 4 | #ifndef __nFRC_2012_1_6_4_Solenoid_h__
|
| 5 | #define __nFRC_2012_1_6_4_Solenoid_h__
|
| 6 |
|
| 7 | #include "tSystemInterface.h"
|
| 8 |
|
| 9 | namespace nFPGA
|
| 10 | {
|
| 11 | namespace nFRC_2012_1_6_4
|
| 12 | {
|
| 13 |
|
| 14 | class tSolenoid
|
| 15 | {
|
| 16 | public:
|
| 17 | tSolenoid(){}
|
| 18 | virtual ~tSolenoid(){}
|
| 19 |
|
| 20 | virtual tSystemInterface* getSystemInterface() = 0;
|
| 21 | static tSolenoid* create(tRioStatusCode *status);
|
| 22 |
|
| 23 | typedef enum
|
| 24 | {
|
| 25 | kNumSystems = 1,
|
| 26 | } tIfaceConstants;
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 | typedef enum
|
| 32 | {
|
| 33 | kNumDO7_0Elements = 2,
|
| 34 | } tDO7_0_IfaceConstants;
|
| 35 |
|
| 36 | virtual void writeDO7_0(unsigned char bitfield_index, unsigned char value, tRioStatusCode *status) = 0;
|
| 37 | virtual unsigned char readDO7_0(unsigned char bitfield_index, tRioStatusCode *status) = 0;
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 | private:
|
| 43 | tSolenoid(const tSolenoid&);
|
| 44 | void operator=(const tSolenoid&);
|
| 45 | };
|
| 46 |
|
| 47 | }
|
| 48 | }
|
| 49 |
|
| 50 | #endif // __nFRC_2012_1_6_4_Solenoid_h__
|