Raytrix Light Field SDK  4.0
Logo
Public Member Functions | List of all members
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

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

Default constructor.

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

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

Gets the interface.

Returns
The interface.

Reimplemented in Rx::LFR::Net::CudaCompute, and Rx::LFR::Net::Camera.