|
Last change
on this file since 650 was 502, checked in by frichard, 15 years ago |
|
-BAOControl : petite interface permettant de contrôler les antennes via le pilote indi_BAO
-Le pilote indi_BAO utilise désormais indilib v 0.7
|
-
Property svn:executable
set to
*
|
|
File size:
449 bytes
|
| Line | |
|---|
| 1 | // Definition of the ClientSocket class
|
|---|
| 2 |
|
|---|
| 3 | #ifndef ClientSocket_class
|
|---|
| 4 | #define ClientSocket_class
|
|---|
| 5 |
|
|---|
| 6 | #include "Socket.h"
|
|---|
| 7 |
|
|---|
| 8 | struct Position
|
|---|
| 9 | {
|
|---|
| 10 | int x;
|
|---|
| 11 | int y;
|
|---|
| 12 | };
|
|---|
| 13 |
|
|---|
| 14 | class ClientSocket : private Socket
|
|---|
| 15 | {
|
|---|
| 16 | public:
|
|---|
| 17 |
|
|---|
| 18 | ClientSocket ( std::string host, int port );
|
|---|
| 19 | virtual ~ClientSocket(){};
|
|---|
| 20 |
|
|---|
| 21 | const ClientSocket& operator << ( const std::string& ) const;
|
|---|
| 22 | const ClientSocket& operator >> ( std::string& ) const;
|
|---|
| 23 |
|
|---|
| 24 | void recv( std::string& s );
|
|---|
| 25 | };
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.