WPILib 2012
WPILibRoboticsLibraryforFRC
NetworkTables/Denial.h
00001 /*----------------------------------------------------------------------------*/
00002 /* Copyright (c) FIRST 2011. All Rights Reserved.                             */
00003 /* Open Source Software - may be modified and shared by FRC teams. The code   */
00004 /* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib.  */
00005 /*----------------------------------------------------------------------------*/
00006 
00007 #ifndef __DENIAL_H__
00008 #define __DENIAL_H__
00009 
00010 #include "NetworkTables/Data.h"
00011 
00012 namespace NetworkTables
00013 {
00014 
00015 class Buffer;
00016 
00017 class Denial : public Data
00018 {
00019 public:
00020         Denial(int count);
00021         virtual void Encode(Buffer *buffer);
00022 private:
00023         static Denial *Combine(Denial *a, Denial *b);
00024 
00025         int m_count;
00026 };
00027 
00028 } // namespace
00029 
00030 #endif
 All Classes Functions Variables