WPILib 2012
WPILibRoboticsLibraryforFRC
NetworkTables/TableEntry.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_ENTRY_H__
00008 #define __TABLE_ENTRY_H__
00009 
00010 #include "NetworkTables/Entry.h"
00011 #include <vxWorks.h>
00012 
00013 class NetworkTable;
00014 
00015 namespace NetworkTables
00016 {
00017 class Buffer;
00018 
00019 class TableEntry : public Entry
00020 {
00021 public:
00022         TableEntry(NetworkTable *value);
00023         virtual NetworkTables_Types GetType();
00024         virtual void Encode(Buffer *buffer);
00025         virtual NetworkTable *GetTable();
00026 
00027 private:
00028         NetworkTable *m_value;
00029 };
00030 
00031 } // namespace
00032 
00033 #endif
 All Classes Functions Variables