Panda3D
Public Member Functions | Static Public Member Functions

Configurable Class Reference

An object that has data or parameters that are set less frequently (at least occasionally) than every frame. More...

#include "configurable.h"

Inheritance diagram for Configurable:
TypedObject MemoryBase

List of all members.

Public Member Functions

void check_config () const
virtual void config (void)
virtual TypeHandle force_init_type ()
virtual TypeHandle get_type () const
bool is_dirty () const
void make_dirty ()

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

An object that has data or parameters that are set less frequently (at least occasionally) than every frame.

We can cache the configuration info by by using the "dirty" flag.

Definition at line 36 of file configurable.h.


Member Function Documentation

static void Configurable::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 TypedObject.

Definition at line 65 of file configurable.h.

References TypedObject::init_type().


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