cisst-saw
Loading...
Searching...
No Matches
cmnConditionalObjectFactoryCopy< _enabled, _class > Class Template Reference

#include <cmnClassServices.h>

Static Public Member Functions

static cmnGenericObjectCreate (const cmnGenericObject &CMN_UNUSED(other))
static bool Create (cmnGenericObject *CMN_UNUSED(existing), const cmnGenericObject &CMN_UNUSED(other))
static cmnGenericObjectCreateArray (size_t CMN_UNUSED(size), const cmnGenericObject &CMN_UNUSED(other))
static bool CopyConstructorAvailable (void)

Detailed Description

template<bool _enabled, typename _class>
class cmnConditionalObjectFactoryCopy< _enabled, _class >

Default implementation of cmnConditionalObjectFactoryCopy with disabled dynamic creation.

Member Function Documentation

◆ CopyConstructorAvailable()

template<bool _enabled, typename _class>
bool cmnConditionalObjectFactoryCopy< _enabled, _class >::CopyConstructorAvailable ( void )
inlinestatic

◆ Create() [1/2]

template<bool _enabled, typename _class>
bool cmnConditionalObjectFactoryCopy< _enabled, _class >::Create ( cmnGenericObject * CMN_UNUSEDexisting,
const cmnGenericObject & CMN_UNUSEDother )
inlinestatic

Specialization of create for in place new with copy constructor

◆ Create() [2/2]

template<bool _enabled, typename _class>
cmnGenericObject * cmnConditionalObjectFactoryCopy< _enabled, _class >::Create ( const cmnGenericObject & CMN_UNUSEDother)
inlinestatic

Specialization of create when dynamic create is disabled. Returns 0 (null pointer) .

◆ CreateArray()

template<bool _enabled, typename _class>
cmnGenericObject * cmnConditionalObjectFactoryCopy< _enabled, _class >::CreateArray ( size_t CMN_UNUSEDsize,
const cmnGenericObject & CMN_UNUSEDother )
inlinestatic

Specialization of create when dynamic creation is disabled. Returns 0 (null pointer).


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