![]() |
Project
|
#include <MessageContext.h>
Inherits std::default_delete< T >.
Public Types | |
| using | base = std::default_delete< T > |
| using | self_type = ScopeHook< T > |
Public Member Functions | |
| ScopeHook ()=default | |
| ScopeHook (MessageContext *context) | |
| ~ScopeHook ()=default | |
| self_type & | operator= (const self_type &)=delete |
| void | operator() (T *ptr) const |
deleter to handle object going out of scope This object is used together with the wrapper ContextObjectScope which is a unique object returned to the called. When this scope handler goes out of scope and is going to be deleted, the handled object is scheduled in the context, or simply deleted if no context is available.
Definition at line 379 of file MessageContext.h.
| using o2::framework::MessageContext::ScopeHook< T, BASE >::base = std::default_delete<T> |
Definition at line 382 of file MessageContext.h.
| using o2::framework::MessageContext::ScopeHook< T, BASE >::self_type = ScopeHook<T> |
Definition at line 383 of file MessageContext.h.
|
default |
|
inline |
Definition at line 385 of file MessageContext.h.
|
default |
|
inline |
Definition at line 395 of file MessageContext.h.
|
delete |