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

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

#include <yarp/dev/IMultipleWrapper.h>

+ Inheritance diagram for yarp::dev::IMultipleWrapper:

Public Member Functions

virtual ~IMultipleWrapper ()
 Destructor. More...
 
virtual bool attachAll (const PolyDriverList &p)=0
 Attach to a list of objects. More...
 
virtual bool detachAll ()=0
 Detach the object (you must have first called attach). More...
 

Detailed Description

Interface for an object that can wrap/attach to 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. This class is similar to IWrapper, but allows attaching to more than one object by subsequent calls to attach.

Definition at line 29 of file IMultipleWrapper.h.

Constructor & Destructor Documentation

◆ ~IMultipleWrapper()

yarp::dev::IMultipleWrapper::~IMultipleWrapper ( )
virtualdefault

Destructor.

Member Function Documentation

◆ attachAll()

◆ detachAll()


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