NEOCCA bindings Specification  0.2.8
Loader.hh
Go to the documentation of this file.
1 #ifndef neo_ports_Loader_hh_seen
2 #define neo_ports_Loader_hh_seen
3 namespace neo {
4 namespace cca {
5 namespace ports {
6 
7 
8 //===================================================================
9 //===================================================================
10 
17 class Loader : public virtual neo::cca::Port
18 {
19 public:
20 
21  virtual ~Loader() {}
22 
23 
27  virtual void setPath(const std::vector< std::string > & paths)= 0;
28 
30  virtual std::vector< std::string > getPath()= 0;
31 
38  virtual int loadPortLibrary( const std::string & portLibraryName)= 0;
39 
47  virtual void loadComponent( const std::string & paletteClassAlias , bool global, bool lazy)= 0;
48 
49 }; // end class Loader
50 
51 
52 } // end namespace ports
53 } // end namespace cca
54 } // end namespace neo
55 
56 #endif // neo_ports_Loader_hh_seen
virtual void setPath(const std::vector< std::string > &paths)=0
replace current path with new paths.
NOT YET DEFINED IN CCA.SIDL: This is related to, but not the same as, cca ComponentRepository or Comp...
Definition: Loader.hh:17
virtual void loadComponent(const std::string &paletteClassAlias, bool global, bool lazy)=0
Cause the named class to become instantiable by a subsequent call to BuilderSErvice.createComponentInstance().
virtual ~Loader()
Definition: Loader.hh:21
virtual std::vector< std::string > getPath()=0
return the list of directories searched for .cca files.
A pure-virtual tag interface to identify a function set capable of being exported to or imported from...
Definition: Port.hh:17
virtual int loadPortLibrary(const std::string &portLibraryName)=0
Cause the named port interface library to be dynamically loaded.
This is neoclassic – the ::classic::gov::cca headers updated to be similar to the official CCA speci...
Definition: neocca.hh:62