50 #ifndef _IComponent_H_
51 #define _IComponent_H_
67 virtual void setLocation(
string location,
string type)=0;
68 virtual string getName()=0;
69 virtual string getVersion()=0;
70 virtual string getType()=0;
71 virtual string getLocation()=0;
72 virtual string getStrLocationType()=0;
73 virtual short getLocationType()=0;
74 virtual void addCreatorSymbol(
string objectName,
string symbol)=0;
75 virtual void addDestroyerSymbol(
string objectName,
string symbol)=0;
76 virtual void addDependency(
IComponent* dependency)=0;
77 virtual void addUri(
string uri)=0;
78 virtual map<string, string>* getCreatorSymbols()=0;
79 virtual string getCreatorSymbol(
string objectName)=0;
80 virtual map<string, string>* getDestroyerSymbols()=0;
81 virtual string getDestroyerSymbol(
string objectName)=0;
82 virtual set<IComponent*>* getDependencies()=0;
83 virtual IComponent* getDependency(
unsigned int ix=0)=0;
84 virtual set<string>* getRepositories()=0;
85 virtual string getRepository(
unsigned int ix=0)=0;
86 virtual void setComponent(
void* dlComponent)=0;
87 virtual void* getComponent()=0;
96 typedef ::br::pucrio::telemidia::ginga::core::cm::IComponent*
97 ComponentCreator(
string name,
string version,
string type);
99 typedef void ComponentDestroyer(
102 #endif //_IComponent_H_
Definition: IComponent.h:64