Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Socket.h File Reference


Detailed Description

Defines Tekkotsu wireless Socket class, also sout and serr.

Author:
alokl (Creator)
Author
ejt
Name
tekkotsu-3_0
Revision
1.27
State
Exp
Date
2006/10/03 22:32:49

Definition in file Socket.h.

#include <ant.h>
#include <Types.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string>

Include dependency graph for Socket.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  SocketNS

Classes

class  Socket
 Tekkotsu wireless Socket class. More...

Enumerations

enum  SocketNS::TransportType_t { SocketNS::SOCK_STREAM = _SYS_SOCK_STREAM, SocketNS::SOCK_DGRAM = _SYS_SOCK_DGRAM }
 Specifies transport type. TCP is usually a good idea. More...
enum  SocketNS::ConnectionState {
  SocketNS::CONNECTION_CLOSED, SocketNS::CONNECTION_CONNECTING, SocketNS::CONNECTION_CONNECTED, SocketNS::CONNECTION_LISTENING,
  SocketNS::CONNECTION_CLOSING, SocketNS::CONNECTION_ERROR
}
 Internal TCP/UDP Connection State. More...
enum  SocketNS::FlushType_t { SocketNS::FLUSH_NONBLOCKING = 0, SocketNS::FLUSH_BLOCKING }
 Chooses between blocking and non-blocking Wireless Input, Output. Blocking wireless output from the main process will affect the performance of the Aibo, and should only be used for debugging purposes. More...

Variables

const int SocketNS::_SYS_SOCK_STREAM = 1
 aperios doesn't provide SOCK_STREAM, so we will initialize them to these values
const int SocketNS::_SYS_SOCK_DGRAM = 2
 aperios doesn't provide SOCK_DGRAM, so we will initialize them to these values
Socketsout
 the standard tekkotsu in/out console (default port 10001)
Socketserr
 the standard tekkotsu error output (default port 10002)


Variable Documentation

the standard tekkotsu error output (default port 10002)

Definition at line 18 of file Socket.cc.

Referenced by WalkCalibration::addSample(), JPEGGenerator::calcImage(), PNGGenerator::calcImage(), StewartPlatformBehavior::callback(), EventLogger::checkLogFile(), SensorObserverControl::checkLogFile(), ProjectInterface::displayException(), StateNode::DoStart(), StateNode::DoStop(), HeadPointerMC::ensureValidJoint(), WalkCalibration::err(), JPEGGenerator::getBinSize(), PNGGenerator::getBinSize(), Kinematics::getInterestPoint(), Controller::init(), Kinematics::initStatics(), HeadPointerMC::isAlive(), PostureMC::isAlive(), StewartPlatformBehavior::isConnected(), CDTGenerator::loadBuffer(), InterleavedYUVGenerator::loadBuffer(), JPEGGenerator::loadBuffer(), PNGGenerator::loadBuffer(), RawCameraGenerator::loadBuffer(), RegionGenerator::loadBuffer(), RLEGenerator::loadBuffer(), SegmentedColorGenerator::loadBuffer(), SegmentedColorGenerator::loadColorInfo(), SegmentedColorGenerator::loadThresholdMap(), Kinematics::lookup(), Kinematics::newChain(), MotionSequenceMC< MAXMOVE >::newKeyFrame(), ValueEditControl< T >::pause(), BallDetectionGenerator::processEvent(), CDTGenerator::processEvent(), EchoBehavior::processEvent(), FilterBankGenerator::processEvent(), FlashIPAddrBehavior::processEvent(), FreeMemReportControl::processEvent(), PostureEditor::processEvent(), RawCamBehavior::processEvent(), RawCameraGenerator::processEvent(), RegionGenerator::processEvent(), SegCamBehavior::processEvent(), SensorObserverControl::processEvent(), SpiderMachineBehavior::processEvent(), ValueEditControl< T >::processEvent(), EventLogger::processStateMachineEvent(), LoadCalibration::readData(), LoadCalibration::readMaxs(), CameraStreamBehavior::receiveData(), FilterBankGenerator::refresh(), NetworkStatusControl::refresh(), RegionGenerator::RegionGenerator(), WMMonitorBehavior::registerData(), FreeMemReportControl::report(), WMMonitorBehavior::report(), EStopControllerBehavior::runCommand(), EventLogger::runCommand(), SpiderMachineBehavior::runCommand(), CDTGenerator::saveBuffer(), InterleavedYUVGenerator::saveBuffer(), JPEGGenerator::saveBuffer(), PNGGenerator::saveBuffer(), RawCameraGenerator::saveBuffer(), RegionGenerator::saveBuffer(), RLEGenerator::saveBuffer(), SegmentedColorGenerator::saveBuffer(), RawCameraGenerator::saveFileStream(), StewartPlatformBehavior::sax_error(), StewartPlatformBehavior::sax_fatal_error(), StewartPlatformBehavior::sax_start_element(), StewartPlatformBehavior::sax_warning(), DumpFileControl::selectedFile(), LoadWalkControl::selectedFile(), CameraStreamBehavior::sendSensors(), StewartPlatformBehavior::setParam(), RawCamBehavior::setupServer(), RegionCamBehavior::setupServer(), SegCamBehavior::setupServer(), BatteryMonitorBehavior::startWarning(), BatteryMonitorBehavior::stopWarning(), ControlBase::takeInput(), SaveWalkControl::takeInput(), Controller::takeLine(), EmergencyStopMC::trigger(), Socket::write(), and StateNode::~StateNode().


Tekkotsu v3.0
Generated Wed Oct 4 00:04:38 2006 by Doxygen 1.4.7