VPTissue Reference Manual
|
A coupler factory map that is used to register names for these couplers. More...
#include <CouplerFactories.h>
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. | |
A coupler factory map that is used to register names for these couplers.
Definition at line 30 of file CouplerFactories.h.