PluginFactory< Interface *(Args...)> Class Template Reference

Detailed Description

template<typename Interface, typename... Args>
class PluginFactory< Interface *(Args...)>

Definition at line 33 of file PluginFactory.h.

Classes

struct  PMaker
 
struct  PMakerBase
 

Public Types

using type = Interface *(Args...)
 
using Factory = PluginFactory< Interface *(Args...)>
 

Public Member Functions

std::shared_ptr< Interface > create (const std::string &name, Args... args) const
 
void registerPMaker (PMakerBase *pMaker, const std::string &name)
 
PMakerBase * find (const std::string &name) const
 
std::vector< std::string > getPluginsList () const
 

Static Public Member Functions

static PluginFactory< Interface *(Args...)> & get ()
 

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