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

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.
template<class TNative>
Rx::Net::ConstNativeExternWrapper< TNative >::ConstNativeExternWrapper ( )
inlineprotected

Default constructor.

Member Function Documentation

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

Gets the const native instance.

Returns
The const native instance.

Member Data Documentation

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

The pointer to the const native instance.