WPILib 2012
WPILibRoboticsLibraryforFRC
NetworkTables/TableAssignment.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 __TABLE_ASSIGNMENT_H__
00008 #define __TABLE_ASSIGNMENT_H__
00009 
00010 #include "NetworkTables/Data.h"
00011 
00012 class NetworkTable;
00013 
00014 namespace NetworkTables
00015 {
00016 
00017 class Buffer;
00018 
00019 class TableAssignment : public Data
00020 {
00021 public:
00022         TableAssignment(NetworkTable *table, int alteriorId);
00023         virtual void Encode(Buffer *buffer);
00024 
00025 private:
00026         NetworkTable *m_table;
00027         int m_alteriorId;
00028 };
00029 
00030 } // namespace
00031 
00032 #endif
 All Classes Functions Variables