YARP
Yet Another Robot Platform
YarpAutoInit Class Reference

A single-use class to shut down the yarp library if it was initialized automatically. More...

Public Member Functions

 ~YarpAutoInit ()
 Shut down the yarp library if it was automatically initialized. More...
 

Detailed Description

A single-use class to shut down the yarp library if it was initialized automatically.

Definition at line 66 of file Network.cpp.

Constructor & Destructor Documentation

◆ ~YarpAutoInit()

YarpAutoInit::~YarpAutoInit ( )
inline

Shut down the yarp library if it was automatically initialized.

The library is automatically initialized if NetworkBase::autoInitMinimum() is called before any of the manual ways of initializing the library (calling Network::init, creating a Network object, etc). yarp::os::ResourceFinder calls autoInitMinimum() since it needs to be sure that YARP+ACE is initialized (but a user might not expect that).

Definition at line 78 of file Network.cpp.


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