Panda3D
 All Classes Functions Variables Enumerations
Public Member Functions | Static Public Member Functions | List of all members
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

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 ()
 
- Public Member Functions inherited from TypedObject
 TypedObject (const TypedObject &copy)
 
TypedObjectas_typed_object ()
 Returns the object, upcast (if necessary) to a TypedObject pointer. More...
 
const TypedObjectas_typed_object () const
 Returns the object, upcast (if necessary) to a TypedObject pointer. More...
 
int get_best_parent_from_Set (const std::set< int > &) const
 
int get_type_index () const
 Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. More...
 
bool is_exact_type (TypeHandle handle) const
 Returns true if the current object is the indicated type exactly. More...
 
bool is_of_type (TypeHandle handle) const
 Returns true if the current object is or derives from the indicated type. More...
 
void operator= (const TypedObject &copy)
 

Static Public Member Functions

static TypeHandle get_class_type ()
 
static void init_type ()
 
- Static Public Member Functions inherited from TypedObject
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. More...
 

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.


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