SpECTRE  v2024.08.03
Parallel::ThreadedActionCallback< ThreadedAction, Proxy, Args > Class Template Reference

Wraps a call to a threaded action and its arguments. Can be invoked only once. More...

#include <Callback.hpp>

Public Member Functions

 WRAPPED_PUPable_decl_template (ThreadedActionCallback)
 
 ThreadedActionCallback (Proxy proxy, std::decay_t< Args >... args)
 
 ThreadedActionCallback (CkMigrateMessage *msg)
 
void invoke () override
 
void pup (PUP::er &p) override
 
void register_with_charm () override
 
- Public Member Functions inherited from Parallel::Callback
 WRAPPED_PUPable_abstract (Callback)
 
 Callback (const Callback &)=default
 
Callbackoperator= (const Callback &)=default
 
 Callback (Callback &&)=default
 
Callbackoperator= (Callback &&)=default
 
 Callback (CkMigrateMessage *msg)
 
virtual void invoke ()=0
 
virtual void register_with_charm ()=0
 

Detailed Description

template<typename ThreadedAction, typename Proxy, typename... Args>
class Parallel::ThreadedActionCallback< ThreadedAction, Proxy, Args >

Wraps a call to a threaded action and its arguments. Can be invoked only once.

Member Function Documentation

◆ invoke()

template<typename ThreadedAction , typename Proxy , typename... Args>
void Parallel::ThreadedActionCallback< ThreadedAction, Proxy, Args >::invoke ( )
inlineoverridevirtual

Implements Parallel::Callback.

◆ register_with_charm()

template<typename ThreadedAction , typename Proxy , typename... Args>
void Parallel::ThreadedActionCallback< ThreadedAction, Proxy, Args >::register_with_charm ( )
inlineoverridevirtual

Implements Parallel::Callback.


The documentation for this class was generated from the following file: