Panda3D
Public Member Functions | Static Public Member Functions

FactoryParam Class Reference

The base class of any number of specific pieces of parameter information that might be passed to a Factory's CreateFunc to control what kind of instance is created. More...

#include "factoryParam.h"

Inheritance diagram for FactoryParam:
TypedReferenceCount TypedObject ReferenceCount MemoryBase MemoryBase BamReaderParam WritableParam

List of all members.

Public Member Functions

 FactoryParam (const FactoryParam &other)
virtual TypeHandle force_init_type ()
virtual TypeHandle get_type () const
void operator= (const FactoryParam &other)

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()
 This function is declared non-inline to work around a compiler bug in g++ 2.96.

Detailed Description

The base class of any number of specific pieces of parameter information that might be passed to a Factory's CreateFunc to control what kind of instance is created.

This class is empty and contains no data, but different kinds of factories may expect parameters of various types that derive from FactoryParam (and do contain data).

Definition at line 34 of file factoryParam.h.


Member Function Documentation

static void FactoryParam::init_type ( ) [inline, static]

This function is declared non-inline to work around a compiler bug in g++ 2.96.

Making it inline seems to cause problems in the optimizer.

Reimplemented from TypedReferenceCount.

Reimplemented in BamReaderParam, and WritableParam.

Definition at line 49 of file factoryParam.h.

References TypedReferenceCount::init_type().

Referenced by WritableParam::init_type(), and BamReaderParam::init_type().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations