Raytrix Light Field SDK  5.0
Rx::Net::ConstNativeExternWrapper< TNative > Class Template Reference

Detailed Description

template<class TNative>
class Rx::Net::ConstNativeExternWrapper< TNative >

Provides functionality for wrapping a const native type by a managed class by setting the const native instance externally.

Template Parameters
TNativeThe native class.

Inherited by Rx::Net::ConstNativeWrapper< TNative >.

Public Member Functions

 ConstNativeExternWrapper (TNative const *pxNative)
 Constructor uses the given native instance. More...
 
const TNative & GetNative ()
 Gets the const native instance. More...
 

Protected Member Functions

 ConstNativeExternWrapper ()
 Default constructor. More...
 

Protected Attributes

TNative const * m_pxNative
 The pointer to the const native instance. More...
 

Constructor & Destructor Documentation

◆ ConstNativeExternWrapper() [1/2]

template<class TNative >
Rx::Net::ConstNativeExternWrapper< TNative >::ConstNativeExternWrapper ( TNative const *  pxNative)
inlineexplicit

Constructor uses the given native instance.

Parameters
pxNativeThe pointer to the const native instance.

◆ ConstNativeExternWrapper() [2/2]

template<class TNative >
Rx::Net::ConstNativeExternWrapper< TNative >::ConstNativeExternWrapper ( )
inlineprotected

Default constructor.

Member Function Documentation

◆ GetNative()

template<class TNative >
const TNative& Rx::Net::ConstNativeExternWrapper< TNative >::GetNative ( )
inline

Gets the const native instance.

Returns
The const native instance.

Member Data Documentation

◆ m_pxNative

template<class TNative >
TNative const* Rx::Net::ConstNativeExternWrapper< TNative >::m_pxNative
protected

The pointer to the const native instance.