| Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
Wireless Class Reference#include <Wireless.h>
Detailed DescriptionTekkotsu wireless class.For more information on using wireless, please read the following tutorials:
The networking interface needs more documentation. It also needs a cleanup. In the mean time, take a look at the TekkotsuMon objects in Tekkotsu
Definition at line 35 of file Wireless.h.
Constructor & Destructor Documentation
constructor - only one wireless object is required per Aperios process. MMCombo already creates one. The (global) instance is called wireless, and you can access it by including Wireless/Wireless.h (this file) in your code Definition at line 20 of file Wireless.cc.
don't call
Member Function Documentation
callback function for communicating with Aperios Networking Toolkit. You should not call this. Definition at line 253 of file Wireless.cc.
Definition at line 358 of file Wireless.cc. Referenced by Socket::flush().
helper function for the function with the same name that takes a socket descriptor (int)
Definition at line 118 of file Wireless.h.
helper function for the function with the same name that takes a socket descriptor (int)
Definition at line 117 of file Wireless.h.
closes and destroys non server, daemon sockets
Definition at line 512 of file Wireless.cc. Referenced by close(), StewartPlatformBehavior::closeComm(), SegCamBehavior::closeServer(), RegionCamBehavior::closeServer(), RawCamBehavior::closeServer(), SpeakerServer::DoStart(), MicrophoneServer::DoStart(), WorldStateSerializerBehavior::DoStop(), WMMonitorBehavior::DoStop(), WalkControllerBehavior::DoStop(), UPennWalkControllerBehavior::DoStop(), SpiderMachineBehavior::DoStop(), SpeakerServer::DoStop(), MicrophoneServer::DoStop(), HeadPointControllerBehavior::DoStop(), EStopControllerBehavior::DoStop(), Controller::DoStop(), ReceiveCont(), SendCont(), EchoBehavior::teardownNetwork(), EventLogger::~EventLogger(), and LGmixin::~LGmixin().
callback function for communicating with Aperios Networking Toolkit. You should not call this. Definition at line 569 of file Wireless.cc.
helper function for the function with the same name that takes a socket descriptor (int)
Definition at line 115 of file Wireless.h.
helper function for the function with the same name that takes a socket descriptor (int)
Definition at line 113 of file Wireless.h.
The socket tries to connect to a specific. Tell the ipstack we want to recieve messages with this function. Definition at line 137 of file Wireless.cc. Referenced by connect(), EchoBehavior::processCallback(), EchoBehavior::processEvent(), and ReceiveCont().
callback function for communicating with Aperios Networking Toolkit. You should not call this. Definition at line 222 of file Wireless.cc.
helper function for the function with the same name that takes a socket descriptor (int)
Definition at line 110 of file Wireless.h.
helper function for the function with the same name that takes a socket descriptor (int)
Definition at line 109 of file Wireless.h.
sets the socket to be a daemon (recycles on close)
Definition at line 81 of file Wireless.h. Referenced by getDaemon().
helper function for the function with the same name that takes a socket descriptor (int)
Definition at line 546 of file Wireless.cc. Referenced by FlashIPAddrBehavior::setupSequence().
helper function for the function with the same name that takes a socket descriptor (int)
Definition at line 119 of file Wireless.h.
utility function that you can use if you're curious about the state of the socket. You shouldn't need to use it, since asking sockets for write and read buffers does the necessary sanity checks Definition at line 98 of file Wireless.h.
utility function that you can use if you're curious about the state of the socket. You shouldn't need to use it, since asking sockets for write and read buffers does the necessary sanity checks Definition at line 90 of file Wireless.h. Referenced by SegCamBehavior::closeServer(), RawCamBehavior::closeServer(), Controller::console_callback(), StringInputControl::doReadStdIn(), ControlBase::doReadStdIn(), StewartPlatformBehavior::isConnected(), EventLogger::logImage(), EventLogger::logMessage(), EventLogger::logWebcam(), EchoBehavior::processCallback(), WorldStateSerializerBehavior::processEvent(), SpiderMachineBehavior::processEvent(), SegCamBehavior::processEvent(), RegionCamBehavior::processEvent(), RawCamBehavior::processEvent(), MicrophoneServer::processEvent(), EventLogger::processEvent(), EchoBehavior::processEvent(), ConnectionMadeTrans::processEvent(), EventLogger::processStateMachineEvent(), WalkCalibration::refresh(), ValueEditControl< T >::refresh(), ControlBase::refresh(), BatteryCheckControl::refresh(), EchoBehavior::teardownNetwork(), and LGmixin::uploadFile().
utility function that you can use if you're curious about the state of the socket. You shouldn't need to use it, since asking sockets for write and read buffers does the necessary sanity checks Definition at line 93 of file Wireless.h.
utility function that you can use if you're curious about the state of the socket. You shouldn't need to use it, since asking sockets for write and read buffers does the necessary sanity checks Definition at line 97 of file Wireless.h.
helper function for the function with the same name that takes a socket descriptor (int)
Definition at line 112 of file Wireless.h.
helper function for the function with the same name that takes a socket descriptor (int)
Definition at line 111 of file Wireless.h.
The socket waits for incoming connections. That is, it acts like a server. If a connection is established and later broken, it resumes waiting for new connections if the socket's daemon flag is set. Definition at line 88 of file Wireless.cc. Referenced by CloseCont(), WorldStateSerializerBehavior::DoStart(), WMMonitorBehavior::DoStart(), WalkControllerBehavior::DoStart(), UPennWalkControllerBehavior::DoStart(), StewartPlatformBehavior::DoStart(), SpiderMachineBehavior::DoStart(), SpeakerServer::DoStart(), MicrophoneServer::DoStart(), HeadPointControllerBehavior::DoStart(), EStopControllerBehavior::DoStart(), Controller::DoStart(), EventLogger::EventLogger(), LGmixin::LGmixin(), listen(), EchoBehavior::setupNetwork(), SegCamBehavior::setupServer(), RegionCamBehavior::setupServer(), and RawCamBehavior::setupServer().
callback function for communicating with Aperios Networking Toolkit. You should not call this. Definition at line 186 of file Wireless.cc.
function for internal and Socket use. You should not call this
Definition at line 386 of file Wireless.cc.
function for internal and Socket use. You should not call this
Definition at line 410 of file Wireless.cc. Referenced by ConnectCont(), listen(), ListenCont(), and ReceiveCont().
callback function for communicating with Aperios Networking Toolkit. You should not call this. Definition at line 435 of file Wireless.cc.
function called by the Socket objects to actually write data to the network. You should not call this. Definition at line 282 of file Wireless.cc. Referenced by Socket::flush().
callback function for communicating with Aperios Networking Toolkit. You should not call this. Definition at line 311 of file Wireless.cc. helper function for the function with the same name that takes a socket descriptor (int)
Definition at line 108 of file Wireless.h. helper function for the function with the same name that takes a socket descriptor (int)
Definition at line 107 of file Wireless.h.
sets the socket to be a daemon (recycles on close)
Definition at line 79 of file Wireless.h. Referenced by SegCamBehavior::closeServer(), RegionCamBehavior::closeServer(), RawCamBehavior::closeServer(), WorldStateSerializerBehavior::DoStart(), WMMonitorBehavior::DoStart(), WalkControllerBehavior::DoStart(), UPennWalkControllerBehavior::DoStart(), StewartPlatformBehavior::DoStart(), SpiderMachineBehavior::DoStart(), SpeakerServer::DoStart(), MicrophoneServer::DoStart(), HeadPointControllerBehavior::DoStart(), EStopControllerBehavior::DoStart(), Controller::DoStart(), WorldStateSerializerBehavior::DoStop(), WMMonitorBehavior::DoStop(), WalkControllerBehavior::DoStop(), UPennWalkControllerBehavior::DoStop(), StewartPlatformBehavior::DoStop(), SpiderMachineBehavior::DoStop(), SpeakerServer::DoStop(), MicrophoneServer::DoStop(), HeadPointControllerBehavior::DoStop(), EStopControllerBehavior::DoStop(), Controller::DoStop(), EventLogger::EventLogger(), LGmixin::LGmixin(), setDaemon(), EchoBehavior::setupNetwork(), SegCamBehavior::setupServer(), RegionCamBehavior::setupServer(), RawCamBehavior::setupServer(), EchoBehavior::teardownNetwork(), and EventLogger::~EventLogger().
helper function for the function with the same name that takes a socket descriptor (int)
Definition at line 105 of file Wireless.h.
helper function for the function with the same name that takes a socket descriptor (int)
Definition at line 103 of file Wireless.h.
sets receiver callback for a socket
Definition at line 378 of file Wireless.cc. Referenced by WMMonitorBehavior::DoStart(), WalkControllerBehavior::DoStart(), UPennWalkControllerBehavior::DoStart(), StewartPlatformBehavior::DoStart(), SpiderMachineBehavior::DoStart(), SpeakerServer::DoStart(), HeadPointControllerBehavior::DoStart(), EStopControllerBehavior::DoStart(), Controller::DoStart(), EventLogger::EventLogger(), EchoBehavior::processEvent(), setReceiver(), EchoBehavior::setupNetwork(), SegCamBehavior::setupServer(), and RawCamBehavior::setupServer().
Definition at line 51 of file Wireless.cc.
Creates a new socket.
Definition at line 46 of file Wireless.cc. Referenced by WorldStateSerializerBehavior::DoStart(), WMMonitorBehavior::DoStart(), WalkControllerBehavior::DoStart(), UPennWalkControllerBehavior::DoStart(), StewartPlatformBehavior::DoStart(), SpiderMachineBehavior::DoStart(), SpeakerServer::DoStart(), MicrophoneServer::DoStart(), HeadPointControllerBehavior::DoStart(), EStopControllerBehavior::DoStart(), Controller::DoStart(), EventLogger::EventLogger(), LGmixin::LGmixin(), EchoBehavior::processEvent(), EchoBehavior::setupNetwork(), SegCamBehavior::setupServer(), RegionCamBehavior::setupServer(), and RawCamBehavior::setupServer().
Friends And Related Function Documentation
Member Data Documentation
private ALOKL_TODO
Definition at line 179 of file Wireless.h. Referenced by CloseCont(), socket(), Wireless(), and ~Wireless().
private ALOKL_TODO
Definition at line 166 of file Wireless.h. Referenced by blockingSend(), close(), connect(), getIPAddress(), listen(), receive(), send(), socket(), and Wireless().
the maximum number of connections which can be queued when listening
Definition at line 161 of file Wireless.h.
private ALOKL_TODO
Definition at line 167 of file Wireless.h. Referenced by close(), connect(), listen(), receive(), send(), and Wireless().
private ALOKL_TODO
Definition at line 178 of file Wireless.h. Referenced by BindCont(), blockingSend(), close(), CloseCont(), connect(), ConnectCont(), getDaemon(), hasData(), isConnected(), isError(), isReady(), listen(), ListenCont(), receive(), ReceiveCont(), send(), SendCont(), setDaemon(), setReceiver(), socket(), Wireless(), and ~Wireless().
private ALOKL_TODO
Definition at line 180 of file Wireless.h. Referenced by CloseCont(), socket(), and ~Wireless().
Default number of bytes to use for receive buffers (overridden by value passed to socket()).
Definition at line 41 of file Wireless.h. Referenced by socket().
Default number of bytes to use for send buffers (overridden by value passed to socket()).
Definition at line 44 of file Wireless.h. Referenced by socket().
Maximum number of sockets which can be created.
Definition at line 38 of file Wireless.h. Referenced by blockingSend(), connect(), listen(), receive(), ReceiveCont(), send(), setReceiver(), and Wireless().
The documentation for this class was generated from the following files: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Tekkotsu v3.0 |
Generated Wed Oct 4 00:05:20 2006 by Doxygen 1.4.7 |