SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
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
bool is_equal_to (const Callback &rhs) const override
 Returns if this callback is equal to the one passed in.
std::string name () const override
std::unique_ptr< Callbackget_clone () 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)

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

◆ get_clone()

template<typename ThreadedAction, typename Proxy, typename... Args>
std::unique_ptr< Callback > Parallel::ThreadedActionCallback< ThreadedAction, Proxy, Args >::get_clone ( )
inlineoverridevirtual

Implements Parallel::Callback.

◆ invoke()

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

Implements Parallel::Callback.

◆ is_equal_to()

template<typename ThreadedAction, typename Proxy, typename... Args>
bool Parallel::ThreadedActionCallback< ThreadedAction, Proxy, Args >::is_equal_to ( const Callback & rhs) const
inlineoverridevirtual

Returns if this callback is equal to the one passed in.

Implements Parallel::Callback.

◆ name()

template<typename ThreadedAction, typename Proxy, typename... Args>
std::string Parallel::ThreadedActionCallback< ThreadedAction, Proxy, Args >::name ( ) const
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:
  • src/Parallel/Callback.hpp