Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
#include <RemoteProcess.h>
Inheritance diagram for RemoteProcess:
RemoteProcess runs on Linux with OPEN_R_SDK installed (and the RemoteProcessingOPENR patch). RemoteProcess talks to the Aibo using OPENR messages. RemoteProcessingOPENR can receive all the OPENR system sensor streams and write to all output streams available on the Aibo.
In short, use this if you're falling short of processing power on the Aibo, and the data you want processed is small in size. It'll help greatly if you're comfortable with OPENR processes and message passing.
Please read the RemoteProcessingOPENR instructions on the main Tekkotsu page for more information.
Definition at line 24 of file RemoteProcess.h.
Public Member Functions | |
RemoteProcess () | |
constructor | |
~RemoteProcess () | |
destructor | |
void | start () |
called when objects are connected (by DoStart). Add user code here. | |
void | data_received (const char *buf) |
called when a message is received (by RPOPENR_notify). Add user code here. | |
virtual OStatus | DoInit (const OSystemEvent &event) |
first call (after constructor), set up memory | |
virtual OStatus | DoStart (const OSystemEvent &event) |
second call, ask for messages | |
virtual OStatus | DoStop (const OSystemEvent &event) |
next to last call, stop sending and receiving messages | |
virtual OStatus | DoDestroy (const OSystemEvent &event) |
last call (before destructor), clean up memory here | |
bool | RPOPENR_isReady () |
indicates whether the Aibo is ready to receive more messages | |
int | RPOPENR_send (char *buf, int bufsize) |
send message to Aibo | |
void | RPOPENR_ready (const OReadyEvent &event) |
OPENR callback for registering when the Aibo is ready for messages. | |
void | RPOPENR_notify (const ONotifyEvent &event) |
OPENR callback for when a message is received from the Aibo. | |
Public Attributes | |
OSubject * | subject [numOfSubject] |
holds information for each of our subjects (data we provide) | |
OObserver * | observer [numOfObserver] |
holds information for each of the sources we're observing | |
bool | RPOPENR_isready |
set to true after RPOPENR_ready() was called |
|
constructor
Definition at line 5 of file RemoteProcess.cc. |
|
destructor
Definition at line 10 of file RemoteProcess.cc. |
|
called when a message is received (by RPOPENR_notify). Add user code here.
Definition at line 28 of file RemoteProcess.cc. Referenced by RPOPENR_notify(). |
|
last call (before destructor), clean up memory here
Definition at line 63 of file RemoteProcess.cc. |
|
first call (after constructor), set up memory
Definition at line 37 of file RemoteProcess.cc. |
|
second call, ask for messages
Definition at line 46 of file RemoteProcess.cc. |
|
next to last call, stop sending and receiving messages
Definition at line 55 of file RemoteProcess.cc. |
|
indicates whether the Aibo is ready to receive more messages
Definition at line 45 of file RemoteProcess.h. Referenced by start(). |
|
OPENR callback for when a message is received from the Aibo.
Definition at line 70 of file RemoteProcess.cc. |
|
OPENR callback for registering when the Aibo is ready for messages.
Definition at line 48 of file RemoteProcess.h. |
|
send message to Aibo
Definition at line 77 of file RemoteProcess.cc. Referenced by start(). |
|
called when objects are connected (by DoStart). Add user code here.
Definition at line 16 of file RemoteProcess.cc. Referenced by DoStart(). |
|
holds information for each of the sources we're observing
Definition at line 37 of file RemoteProcess.h. Referenced by RPOPENR_notify(). |
|
set to true after RPOPENR_ready() was called
Definition at line 44 of file RemoteProcess.h. Referenced by RPOPENR_isReady(), RPOPENR_ready(), and RPOPENR_send(). |
|
holds information for each of our subjects (data we provide)
Definition at line 36 of file RemoteProcess.h. Referenced by RPOPENR_send(). |
Tekkotsu v2.0 |
Generated Wed Jan 21 03:23:24 2004 by Doxygen 1.3.4 |