Package rp1.simulator

Provides classes to be used for the RP1 simulator internals.

See:
          Description

Interface Summary
SimStateDataInterface Specifies the interface needed by the SimStateDataExchange.
 

Class Summary
SimActuatorControlRequestHandler Handles specific client requests.
SimAnimationEvent A custom AWT event sent to SimCanvas when it is time to render a new animation frame.
SimBodyHandler A callback invoked once per client connection when a body-description is received.
SimCanvas The canvas on which the simulation picture is rendered; contains the high-level rendering methods.
SimClearAllPaintBoxesTask A task queued when the user selects the clear paint boxes menu item.
SimClient  
SimClientLauncherTask A task used to launch dynamically loaded clients.
SimClientListenerTask A task used to establish clients when they connect to the simulator/server through a remote connection; also establishes a separate thread for listening to new client connection attempts.
SimEncoderStatusRequestHandler Handles specific client requests.
SimEncoderStatusTask A task queued by a SimClient in response to a RsEncoderStatusRequest.
SimFrame The main frame for the RP1 GUI.
SimHaltRequestHandler Handles specific client requests.
SimHeartbeatRequestHandler Handles specific client requests.
SimHeartbeatTask A task for generating heartbeats in response to client requests (one per client).
SimMenuBar The main menu bar for the RP1 GUI.
SimMotionRequestHandler Handles specific client requests.
SimMotionTask A task for scheduling and managing all client motion computations; this is a self-recycling task and only one is allowed on the task queue at any time.
SimMouseClickTask A task queued by SimCanvas in response to a mouse click, ultimately sends a mouse-click event to clients.
SimMouseListener An AWT listener that monitors mouse clicks.
SimPaintBox The main class for managing paint data generated by clients.
SimPainterChangeRequestHandler Handles specific client requests.
SimPainterChangeTask A task queued by a SimClient in response to a RsPainterChangeRequest.
SimPanel A panel in the main RP1 GUI.
SimPlacementRequestHandler Handles specific client requests.
SimPlacementTask  
SimPlanRequestHandler Handles specific client requests.
SimPlanTask A task queued when a SimClient requests a plan.
SimPositionRequestHandler Handles specific client requests.
SimPositionTask A task queued by SimClient in response to a RsPositionRequest.
SimProperties Used to read properties for simulation.
SimProtocolShutdownHandler A callback invoked to clean up resources when a client disconnects.
SimScheduler A time-driven task queue that provides the backbone of the RP1 simulator; this class extends SimTaskQueue by adding clock-driven delays between sunsequent tasks so that they are executed according to a time sequence.
SimSensorRequestHandler Handles specific client requests.
SimSensorTask A task queued by SimClient to in response to a request for sensor status information.
SimSession The main class providing session data and related methods.
SimStartMotionTask A task queued by SimClient to in response to a RsMotionRequest or other client-initiated motion control requests.
SimStateDataExchange Provides a temporary repository for state data (body states and paint box information) to allow different threads to transfer state data; currently used to transfer information from the main session thread to SimCanvas thread for rendering.
SimStopMotionTask A task queued by SimClient in response to a RsMotionRequest or other client-initiated motion control requests.
SimTargetSelectionRequestHandler Handles specific client requests.
SimTask Provides the base class for all simulator tasks.
SimTaskQueue Provides queue of objects of type SimTask; this class is extended by SimScheduler to provide the backbone of the RP1 simulation.
SimTimeoutRequestHandler Handles specific client requests.
SimTimeoutTask A task queued by SimClient in response to a RsTimeoutRequest.
 

Exception Summary
SimPropertiesException An exception issued n response to improper properties specifications.
 

Package rp1.simulator Description

Provides classes to be used for the RP1 simulator internals. Developers who are interested interested in developing client applications, but do not wish to examine the internals of the RP1 simulator itself should refer to the documentation for @link rp1.rossum .

Organization

The key classes in this package are the Scheduler SimScheduler.java, the Session SimSession.java, and the Client Interface SimClient.java. Rendering is accomplished in SimCanvas.java.

Related Documentation

For overviews, tutorials, examples, guides, and tool documentation, please see: