|
SpECTRE
v2025.08.19
|
Derived class for registering chares. More...
#include <CharmRegistration.hpp>
Public Member Functions | |
| RegisterChare (const RegisterChare &)=default | |
| RegisterChare & | operator= (const RegisterChare &)=default |
| RegisterChare (RegisterChare &&)=default | |
| RegisterChare & | operator= (RegisterChare &&)=default |
| void | register_with_charm () const override |
| bool | is_registering_chare () const override |
| std::string | name () const override |
Public Member Functions inherited from Parallel::charmxx::RegistrationHelper | |
| RegistrationHelper (const RegistrationHelper &)=default | |
| RegistrationHelper & | operator= (const RegistrationHelper &)=default |
| RegistrationHelper (RegistrationHelper &&)=default | |
| RegistrationHelper & | operator= (RegistrationHelper &&)=default |
| virtual void | register_with_charm () const =0 |
| virtual std::string | name () const =0 |
| virtual bool | is_registering_chare () const |
Static Public Attributes | |
| static bool | registrar |
Derived class for registering chares.
Calls the appropriate Charm++ function to register a chare
The chare that is being registered must have the following in the destructor:
The main chare must also have a constructor that takes a const Parallel::charmxx::MainChareRegistrationConstructor& as its only argument. This constructor is only used to trigger the RegisterChare::registrar code needed for automatic registration. The main chare is set up in Parallel::charmxx::register_main_module<Metavariables>.
|
inlineoverridevirtual |
Reimplemented from Parallel::charmxx::RegistrationHelper.
|
inlineoverridevirtual |
Implements Parallel::charmxx::RegistrationHelper.
|
inlineoverridevirtual |
Implements Parallel::charmxx::RegistrationHelper.
|
static |