|
Public Member Functions |
|
| LGmixin () |
| | Constructor.
|
|
virtual | ~LGmixin () |
| | Destructor.
|
Static Public Member Functions |
|
static void | uploadFile (const std::string &filename, bool display=false, bool isImage=false) |
| | Upload a file from the AIBO to the Looking Glass client.
|
|
static void | displayHtmlFile (const std::string &remoteFilename) |
| | Display an HTML file on the Looking Glass.
|
|
static void | displayImageFile (const std::string &remoteFilename) |
| | Display a single image file on the Looking Glass (creates a dummy HTML file).
|
|
static void | displayHtmlText (const std::string &text) |
| | Display HTML string on the Looking Glass (creates a dummy HTML file).
|
|
static void | uploadCameraImage (const std::string &remoteFileName) |
| | Upload current camera image to the Looking Glass client as a JPEG file.
|
|
static void | sendCommand (const std::string &command) |
| | For debugging: send an arbitrary command string to the Looking Glass client.
|
|
static void | uploadSketch (const DualCoding::Sketch< DualCoding::uchar > &sketch, const std::string &remoteFilename) |
| | Upload a sketch as a PNG file to the Looking Glass client (not implemented yet).
|
Static Protected Attributes |
|
static unsigned int | instanceCount = 0 |
| | count of LGmixin instances -- when this hits zero, close the socket
|
|
static Socket * | LGsock = NULL |
| | socket to talk to Looking Glass server
|
Private Member Functions |
|
| LGmixin (const LGmixin &) |
| | never call this
|
|
LGmixin & | operator= (const LGmixin &) |
| | never call this
|
Static Private Attributes |
|
static LGmixin * | theOne = NULL |
| | used so static member functions can access non-static members
|
|
static const unsigned int | LGbufferSize = 80000 |
| | maximum send buffer size
|
|
static const unsigned int | LGport = 10100 |
| | port number to listen on
|