Raytrix Light Field SDK  5.0
Rx::Net::NativeInterfaceWrapper< TNative, TEnumInterface > Class Template Reference

Detailed Description

template<class TNative, class TEnumInterface>
class Rx::Net::NativeInterfaceWrapper< TNative, TEnumInterface >

Provides functionality for wrapping a native type by a managed class.

Template Parameters
TNativeThe type of the native class.
TEnumInterfaceType of the enum interface.

Inherits NativeWrapper< TNative >.

Public Member Functions

 NativeInterfaceWrapper ()
 Default constructor. More...
 
 NativeInterfaceWrapper (TNative *pxNative)
 Constructor that wraps the given native instance. Disposing does NOT destroy the native instance. More...
 
virtual System::Object ^ GetInterface (TEnumInterface eData)
 Gets the interface. More...
 

Constructor & Destructor Documentation

◆ NativeInterfaceWrapper() [1/2]

template<class TNative , class TEnumInterface >
Rx::Net::NativeInterfaceWrapper< TNative, TEnumInterface >::NativeInterfaceWrapper ( )
inline

Default constructor.

◆ NativeInterfaceWrapper() [2/2]

template<class TNative , class TEnumInterface >
Rx::Net::NativeInterfaceWrapper< TNative, TEnumInterface >::NativeInterfaceWrapper ( TNative *  pxNative)
inline

Constructor that wraps the given native instance. Disposing does NOT destroy the native instance.

Parameters
pxNative[in] The pointer to the native instance to wrap by this class.

Member Function Documentation

◆ GetInterface()

template<class TNative , class TEnumInterface >
virtual System::Object ^ Rx::Net::NativeInterfaceWrapper< TNative, TEnumInterface >::GetInterface ( TEnumInterface  eData)
inlinevirtual

Gets the interface.

Returns
The interface.