opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
opyn::ComponentRegistryEntry< T > Class Template Referencefinal

#include <component_registry_entry.h>

Inheritance diagram for opyn::ComponentRegistryEntry< T >:
[legend]
Collaboration diagram for opyn::ComponentRegistryEntry< T >:
[legend]

Public Member Functions

 ComponentRegistryEntry (std::string_view name_, std::string_view description_, std::shared_ptr< const T > prototype_)
 
const T & prototype () const
 
std::unique_ptr< T > instantiate () const
 
- Public Member Functions inherited from opyn::ComponentRegistryEntryBase
 ComponentRegistryEntryBase (std::string_view name_, std::string_view description_, std::shared_ptr< const OpenSim::Component >)
 
osc::CStringView name () const
 
osc::CStringView description () const
 
const OpenSim::Component & prototype () const
 
std::unique_ptr< OpenSim::Component > instantiate () const
 

Constructor & Destructor Documentation

◆ ComponentRegistryEntry()

template<typename T >
opyn::ComponentRegistryEntry< T >::ComponentRegistryEntry ( std::string_view  name_,
std::string_view  description_,
std::shared_ptr< const T >  prototype_ 
)
inline

Member Function Documentation

◆ instantiate()

template<typename T >
std::unique_ptr< T > opyn::ComponentRegistryEntry< T >::instantiate ( ) const
inline

◆ prototype()

template<typename T >
const T & opyn::ComponentRegistryEntry< T >::prototype ( ) const
inline

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