YARP
Yet Another Robot Platform
yarp::dev::IWrapper Class Referenceabstract

Interface for an object that can wrap/or "attach" to another. More...

#include <yarp/dev/IWrapper.h>

+ Inheritance diagram for yarp::dev::IWrapper:

Public Member Functions

virtual ~IWrapper ()
 Destructor. More...
 
virtual bool attach (PolyDriver *driver)=0
 Attach to another object. More...
 
virtual bool detach ()=0
 Detach the object (you must have first called attach). More...
 

Detailed Description

Interface for an object that can wrap/or "attach" to another.

This is useful for example when an object refers internally to another device, but you want to decouple the creation of the two objects. In this case you first creates the two objects separately then you can attach one to the other.

Definition at line 24 of file IWrapper.h.

Constructor & Destructor Documentation

◆ ~IWrapper()

yarp::dev::IWrapper::~IWrapper ( )
virtualdefault

Destructor.

Member Function Documentation

◆ attach()

◆ detach()


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