VPTissue Reference Manual
SimPT_Sim::CouplerFactories Class Reference

A coupler factory map that is used to register names for these couplers. More...

#include <CouplerFactories.h>

Inheritance diagram for SimPT_Sim::CouplerFactories:
Inheritance graph
Collaboration diagram for SimPT_Sim::CouplerFactories:
Collaboration graph

Public Types

using MapType = SimPT_Sim::Util::FunctionMap< std::shared_ptr< ICoupler >()>
 
- Public Types inherited from SimPT_Sim::Util::FunctionMap< std::shared_ptr< ICoupler >()>
using FunctionType = std::function< std::shared_ptr< ICoupler > >
 

Additional Inherited Members

- Public Member Functions inherited from SimPT_Sim::Util::FunctionMap< std::shared_ptr< ICoupler >()>
 FunctionMap ()
 Construct an empty map.
 
 FunctionMap (std::initializer_list< typename MapType::value_type > l)
 Construct map from initializer_list.
 
virtual ~FunctionMap ()
 Destructor must be virtual.
 
FunctionType Get (const std::string &name) const
 Return function for given name.
 
bool IsValid (const std::string &name) const
 Check whether function name is present.
 
std::list< std::string > List () const
 List the names.
 
bool Register (const std::string &name, const FunctionType &f)
 Register a function.
 

Detailed Description

A coupler factory map that is used to register names for these couplers.

Definition at line 30 of file CouplerFactories.h.


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