Socket.h File Reference
Detailed Description
Defines Tekkotsu wireless Socket class, also sout and serr.
- Author:
- alokl (Creator)
- Author
- ejt
- Name
- tekkotsu-2_2
- Revision
- 1.18
- State
- Exp
- Date
- 2004/10/04 20:38:05
Definition in file Socket.h.
#include <ant.h>
#include <Types.h>
#include <stdarg.h>
#include <stdlib.h>
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.
Enumeration Type Documentation
|
Internal TCP/UDP Connection State.
- Enumeration values:
-
CONNECTION_CLOSED |
|
CONNECTION_CONNECTING |
|
CONNECTION_CONNECTED |
|
CONNECTION_LISTENING |
|
CONNECTION_CLOSING |
|
CONNECTION_ERROR |
|
Definition at line 19 of file Socket.h. |
|
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.
- Enumeration values:
-
FLUSH_NONBLOCKING |
Writes and Reads return immediately, and are processed by another process, so Main can continue to run. Non-blocking reads require specifying a callback function to handle data received. |
FLUSH_BLOCKING |
Blocking writes are a good idea for debugging - a blocking write will be transmitted before execution continues to the next statement. Blocking reads should be avoided, since they'll cause a significant slow down in the main process. |
Definition at line 29 of file Socket.h. |
|
Specifies transport type. TCP is usually a good idea.
- Enumeration values:
-
SOCK_STREAM |
TCP: guaranteed delivery, higher overhead. |
SOCK_DGRAM |
UDP: no guarantees, low overhead. |
Definition at line 13 of file Socket.h. |
Variable Documentation
|
the standard tekkotsu error output (default port 10002)
Definition at line 10 of file Socket.cc.
Referenced by Transition::activate(), WalkCalibration::addSample(), JPEGGenerator::calcImage(), EventLogger::checkLogFile(), SensorObserverControl::checkLogFile(), MMCombo::DoInit(), CrashTestBehavior::DoStart(), FreezeTestBehavior::DoStart(), HelloWorldBehavior::DoStart(), MMCombo::DoStart(), RawCamBehavior::DoStart(), SegCamBehavior::DoStart(), MMCombo::DoStop(), EmergencyStopMC::EmergencyStopMC(), WalkCalibration::err(), Kinematics::getInterestPoint(), Controller::init(), Kinematics::init(), CameraBehavior::initIndex(), CDTGenerator::LoadBuffer(), InterleavedYUVGenerator::LoadBuffer(), JPEGGenerator::LoadBuffer(), RawCameraGenerator::LoadBuffer(), RegionGenerator::LoadBuffer(), RLEGenerator::LoadBuffer(), SegmentedColorGenerator::LoadBuffer(), SegmentedColorGenerator::loadColorInfo(), SegmentedColorGenerator::loadThresholdMap(), Kinematics::lookup(), MotionSequenceMC< MAXMOVE >::newKeyFrame(), CameraBehavior::openNextFile(), ValueEditControl< T >::pause(), BallDetectionGenerator::processEvent(), CameraBehavior::processEvent(), FreeMemReportControl::processEvent(), KinematicSampleBehavior::processEvent(), KinematicSampleBehavior2::processEvent(), PostureEditor::processEvent(), RegionGenerator::processEvent(), StareAtPawBehavior::processEvent(), StareAtPawBehavior2::processEvent(), ValueEditControl< T >::processEvent(), LoadCalibration::readData(), LoadCalibration::readMaxs(), WMMonitorBehavior::registerData(), FreeMemReportControl::report(), WMMonitorBehavior::report(), EStopControllerBehavior::runCommand(), JPEGGenerator::SaveBuffer(), RawCameraGenerator::SaveFileStream(), DumpFileControl::selectedFile(), LoadWalkControl::selectedFile(), ExploreMachine::setup(), BatteryMonitorBehavior::startWarning(), BatteryMonitorBehavior::stopWarning(), ControlBase::takeInput(), SaveWalkControl::takeInput(), Controller::takeLine(), and EmergencyStopMC::trigger(). |
|
the standard tekkotsu in/out console (default port 10001)
Definition at line 9 of file Socket.cc.
Referenced by BatteryCheckControl::activate(), HelpControl::activate(), ProfilerCheckControl::activate(), EventLogger::checkLogFile(), SensorObserverControl::checkLogFile(), ControlBase::clearMenu(), MMCombo::DoInit(), ControlBase::doReadStdIn(), ControlBase::doSelect(), ValueEditControl< T >::doSelect(), WalkCalibration::doSelect(), HelloWorldBehavior::DoStart(), MMCombo::DoStart(), MMCombo::DoStop(), FreeMemReportControl::freeMem(), CameraBehavior::getNextName(), CameraBehavior::initIndex(), WalkMC::LoadBuffer(), SegmentedColorGenerator::loadColorInfo(), WalkCalibration::loadData(), CameraBehavior::processEvent(), EventLogger::processEvent(), SensorObserverControl::processEvent(), WalkCalibration::processEvent(), ControlBase::refresh(), ValueEditControl< T >::refresh(), WaypointWalkControl::refresh(), BatteryCheckControl::report(), FreeMemReportControl::report(), HelpControl::report(), WalkCalibration::report(), WalkCalibration::saveData(), RawCameraGenerator::SaveFileStream(), DumpFileControl::selectedFile(), WalkCalibration::setupMoving(), and ControlBase::takeInput(). |
|