WPILib 2012
WPILibRoboticsLibraryforFRC
NetworkTables/Data.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 __DATA_H__
00008 #define __DATA_H__
00009 
00010 namespace NetworkTables
00011 {
00012 
00013 class Buffer;
00014 
00015 class Data {
00016 public:
00017         virtual void Encode(Buffer *buffer) = 0;
00018         virtual bool IsEntry() {return false;}
00019         virtual bool IsOldData() {return false;}
00020         virtual bool IsTransaction() {return false;}
00021 };
00022 
00023 } // namespace
00024 
00025 #endif
 All Classes Functions Variables