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

#include <RxDynamicModule.h>

Inheritance diagram for OdRxStaticModule< 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 OdRxStaticModule< T, TInterface >

<group OdRx_Classes>

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

See also
OdRxModule, OdRefCounter classes

Definition at line 45 of file RxDynamicModule.h.

Member Function Documentation

◆ createModule()

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

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

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

Definition at line 81 of file RxDynamicModule.h.

◆ deleteModule()

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

Deletes this static rx-module object.

Definition at line 89 of file RxDynamicModule.h.

◆ moduleName()

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

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

Definition at line 94 of file RxDynamicModule.h.

◆ sysData()

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

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

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

Definition at line 73 of file RxDynamicModule.h.


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