SpECTRE
v2024.12.16
|
An abstract base class, whose derived class holds a function that can be invoked at a later time. The function is intended to be invoked only once. More...
#include <Callback.hpp>
Public Member Functions | |
WRAPPED_PUPable_abstract (Callback) | |
Callback (const Callback &)=default | |
Callback & | operator= (const Callback &)=default |
Callback (Callback &&)=default | |
Callback & | operator= (Callback &&)=default |
Callback (CkMigrateMessage *msg) | |
virtual void | invoke ()=0 |
virtual void | register_with_charm ()=0 |
virtual bool | is_equal_to (const Callback &rhs) const =0 |
Returns if this callback is equal to the one passed in. More... | |
virtual std::string | name () const =0 |
virtual std::unique_ptr< Callback > | get_clone ()=0 |
An abstract base class, whose derived class holds a function that can be invoked at a later time. The function is intended to be invoked only once.
|
pure virtual |
Returns if this callback is equal to the one passed in.
Implemented in Parallel::SimpleActionCallback< SimpleAction, Proxy, Args >, Parallel::SimpleActionCallback< SimpleAction, Proxy >, Parallel::ThreadedActionCallback< ThreadedAction, Proxy, Args >, Parallel::ThreadedActionCallback< ThreadedAction, Proxy >, and Parallel::PerformAlgorithmCallback< Proxy >.