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

phPlayerWifi.h

Go to the documentation of this file.
00001 #ifndef PHPLAYERWIFI_H
00002 #define PHPLAYERWIFI_H
00003 
00004 #include <phPlayerDevice.h>
00005 #include <phWifiData.h>
00006 #include <phWifiLinkData.h>
00007 
00008 typedef struct ph_player_wifi_t *ph_player_wifi;
00009 
00010 /* ------------------------------------------------------------------------ */
00011 class phPlayerWifi : public phPlayerDevice
00012 {
00013 private:
00014     ph_player_wifi     m_wifi;
00015 
00016     phWifiData         *m_data;
00017 
00018 public:
00019     phPlayerWifi    ( );
00020     phPlayerWifi    ( int index, phPlayerClient *client );
00021     ~phPlayerWifi   ( );
00022     
00023     int set         ( int index, phPlayerClient *client );
00024     
00025     int subscribe   ( int access, int index, phPlayerClient *client);
00026     int subscribe   ( int access  = phMODE_READ);
00027     int unsubscribe ();
00028 
00029     playerc_wifi_link_t getLink( uint32_t link_id );
00030 
00031     int getData( phWifiData &data );
00032     int getData( uint32_t link_id,
00033                  phWifiLinkData &data );
00034    
00035     void            *getId();
00036     int             updateData();
00037 };
00038 
00039 #endif /* PHPLAYERWIFI_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