YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
WorldInterfaceServer Class Reference

#include <messages/ISimulatedWorldMsgs/idl_generated_code/WorldInterfaceServer.h>

+ Inheritance diagram for WorldInterfaceServer:

Public Member Functions

virtual yarp::os::ApplicationNetworkProtocolVersion getLocalProtocolVersion ()
 
virtual yarp::os::ApplicationNetworkProtocolVersion getRemoteProtocolVersion ()
 
virtual bool checkProtocolVersion ()
 
 WorldInterfaceServer ()
 
virtual yarp::dev::ReturnValue makeSphere (const double radius, const Pose &pose, const Color &color, const std::string &frame_name="", const std::string &object_name="", const bool gravity_enable=false, const bool collision_enable=true)
 
virtual yarp::dev::ReturnValue makeBox (const double width, const double height, const double thickness, const Pose &pose, const Color &color, const std::string &frame_name="", const std::string &object_name="", const bool gravity_enable=false, const bool collision_enable=true)
 
virtual yarp::dev::ReturnValue makeCylinder (const double radius, const double length, const Pose &pose, const Color &color, const std::string &frame_name="", const std::string &object_name="", const bool gravity_enable=false, const bool collision_enable=true)
 
virtual yarp::dev::ReturnValue makeFrame (const double size, const Pose &pose, const Color &color, const std::string &frame_name="", const std::string &object_name="", const bool gravity_enable=false, const bool collision_enable=true)
 
virtual yarp::dev::ReturnValue changeColor (const std::string &id, const Color &color)
 
virtual yarp::dev::ReturnValue setPose (const std::string &id, const Pose &pose, const std::string &frame_name="")
 
virtual yarp::dev::ReturnValue enableGravity (const std::string &id, const bool enable)
 
virtual yarp::dev::ReturnValue enableCollision (const std::string &id, const bool enable)
 
virtual yarp::dev::ReturnValue getPose (const std::string &id, const std::string &frame_name="")
 
virtual yarp::dev::ReturnValue loadModelFromFile (const std::string &filename)
 
virtual yarp::dev::ReturnValue loadModelFromFileWithPose (const std::string &filename, const Pose &pose, const std::string &object_name="", const double timeout=2.000000)
 
virtual yarp::dev::ReturnValue deleteObject (const std::string &id)
 
virtual yarp::dev::ReturnValue deleteAll ()
 
virtual yarp::dev::ReturnValue getList (const std::vector< std::string > &idlist)
 
virtual yarp::dev::ReturnValue attach (const std::string &id, const std::string &link_name)
 
virtual yarp::dev::ReturnValue detach (const std::string &id)
 
virtual yarp::dev::ReturnValue rename (const std::string &old_name, const std::string &new_name)
 
virtual std::vector< std::string > help (const std::string &functionName="--all")
 
bool read (yarp::os::ConnectionReader &connection) override
 Read this object from a network connection.
 
- Public Member Functions inherited from yarp::os::Wire
yarp::os::WireLink & yarp ()
 Get YARP state associated with this object.
 
const yarp::os::WireLink & yarp () const
 Get YARP state associated with this object (const version).
 
- Public Member Functions inherited from yarp::os::PortReader
virtual ~PortReader ()
 Destructor.
 
virtual Type getReadType () const
 

Detailed Description

Definition at line 21 of file WorldInterfaceServer.h.

Constructor & Destructor Documentation

◆ WorldInterfaceServer()

WorldInterfaceServer::WorldInterfaceServer ( )

Definition at line 4090 of file WorldInterfaceServer.cpp.

Member Function Documentation

◆ attach()

yarp::dev::ReturnValue WorldInterfaceServer::attach ( const std::string &  id,
const std::string &  link_name 
)
virtual

Definition at line 4235 of file WorldInterfaceServer.cpp.

◆ changeColor()

yarp::dev::ReturnValue WorldInterfaceServer::changeColor ( const std::string &  id,
const Color &  color 
)
virtual

Definition at line 4135 of file WorldInterfaceServer.cpp.

◆ checkProtocolVersion()

bool WorldInterfaceServer::checkProtocolVersion ( )
virtual

Definition at line 80 of file WorldInterfaceServer.cpp.

◆ deleteAll()

yarp::dev::ReturnValue WorldInterfaceServer::deleteAll ( )
virtual

Definition at line 4215 of file WorldInterfaceServer.cpp.

◆ deleteObject()

yarp::dev::ReturnValue WorldInterfaceServer::deleteObject ( const std::string &  id)
virtual

Definition at line 4205 of file WorldInterfaceServer.cpp.

◆ detach()

yarp::dev::ReturnValue WorldInterfaceServer::detach ( const std::string &  id)
virtual

