WPILib 2012
WPILibRoboticsLibraryforFRC
ChipObject/tSolenoid.h
00001 // Copyright (c) National Instruments 2008.  All Rights Reserved.
00002 // Do Not Edit... this file is generated!
00003 
00004 #ifndef __nFRC_2012_1_6_4_Solenoid_h__
00005 #define __nFRC_2012_1_6_4_Solenoid_h__
00006 
00007 #include "tSystemInterface.h"
00008 
00009 namespace nFPGA
00010 {
00011 namespace nFRC_2012_1_6_4
00012 {
00013 
00014 class tSolenoid
00015 {
00016 public:
00017    tSolenoid(){}
00018    virtual ~tSolenoid(){}
00019 
00020    virtual tSystemInterface* getSystemInterface() = 0;
00021    static tSolenoid* create(tRioStatusCode *status);
00022 
00023    typedef enum
00024    {
00025       kNumSystems = 1,
00026    } tIfaceConstants;
00027 
00028 
00029 
00030 
00031    typedef enum
00032    {
00033       kNumDO7_0Elements = 2,
00034    } tDO7_0_IfaceConstants;
00035 
00036    virtual void writeDO7_0(unsigned char bitfield_index, unsigned char value, tRioStatusCode *status) = 0;
00037    virtual unsigned char readDO7_0(unsigned char bitfield_index, tRioStatusCode *status) = 0;
00038 
00039 
00040 
00041 
00042 private:
00043    tSolenoid(const tSolenoid&);
00044    void operator=(const tSolenoid&);
00045 };
00046 
00047 }
00048 }
00049 
00050 #endif // __nFRC_2012_1_6_4_Solenoid_h__
 All Classes Functions Variables