#include "action-container.h"
|
| action_container (const action_container &)=delete |
|
| action_container (void) |
|
virtual | ~action_container (void)=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 (std::size_t num) |
|
void | discard (void) |
|
virtual void | discard_first (void)=0 |
|
bool | empty (void) const |
|
| operator bool (void) const |
|
action_container & | operator= (const action_container &)=delete |
|
template<typename T > |
void | protect_var (T &var) |
|
template<typename T > |
void | protect_var (T &var, const T &val) |
|
OCTAVE_API void | run (std::size_t num) |
|
void | run (void) |
|
virtual void | run_first (void)=0 |
|
virtual std::size_t | size (void) const =0 |
|
Definition at line 42 of file action-container.h.
◆ action_container() [1/2]
action_container::action_container |
( |
void |
| ) |
|
|
inline |
◆ action_container() [2/2]
◆ ~action_container()
virtual action_container::~action_container |
( |
void |
| ) |
|
|
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 |
( |
std::size_t |
num | ) |
|
|
inline |
◆ discard() [2/2]
void action_container::discard |
( |
void |
| ) |
|
|
inline |
◆ discard_first()
virtual void action_container::discard_first |
( |
void |
| ) |
|
|
pure virtual |
◆ empty()
bool action_container::empty |
( |
void |
| ) |
const |
|
inline |
◆ operator bool()
action_container::operator bool |
( |
void |
| ) |
const |
|
inline |
◆ operator=()
◆ 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 |
( |
std::size_t |
num | ) |
|
◆ run() [2/2]
void action_container::run |
( |
void |
| ) |
|
|
inline |
◆ run_first()
virtual void action_container::run_first |
( |
void |
| ) |
|
|
pure virtual |
◆ size()
virtual std::size_t action_container::size |
( |
void |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following files: