2 #ifndef GAUDIKERNEL_IFACTORY_H
3 #define GAUDIKERNEL_IFACTORY_H
24 virtual unsigned long addRef()
const = 0;
25 virtual unsigned long release()
const = 0;
30 virtual unsigned long addRef() = 0;
32 virtual unsigned long release() = 0;
34 virtual const std::string& ident()
const = 0;
38 #endif // GAUDIKERNEL_IFACTORY_H
Definition of the basic interface.
#define DeclareInterfaceID(name, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
The IFactory is the interface used to create contrete instances of Objectes.
virtual unsigned long release()=0
Release Interface instance.
virtual unsigned long addRef()=0
Increment the reference count of Interface instance.