1 // =========================================================================
2 // @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co)
3 // =========================================================================
4 #ifndef __cpPlugins__Library__h__
5 #define __cpPlugins__Library__h__
7 #include <cpPlugins/Config.h>
16 class CPPLUGINS_EXPORT Library
21 typedef std::set< std::string > TStringSet;
24 Library( const std::string& fname );
27 bool Provides( const std::string& fname ) const;
28 const TStringSet& GetContents( ) const;
29 std::shared_ptr< ProcessObject > Create( const std::string& name );
31 const std::string& GetPath( ) const;
35 void* _CreateObject( const std::string& name );
41 TStringSet m_Contents;
45 #endif // __cpPlugins__Library__h__