iCub-main
Public Member Functions | List of all members
SimulatorModule Class Reference

#include <SimulatorModule.h>

+ Inheritance diagram for SimulatorModule:

Public Member Functions

 SimulatorModule (WorldManager &world, RobotConfig &config, Simulation *sim)
 
bool open ()
 
bool runModule ()
 
bool closeModule ()
 
bool interruptModule ()
 
bool read (yarp::os::ConnectionReader &connection)
 
bool respond (const yarp::os::Bottle &command, yarp::os::Bottle &reply)
 
virtual void sendVision ()
 
virtual void sendTouchLeftHand (yarp::os::Bottle &report)
 
virtual void sendTouchRightHand (yarp::os::Bottle &report)
 
virtual bool shouldSendTouchLeftHand ()
 
virtual bool shouldSendTouchRightHand ()
 
virtual void sendInertial (yarp::os::Bottle &report)
 
virtual bool shouldSendInertial ()
 
virtual void sendSkinEvents (iCub::skinDynLib::skinContactList &skinContactListReport)
 
virtual bool shouldSendSkinEvents ()
 
virtual void sendTouchLeftArm (yarp::os::Bottle &report)
 
virtual void sendTouchRightArm (yarp::os::Bottle &report)
 
virtual bool shouldSendTouchLeftArm ()
 
virtual bool shouldSendTouchRightArm ()
 
virtual void sendTouchLeftForearm (yarp::os::Bottle &report)
 
virtual void sendTouchRightForearm (yarp::os::Bottle &report)
 
virtual bool shouldSendTouchLeftForearm ()
 
virtual bool shouldSendTouchRightForearm ()
 
virtual void sendTouchTorso (yarp::os::Bottle &report)
 
virtual bool shouldSendTouchTorso ()
 

Detailed Description

Definition at line 46 of file SimulatorModule.h.

Constructor & Destructor Documentation

◆ SimulatorModule()

SimulatorModule::SimulatorModule ( WorldManager world,
RobotConfig config,
Simulation sim 
)

Definition at line 56 of file SimulatorModule.cpp.

Member Function Documentation

◆ closeModule()

bool SimulatorModule::closeModule ( )

Definition at line 192 of file SimulatorModule.cpp.

◆ interruptModule()

bool SimulatorModule::interruptModule ( )

Definition at line 259 of file SimulatorModule.cpp.

◆ open()

bool SimulatorModule::open ( )

Definition at line 579 of file SimulatorModule.cpp.

◆ read()

bool SimulatorModule::read ( yarp::os::ConnectionReader &  connection)

Definition at line 294 of file SimulatorModule.cpp.

◆ respond()

bool SimulatorModule::respond ( const yarp::os::Bottle &  command,
yarp::os::Bottle &  reply 
)

Definition at line 305 of file SimulatorModule.cpp.

◆ runModule()

bool SimulatorModule::runModule ( )

Definition at line 641 of file SimulatorModule.cpp.

◆ sendInertial()

void SimulatorModule::sendInertial ( yarp::os::Bottle &  report)
virtual

Implements RobotStreamer.

Definition at line 177 of file SimulatorModule.cpp.

◆ sendSkinEvents()

void SimulatorModule::sendSkinEvents ( iCub::skinDynLib::skinContactList skinContactListReport)
virtual

Implements RobotStreamer.

Definition at line 108 of file SimulatorModule.cpp.

◆ sendTouchLeftArm()

void SimulatorModule::sendTouchLeftArm ( yarp::os::Bottle &  report)
virtual

Implements RobotStreamer.

Definition at line 121 of file SimulatorModule.cpp.

◆ sendTouchLeftForearm()

void SimulatorModule::sendTouchLeftForearm ( yarp::os::Bottle &  report)
virtual

Implements RobotStreamer.

Definition at line 143 of file SimulatorModule.cpp.

◆ sendTouchLeftHand()

void SimulatorModule::sendTouchLeftHand ( yarp::os::Bottle &  report)
virtual

Implements RobotStreamer.

Definition at line 84 of file SimulatorModule.cpp.

◆ sendTouchRightArm()

void SimulatorModule::sendTouchRightArm ( yarp::os::Bottle &  report)
virtual

Implements RobotStreamer.

Definition at line 128 of file SimulatorModule.cpp.

◆ sendTouchRightForearm()

void SimulatorModule::sendTouchRightForearm ( yarp::os::Bottle &  report)
virtual

Implements RobotStreamer.

Definition at line 150 of file SimulatorModule.cpp.

◆ sendTouchRightHand()

void SimulatorModule::sendTouchRightHand ( yarp::os::Bottle &  report)
virtual

Implements RobotStreamer.

Definition at line 91 of file SimulatorModule.cpp.

◆ sendTouchTorso()

void SimulatorModule::sendTouchTorso ( yarp::os::Bottle &  report)
virtual

Implements RobotStreamer.

Definition at line 165 of file SimulatorModule.cpp.

◆ sendVision()

void SimulatorModule::sendVision ( )
virtual

Implements RobotStreamer.

Definition at line 188 of file SimulatorModule.cpp.

◆ shouldSendInertial()

bool SimulatorModule::shouldSendInertial ( )
virtual

Implements RobotStreamer.

Definition at line 184 of file SimulatorModule.cpp.

◆ shouldSendSkinEvents()

bool SimulatorModule::shouldSendSkinEvents ( )
virtual

Implements RobotStreamer.

Definition at line 117 of file SimulatorModule.cpp.

◆ shouldSendTouchLeftArm()

bool SimulatorModule::shouldSendTouchLeftArm ( )
virtual

Implements RobotStreamer.

Definition at line 135 of file SimulatorModule.cpp.

◆ shouldSendTouchLeftForearm()

bool SimulatorModule::shouldSendTouchLeftForearm ( )
virtual

Implements RobotStreamer.

Definition at line 157 of file SimulatorModule.cpp.

◆ shouldSendTouchLeftHand()

bool SimulatorModule::shouldSendTouchLeftHand ( )
virtual

Implements RobotStreamer.

Definition at line 98 of file SimulatorModule.cpp.

◆ shouldSendTouchRightArm()

bool SimulatorModule::shouldSendTouchRightArm ( )
virtual

Implements RobotStreamer.

Definition at line 139 of file SimulatorModule.cpp.

◆ shouldSendTouchRightForearm()

bool SimulatorModule::shouldSendTouchRightForearm ( )
virtual

Implements RobotStreamer.

Definition at line 161 of file SimulatorModule.cpp.

◆ shouldSendTouchRightHand()

bool SimulatorModule::shouldSendTouchRightHand ( )
virtual

Implements RobotStreamer.

Definition at line 102 of file SimulatorModule.cpp.

◆ shouldSendTouchTorso()

bool SimulatorModule::shouldSendTouchTorso ( )
virtual

Implements RobotStreamer.

Definition at line 172 of file SimulatorModule.cpp.


The documentation for this class was generated from the following files: