Raytrix Light Field SDK  5.0
Rx::Net::NativeWrapperManagedExtender< TNative, TManaged > Class Template Reference

Detailed Description

template<class TNative, class TManaged>
class Rx::Net::NativeWrapperManagedExtender< TNative, TManaged >

Provides functionality for wrapping a native class and extend the managed one.

Template Parameters
TNativeThe type of the native class.
TManagedType of the managed class.

Inherits TManaged.

Public Member Functions

 NativeWrapperManagedExtender ()
 Default constructor. Creates the native instance and delegates it to the managed class. More...
 
 !NativeWrapperManagedExtender ()
 Finalizer. More...
 
 ~NativeWrapperManagedExtender ()
 Destructor. More...
 
TNative & GetNative ()
 Gets the native. More...
 

Protected Attributes

TNative * m_pxNativeInstance
 The pointer to the native instance. More...
 

Constructor & Destructor Documentation

◆ NativeWrapperManagedExtender()

template<class TNative , class TManaged >
Rx::Net::NativeWrapperManagedExtender< TNative, TManaged >::NativeWrapperManagedExtender ( )
inline

Default constructor. Creates the native instance and delegates it to the managed class.

◆ !NativeWrapperManagedExtender()

template<class TNative , class TManaged >
Rx::Net::NativeWrapperManagedExtender< TNative, TManaged >::!NativeWrapperManagedExtender ( )
inline

Finalizer.

◆ ~NativeWrapperManagedExtender()

template<class TNative , class TManaged >
Rx::Net::NativeWrapperManagedExtender< TNative, TManaged >::~NativeWrapperManagedExtender ( )
inline

Destructor.

Member Function Documentation

◆ GetNative()

template<class TNative , class TManaged >
TNative& Rx::Net::NativeWrapperManagedExtender< TNative, TManaged >::GetNative ( )
inline

Gets the native.

Returns
The native.

Member Data Documentation

◆ m_pxNativeInstance

template<class TNative , class TManaged >
TNative* Rx::Net::NativeWrapperManagedExtender< TNative, TManaged >::m_pxNativeInstance
protected

The pointer to the native instance.