Register< T > Struct Template Reference

AMR-Wind API: amr_wind::Factory< Base, Args >::Register< T > Struct Template Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches

Class to handle registration of subclass for runtime selection. More...

#include <Factory.H>

Inheritance diagram for amr_wind::Factory< Base, Args >::Register< T >:
[legend]
Collaboration diagram for amr_wind::Factory< Base, Args >::Register< T >:
[legend]

Public Member Functions

 ~Register () override
 

Static Public Member Functions

static bool add_sub_type ()
 

Public Attributes

friend T
 

Static Public Attributes

static bool registered
 

Private Member Functions

 Register ()
 

Detailed Description

template<class Base, class... Args>
template<class T>
struct amr_wind::Factory< Base, Args >::Register< T >

Class to handle registration of subclass for runtime selection.

Constructor & Destructor Documentation

◆ ~Register()

template<class Base , class... Args>
template<class T >
amr_wind::Factory< Base, Args >::Register< T >::~Register ( )
inlineoverride

◆ Register()

template<class Base , class... Args>
template<class T >
amr_wind::Factory< Base, Args >::Register< T >::Register ( )
inlineprivate

Member Function Documentation

◆ add_sub_type()

template<class Base , class... Args>
template<class T >
static bool amr_wind::Factory< Base, Args >::Register< T >::add_sub_type ( )
inlinestatic

Member Data Documentation

◆ registered

template<class Base , class... Args>
template<class T >
bool amr_wind::Factory< Base, Args >::Register< T >::registered
static
Initial value:

◆ T

template<class Base , class... Args>
template<class T >
friend amr_wind::Factory< Base, Args >::Register< T >::T

The documentation for this struct was generated from the following file:
  • /home/runner/work/amr-wind/amr-wind/amr-wind/core/Factory.H