CFx SDK Documentation  2022 SP0
Public Member Functions | Static Public Member Functions | List of all members
OdRxPseudoStaticModule< T, TInterface > Class Template Reference

#include <RxDynamicModule.h>

Inheritance diagram for OdRxPseudoStaticModule< T, TInterface >:

Public Member Functions

voidsysData ()
 
void deleteModule ()
 
OdString moduleName () const
 

Static Public Member Functions

static OdRxModulecreateModule (const OdString &name)
 

Detailed Description

template<class T, class TInterface = T>
class OdRxPseudoStaticModule< T, TInterface >

<group OdRx_Classes>

This template class provides the implementation of pseudo static rx-modules in multi-threaded (MT) mode.

Remarks
For internal use only
See also
OdRxModule, OdRefCounter classes

Definition at line 173 of file RxDynamicModule.h.

Member Function Documentation

◆ createModule()

template<class T , class TInterface = T>
static OdRxModule* OdRxPseudoStaticModule< T, TInterface >::createModule ( const OdString name)
inlinestatic

Creates a new pseudo static rx-module instance with the specified module name and returns a raw pointer to it.

Parameters
name[in] Module name as non-empty string value.

Definition at line 212 of file RxDynamicModule.h.

◆ deleteModule()

template<class T , class TInterface = T>
void OdRxPseudoStaticModule< T, TInterface >::deleteModule ( )
inline

Deletes this pseudo static rx-module object.

Definition at line 220 of file RxDynamicModule.h.

◆ moduleName()

template<class T , class TInterface = T>
OdString OdRxPseudoStaticModule< T, TInterface >::moduleName ( ) const
inline

Returns the module name for the pseudo static rx-module instance.

Definition at line 225 of file RxDynamicModule.h.

◆ sysData()

template<class T , class TInterface = T>
void* OdRxPseudoStaticModule< T, TInterface >::sysData ( )
inline

Returns the system data for the existing pseudo static rx-module instance.

Remarks
The default implementation does nothing and returns a null pointer.

Definition at line 204 of file RxDynamicModule.h.


The documentation for this class was generated from the following file: