All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
openfluid::machine::WarePluginsManager< S, M, SP, BP > Class Template Referenceabstract

#include <machine/WarePluginsManager.hpp>

Classes

class  PluginsSearchResults
 

Public Member Functions

virtual ~WarePluginsManager ()
 
virtual std::string getPluginFullPath (const std::string &Filename) const =0
 
virtual std::vector< std::string > getPluginsSearchPaths () const =0
 
virtual std::string getPluginFilenameSuffix () const =0
 
PluginsSearchResults getAvailableWaresSignatures (const std::string &Pattern="")
 
M * loadWareSignatureOnly (const std::string &ID)
 
void completeSignatureWithWareBody (M *Item)
 
void unloadAllWares ()
 

Protected Member Functions

 WarePluginsManager ()
 

Protected Attributes

std::map< std::string, QLibrary * > m_LoadedPlugins
 

Detailed Description

template<class S, class M, typename SP, typename BP>
class openfluid::machine::WarePluginsManager< S, M, SP, BP >

Management class for pluggable ware

Template Parameters
Sclass defining the container for ware signature only
Mclass defining the container for ware signature and body
SPprocedure definition for instantiation of the signature
BPprocedure definition for instantiation of the body

Constructor & Destructor Documentation

template<class S, class M, typename SP, typename BP>
openfluid::machine::WarePluginsManager< S, M, SP, BP >::WarePluginsManager ( )
inlineprotected
template<class S, class M, typename SP, typename BP>
virtual openfluid::machine::WarePluginsManager< S, M, SP, BP >::~WarePluginsManager ( )
inlinevirtual

Member Function Documentation

template<class S, class M, typename SP, typename BP>
void openfluid::machine::WarePluginsManager< S, M, SP, BP >::completeSignatureWithWareBody ( M *  Item)
inline
template<class S, class M, typename SP, typename BP>
PluginsSearchResults openfluid::machine::WarePluginsManager< S, M, SP, BP >::getAvailableWaresSignatures ( const std::string &  Pattern = "")
inline

Lists available wares

template<class S, class M, typename SP, typename BP>
virtual std::string openfluid::machine::WarePluginsManager< S, M, SP, BP >::getPluginFilenameSuffix ( ) const
pure virtual
template<class S, class M, typename SP, typename BP>
virtual std::string openfluid::machine::WarePluginsManager< S, M, SP, BP >::getPluginFullPath ( const std::string &  Filename) const
pure virtual
template<class S, class M, typename SP, typename BP>
virtual std::vector<std::string> openfluid::machine::WarePluginsManager< S, M, SP, BP >::getPluginsSearchPaths ( ) const
pure virtual
template<class S, class M, typename SP, typename BP>
M* openfluid::machine::WarePluginsManager< S, M, SP, BP >::loadWareSignatureOnly ( const std::string &  ID)
inline
template<class S, class M, typename SP, typename BP>
void openfluid::machine::WarePluginsManager< S, M, SP, BP >::unloadAllWares ( )
inline

Member Data Documentation

template<class S, class M, typename SP, typename BP>
std::map<std::string,QLibrary*> openfluid::machine::WarePluginsManager< S, M, SP, BP >::m_LoadedPlugins
protected

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