Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

phWifiData.h

Go to the documentation of this file.
00001 #ifndef PHWIFIDATA_H
00002 #define PHWIFIDATA_H
00003 
00004 #include <stdint.h>
00005 #include <phLiveObject.h>
00006 #include <phWifiLinkData.h>
00007 #include <playerc.h>
00008 
00009 /* ------------------------------------------------------------------------ */
00010 class phWifiData : public phLiveObject
00011 {
00012 private:
00013     playerc_wifi_link_t    *m_links;
00014     uint32_t                m_links_size;
00015     uint32_t                m_link_count;
00016 
00017     phWifiLinkData        **m_link_data;
00018     uint32_t                m_link_data_size;
00019 
00020 public:
00021     phWifiData();
00022     ~phWifiData();
00023 
00024     int copy( phObject *copyto_obj);
00025     int swap( phObject *obj);
00026 
00027     int copyData( phWifiData &copyfrom );
00028     int swapData( phWifiData &data );
00029 
00030     int reset();
00031 
00032     int             set(uint32_t link_count,
00033                         playerc_wifi_link_t *links );
00034 
00035     int             get(uint32_t *link_count,
00036                         playerc_wifi_link_t *links );
00037 
00038     phWifiLinkData  *getLink(uint32_t link_id);
00039 
00040     uint32_t        getLinkCount();
00041 
00042     phLiveObject    *getSource( uint32_t link_id );
00043 
00044     void            print_data( );
00045 };
00046 
00047 #endif /* PHWIFIDATA_H */




Copyright (C) 2002 - 2007 Philip D.S. Thoren ( pthoren@users.sourceforge.net )
University Of Massachusetts at Lowell
Robotics Lab
SourceForge.net Logo

Generated on Sat Jun 16 02:44:07 2007 for phission by  doxygen 1.4.4