Cheetah Software
1.0
|
#include <SimulatorMessage.h>
Public Member Functions | |
void | init () |
void | waitForSimulator () |
void | simulatorIsDone () |
void | waitForRobot () |
bool | tryWaitForRobot () |
bool | waitForRobotWithTimeout () |
void | robotIsDone () |
Private Attributes | |
SharedMemorySemaphore | robotToSimSemaphore |
SharedMemorySemaphore | simToRobotSemaphore |
Additional Inherited Members |
A SimulatorSyncronizedMessage is stored in shared memory and is accessed by both the simulator and the robot The simulator and robot take turns have exclusive access to the entire message. The intended sequence is:
Definition at line 87 of file SimulatorMessage.h.
|
inline |
The init() method should only be called after shared memory is connected!
Definition at line 91 of file SimulatorMessage.h.
|
inline |
Definition at line 108 of file SimulatorMessage.h.
|
inline |
Definition at line 98 of file SimulatorMessage.h.
|
inline |
Definition at line 102 of file SimulatorMessage.h.
|
inline |
Definition at line 100 of file SimulatorMessage.h.
|
inline |
Definition at line 104 of file SimulatorMessage.h.
|
inline |
Definition at line 96 of file SimulatorMessage.h.
|
private |
Definition at line 111 of file SimulatorMessage.h.
|
private |
Definition at line 111 of file SimulatorMessage.h.