blob: 8627eea6cca880882f06b5d17e26fa5fd92a8917 [file] [log] [blame]
jerrymf1579332013-02-07 01:56:28 +00001// 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
9namespace nFPGA
10{
11namespace nFRC_2012_1_6_4
12{
13
14class tSolenoid
15{
16public:
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
42private:
43 tSolenoid(const tSolenoid&);
44 void operator=(const tSolenoid&);
45};
46
47}
48}
49
50#endif // __nFRC_2012_1_6_4_Solenoid_h__