WPILib 2012
WPILibRoboticsLibraryforFRC
ChipObject/tGlobal.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_Global_h__
00005 #define __nFRC_2012_1_6_4_Global_h__
00006 
00007 #include "tSystemInterface.h"
00008 
00009 namespace nFPGA
00010 {
00011 namespace nFRC_2012_1_6_4
00012 {
00013 
00014 class tGlobal
00015 {
00016 public:
00017    tGlobal(){}
00018    virtual ~tGlobal(){}
00019 
00020    virtual tSystemInterface* getSystemInterface() = 0;
00021    static tGlobal* create(tRioStatusCode *status);
00022 
00023    typedef enum
00024    {
00025       kNumSystems = 1,
00026    } tIfaceConstants;
00027 
00028 
00029 
00030 
00031    typedef enum
00032    {
00033    } tVersion_IfaceConstants;
00034 
00035    virtual unsigned short readVersion(tRioStatusCode *status) = 0;
00036 
00037 
00038    typedef enum
00039    {
00040    } tFPGA_LED_IfaceConstants;
00041 
00042    virtual void writeFPGA_LED(bool value, tRioStatusCode *status) = 0;
00043    virtual bool readFPGA_LED(tRioStatusCode *status) = 0;
00044 
00045 
00046    typedef enum
00047    {
00048    } tLocalTime_IfaceConstants;
00049 
00050    virtual unsigned int readLocalTime(tRioStatusCode *status) = 0;
00051 
00052 
00053    typedef enum
00054    {
00055    } tRevision_IfaceConstants;
00056 
00057    virtual unsigned int readRevision(tRioStatusCode *status) = 0;
00058 
00059 
00060 
00061 
00062 private:
00063    tGlobal(const tGlobal&);
00064    void operator=(const tGlobal&);
00065 };
00066 
00067 }
00068 }
00069 
00070 #endif // __nFRC_2012_1_6_4_Global_h__
 All Classes Functions Variables