This repository has been archived on 2020-09-21. You can view files and clone it, but cannot push or open issues or pull requests.
FRC2016-old/wpilib/cpp/current/include/FRC_FPGA_ChipObject/nRuntimeFPGANamespace/tSolenoid.h

51 lines
927 B
C
Raw Permalink Normal View History

2016-01-28 11:33:19 -05:00
// Copyright (c) National Instruments 2008. All Rights Reserved.
// Do Not Edit... this file is generated!
#ifndef __nFRC_2012_1_6_4_Solenoid_h__
#define __nFRC_2012_1_6_4_Solenoid_h__
#include "tSystemInterface.h"
namespace nFPGA
{
namespace nFRC_2012_1_6_4
{
class tSolenoid
{
public:
tSolenoid(){}
virtual ~tSolenoid(){}
virtual tSystemInterface* getSystemInterface() = 0;
static tSolenoid* create(tRioStatusCode *status);
typedef enum
{
kNumSystems = 1,
} tIfaceConstants;
typedef enum
{
kNumDO7_0Elements = 2,
} tDO7_0_IfaceConstants;
virtual void writeDO7_0(unsigned char bitfield_index, unsigned char value, tRioStatusCode *status) = 0;
virtual unsigned char readDO7_0(unsigned char bitfield_index, tRioStatusCode *status) = 0;
private:
tSolenoid(const tSolenoid&);
void operator=(const tSolenoid&);
};
}
}
#endif // __nFRC_2012_1_6_4_Solenoid_h__