Definition at line 4245 of file WorldInterfaceServer.cpp.

◆ enableCollision()

yarp::dev::ReturnValue WorldInterfaceServer::enableCollision ( const std::string &  id,
const bool  enable 
)
virtual

Definition at line 4165 of file WorldInterfaceServer.cpp.

◆ enableGravity()

yarp::dev::ReturnValue WorldInterfaceServer::enableGravity ( const std::string &  id,
const bool  enable 
)
virtual

Definition at line 4155 of file WorldInterfaceServer.cpp.

◆ getList()

yarp::dev::ReturnValue WorldInterfaceServer::getList ( const std::vector< std::string > &  idlist)
virtual

Definition at line 4225 of file WorldInterfaceServer.cpp.

◆ getLocalProtocolVersion()

yarp::os::ApplicationNetworkProtocolVersion WorldInterfaceServer::getLocalProtocolVersion ( )
virtual

Definition at line 95 of file WorldInterfaceServer.cpp.

◆ getPose()

yarp::dev::ReturnValue WorldInterfaceServer::getPose ( const std::string &  id,
const std::string &  frame_name = "" 
)
virtual

Definition at line 4175 of file WorldInterfaceServer.cpp.

◆ getRemoteProtocolVersion()

yarp::os::ApplicationNetworkProtocolVersion WorldInterfaceServer::getRemoteProtocolVersion ( )
virtual

Definition at line 65 of file WorldInterfaceServer.cpp.

◆ help()

std::vector< std::string > WorldInterfaceServer::help ( const std::string &  functionName = "--all")
virtual

Definition at line 4266 of file WorldInterfaceServer.cpp.

◆ loadModelFromFile()

yarp::dev::ReturnValue WorldInterfaceServer::loadModelFromFile ( const std::string &  filename)
virtual

Definition at line 4185 of file WorldInterfaceServer.cpp.

◆ loadModelFromFileWithPose()

yarp::dev::ReturnValue WorldInterfaceServer::loadModelFromFileWithPose ( const std::string &  filename,
const Pose &  pose,
const std::string &  object_name = "",
const double  timeout = 2.000000 
)
virtual

Definition at line 4195 of file WorldInterfaceServer.cpp.

◆ makeBox()

yarp::dev::ReturnValue WorldInterfaceServer::makeBox ( const double  width,
const double  height,
const double  thickness,
const Pose &  pose,
const Color &  color,
const std::string &  frame_name = "",
const std::string &  object_name = "",
const bool  gravity_enable = false,
const bool  collision_enable = true 
)
virtual

Definition at line 4105 of file WorldInterfaceServer.cpp.

◆ makeCylinder()

yarp::dev::ReturnValue WorldInterfaceServer::makeCylinder ( const double  radius,
const double  length,
const Pose &  pose,
const Color &  color,
const std::string &  frame_name = "",
const std::string &  object_name = "",
const bool  gravity_enable = false,
const bool  collision_enable = true 
)
virtual

Definition at line 4115 of file WorldInterfaceServer.cpp.

◆ makeFrame()

yarp::dev::ReturnValue WorldInterfaceServer::makeFrame ( const double  size,
const Pose &  pose,
const Color &  color,
const std::string &  frame_name = "",
const std::string &  object_name = "",
const bool  gravity_enable = false,
const bool  collision_enable = true 
)
virtual

Definition at line 4125 of file WorldInterfaceServer.cpp.

◆ makeSphere()

yarp::dev::ReturnValue WorldInterfaceServer::makeSphere ( const double  radius,
const Pose &  pose,
const Color &  color,
const std::string &  frame_name = "",
const std::string &  object_name = "",
const bool  gravity_enable = false,
const bool  collision_enable = true 
)
virtual

Definition at line 4095 of file WorldInterfaceServer.cpp.

◆ read()

bool WorldInterfaceServer::read ( yarp::os::ConnectionReader &  reader)
overridevirtual

Read this object from a network connection.

Override this for your particular class.

Parameters
readeran interface to the network connection for reading
Returns
true iff the object is successfully read

Implements yarp::os::PortReader.

Definition at line 4356 of file WorldInterfaceServer.cpp.

◆ rename()

yarp::dev::ReturnValue WorldInterfaceServer::rename ( const std::string &  old_name,
const std::string &  new_name 
)
virtual

Definition at line 4255 of file WorldInterfaceServer.cpp.

◆ setPose()

yarp::dev::ReturnValue WorldInterfaceServer::setPose ( const std::string &  id,
const Pose &  pose,
const std::string &  frame_name = "" 
)
virtual

Definition at line 4145 of file WorldInterfaceServer.cpp.


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