![]() |
LibrePCB Developers Documentation
|
Keeps a list of functions to call. More...
#include <scopeguardlist.h>
Inheritance diagram for ScopeGuardList:
Collaboration diagram for ScopeGuardList:Public Member Functions | |
| ScopeGuardList ()=default | |
| ScopeGuardList (size_t size) noexcept | |
| ScopeGuardList (ScopeGuardList &&rhs) noexcept | |
| ScopeGuardList (const ScopeGuardList &)=delete | |
| ScopeGuardList & | operator= (const ScopeGuardList &)=delete |
| ~ScopeGuardList () noexcept | |
| template<class Fun > | |
| void | add (Fun f) |
Public Member Functions inherited from ScopeGuardBase | |
| ScopeGuardBase () noexcept | |
| ScopeGuardBase (ScopeGuardBase &&rhs) noexcept | |
| void | dismiss () noexcept |
Private Attributes | |
| std::vector< std::function< void()> > | mScopeGuards |
Additional Inherited Members | |
Protected Member Functions inherited from ScopeGuardBase | |
| ~ScopeGuardBase ()=default | |
Protected Attributes inherited from ScopeGuardBase | |
| bool | mActive |
Keeps a list of functions to call.
|
default |
|
inlinenoexcept |
|
inlinenoexcept |
|
delete |
|
inlinenoexcept |
Calls the added functions in reverse order
Here is the call graph for this function:
|
delete |
|
inline |
Add a function
Here is the caller graph for this function:
|
private |