iCub-main
|
#include <FakeSimulation.h>
Public Member Functions | |
virtual void | init (RobotStreamer *streamer, RobotConfig *config) |
Initialization. More... | |
virtual void | drawView (bool left, bool right, bool wide) |
Render the requested view. More... | |
virtual bool | getImage (yarp::sig::ImageOf< yarp::sig::PixelRgb > &img) |
virtual bool | getTrqData (yarp::os::Bottle data) |
virtual void | clearBuffer () |
Signal that we're done with a view. More... | |
virtual void | simLoop (int h, int w) |
Run the simulation. More... | |
virtual bool | checkSync (bool reset) |
![]() | |
virtual | ~Simulation () |
Destructor. More... | |
Definition at line 28 of file FakeSimulation.h.
|
inlinevirtual |
Implements Simulation.
Definition at line 49 of file FakeSimulation.h.
|
inlinevirtual |
Signal that we're done with a view.
Implements Simulation.
Definition at line 44 of file FakeSimulation.h.
|
inlinevirtual |
|
virtual |
Implements Simulation.
Definition at line 43 of file FakeSimulation.cpp.
|
virtual |
Implements Simulation.
Definition at line 37 of file FakeSimulation.cpp.
|
inlinevirtual |
Initialization.
Passed a streamer object, which during simulation will be called back to transport vision, touch, and inertial information.
Implements Simulation.
Definition at line 33 of file FakeSimulation.h.
|
virtual |
Run the simulation.
This will not return until the simulation is terminated. This method creates a window for the simulation, and will process keyboard and mouse events related to that window.
Implements Simulation.
Definition at line 26 of file FakeSimulation.cpp.