Function cras::isNodeletUnloading

Function Documentation

bool cras::isNodeletUnloading(const ::nodelet::Nodelet &nodelet)

Tells whether the nodelet is currently being unloaded (with some pending callbacks still running).

Note

Be sure to not call this function after the nodelet has finished unloading and its destructor has finished.

Parameters:

nodelet[in] The nodelet to check.

Returns:

Whether the nodelet is being unloaded.