X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FInterface%2FInterface.h;h=a51f8be231409e38857b9b3a761b2c9dcebd818c;hb=1d735deae0ae5e8bff643a59370a03c961ef780c;hp=1bade44fa75acfabc223413089b195f0bdd5e297;hpb=c29448936abc15d110205b2da435035131398a87;p=cpPlugins.git diff --git a/lib/cpPlugins/Interface/Interface.h b/lib/cpPlugins/Interface/Interface.h index 1bade44..a51f8be 100644 --- a/lib/cpPlugins/Interface/Interface.h +++ b/lib/cpPlugins/Interface/Interface.h @@ -8,6 +8,7 @@ #include #include +#include namespace cpPlugins { @@ -28,12 +29,15 @@ namespace cpPlugins Interface( ); virtual ~Interface( ); - /// Plugin access + // Plugin access TClasses& GetClasses( ); const TClasses& GetClasses( ) const; - Object* CreateObject( const std::string& name ) const; + Object::Pointer CreateObject( const std::string& name ) const; + ProcessObject::Pointer CreateProcessObject( + const std::string& name + ) const; - /// Interface to PLUMA + // Interface to PLUMA bool Load( const std::string& path ); bool Load( const std::string& folder, const std::string& name ); int LoadFromFolder( const std::string& folder, bool r = false );