Oracle® Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47891-01

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> >
   {
   public:
       // pure virtual method definitions....
   };

See also:
implements
Author:
mf 2008.07.14

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

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