#include <coherence/lang/interface_spec.hpp>
Inherits Object.
Managed interfaces virtually derive from coherence::lang::Object, and include a set of well known features, which are auto-generated by this helper class:
The template takes two parameters:
A normal interface definition would be:
class MyInterface : public interface_spec<MyInterface, implements<SomeInterface, SomeOtherInterface> > { public: // pure virtual method definitions.... };
Public Types | |
typedef interface_spec | this_spec |
Specification definition. | |
typedef TypedHandle< T > | Handle |
Standard Handle definition. | |
typedef TypedHandle < const T > | View |
Standard View definition. | |
typedef TypedHolder< T > | Holder |
Standard Holder definition. | |
typedef I::interface_1 | interface_1 |
implemented interface typedefs |