a class maintaining a list of cleanups to be performed when releasing a tool. More...
#include <AnaToolHandle.h>
Public Member Functions | |
void | swap (AnaToolCleanup &that) |
standard swap | |
void | addCleanup (AnaToolCleanup val_cleanup, bool post=true) |
add a cleanup to perform | |
void | addCleanup (const std::shared_ptr< void > &val_cleanup, bool post=true) |
a class maintaining a list of cleanups to be performed when releasing a tool.
void asg::detail::AnaToolCleanup::addCleanup | ( | const std::shared_ptr< void > & | val_cleanup, | |
bool | post = true | |||
) |
add a cleanup to perform Normally this is added to the end of the list of cleanups, but by passing post as false, you can also add it at the beginning.
void asg::detail::AnaToolCleanup::addCleanup | ( | AnaToolCleanup | val_cleanup, | |
bool | post = true | |||
) |
add a cleanup to perform
Normally this is added to the end of the list of cleanups, but by passing post as false, you can also add it at the beginning.
void asg::detail::AnaToolCleanup::swap | ( | AnaToolCleanup & | that | ) |
standard swap