#include "action-container.h"
|
| action_container () |
|
virtual | ~action_container ()=default |
|
template<typename F , typename... Args> |
void | add (F &&fcn, Args &&... args) |
|
template<typename T > |
void | add_delete (T *obj) |
|
template<typename... Params, typename... Args> |
void | add_fcn (void(*fcn)(Params...), Args &&... args) |
|
template<typename T , typename... Params, typename... Args> |
void | add_method (T &obj, void(T::*method)(Params...), Args &&... args) |
|
template<typename T , typename... Params, typename... Args> |
void | add_method (T *obj, void(T::*method)(Params...), Args &&... args) |
|
void | discard () |
|
void | discard (std::size_t num) |
|
virtual void | discard_first ()=0 |
|
bool | empty () const |
|
| operator bool () const |
|
template<typename T > |
void | protect_var (T &var) |
|
template<typename T > |
void | protect_var (T &var, const T &val) |
|
void | run () |
|
void | run (std::size_t num) |
|
virtual void | run_first ()=0 |
|
virtual std::size_t | size () const =0 |
|
Definition at line 59 of file action-container.h.
◆ action_container()
action_container::action_container |
( |
| ) |
|
|
inline |
◆ ~action_container()
virtual action_container::~action_container |
( |
| ) |
|
|
virtualdefault |
◆ add()
template<typename F , typename... Args>
void action_container::add |
( |
F && |
fcn, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |
◆ add_action()
virtual void action_container::add_action |
( |
elem * |
new_elem | ) |
|
|
protectedpure virtual |
◆ add_delete()
template<typename T >
void action_container::add_delete |
( |
T * |
obj | ) |
|
|
inline |
◆ add_fcn()
template<typename... Params, typename... Args>
void action_container::add_fcn |
( |
void(*)(Params...) |
fcn, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |
◆ add_method() [1/2]
template<typename T , typename... Params, typename... Args>
void action_container::add_method |
( |
T & |
obj, |
|
|
void(T::*)(Params...) |
method, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |
◆ add_method() [2/2]
template<typename T , typename... Params, typename... Args>
void action_container::add_method |
( |
T * |
obj, |
|
|
void(T::*)(Params...) |
method, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |
◆ discard() [1/2]
void action_container::discard |
( |
| ) |
|
|
inline |
◆ discard() [2/2]
void action_container::discard |
( |
std::size_t |
num | ) |
|
|
inline |
◆ discard_first()
virtual void action_container::discard_first |
( |
| ) |
|
|
pure virtual |
◆ empty()
bool action_container::empty |
( |
| ) |
const |
|
inline |
◆ operator bool()
action_container::operator bool |
( |
| ) |
const |
|
inline |
◆ protect_var() [1/2]
template<typename T >
void action_container::protect_var |
( |
T & |
var | ) |
|
|
inline |
◆ protect_var() [2/2]
template<typename T >
void action_container::protect_var |
( |
T & |
var, |
|
|
const T & |
val |
|
) |
| |
|
inline |
◆ run() [1/2]
void action_container::run |
( |
| ) |
|
|
inline |
◆ run() [2/2]
void action_container::run |
( |
std::size_t |
num | ) |
|
◆ run_first()
virtual void action_container::run_first |
( |
| ) |
|
|
pure virtual |
◆ size()
virtual std::size_t action_container::size |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following files: