Oracle Coherence for C++ API


interface_spec Class Template Reference

#include <coherence/lang/interface_spec.hpp>

Inherits Object.

List of all members.

Detailed Description

template<class T, class I = implements<>>
class coherence::lang::interface_spec< T, I >

Helper for defining a managed interface.

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> >
       // pure virtual method definitions....
See also:
mf 2008.07.14

Public Types

typedef interface_spec  this_spec
  Specification definition.
typedef TypedHandle< T >  Handle
  Standard Handle definition.
typedef TypedHandle
< const T > 
  Standard View definition.
typedef TypedHolder< T >  Holder
  Standard Holder definition.

The documentation for this class was generated from the following file:
Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.