APEX Framework: NvParameterized::Factory Class Reference

NVIDIA APEX

NvParameterized::Factory Class Reference

Interface class for NvParameterized factories. More...

#include <NvParameterizedTraits.h>

List of all members.

Public Member Functions

virtual
::NvParameterized::Interface
create (Traits *paramTraits)=0
 Creates NvParameterized object of class.
virtual
::NvParameterized::Interface
finish (Traits *paramTraits, void *obj, void *buf, int32_t *refCount)=0
 Finishes initialization of inplace-deserialized objects (vptr and stuff)
virtual const char * getClassName ()=0
 Returns name of class whose objects are created by factory.
virtual uint32_t getVersion ()=0
 Returns version of class whose objects are created by factory.
virtual uint32_t getAlignment ()=0
 Returns memory alignment required for objects of class.
virtual const uint32_t * getChecksum (uint32_t &bits)=0
 Returns checksum of class whose objects are created by factory.
virtual ~Factory ()
 Destructor.
virtual void freeParameterDefinitionTable (NvParameterized::Traits *traits)=0
 Clean reflection definition table. Call it if you don't have any instances of classes.

Detailed Description

Interface class for NvParameterized factories.


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

Generated on Fri Dec 15 2017 13:58:41

Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.