Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

MovingPartBase Class Reference

#include <movingPartBase.h>

Inheritance diagram for MovingPartBase:

PartGroup TypedWritableReferenceCount Namable TypedWritable ReferenceCount TypedObject MovingPart< SwitchType > MovingPart< ACMatrixSwitchType > MovingPart< ACScalarSwitchType > MovingPartMatrix MovingPartScalar CharacterJoint CharacterSlider List of all members.

Public Member Functions

 MovingPartBase (PartGroup *parent, const string &name)
virtual TypeHandle get_value_type () const=0
virtual AnimChannelBasemake_initial_channel () const=0
virtual void write (ostream &out, int indent_level) const
virtual void write_with_value (ostream &out, int indent_level) const
virtual void output_value (ostream &out) const=0
virtual bool do_update (PartBundle *root, PartGroup *parent, bool parent_changed, bool anim_changed)
virtual void get_blend_value (const PartBundle *root)=0
virtual bool update_internals (PartGroup *parent, bool self_changed, bool parent_changed)
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

void init_type ()

Public Attributes

PUBLISHED __pad0__: static TypeHandle get_class_type() { return _type_handle

Protected Types

typedef pvector< PT(AnimChannelBaseChannels )

Protected Member Functions

INLINE MovingPartBase (const MovingPartBase &copy)
 MovingPartBase (void)
virtual void pick_channel_index (plist< int > &holes, int &next) const
virtual void bind_hierarchy (AnimGroup *anim, int channel_index)

Protected Attributes

Channels _channels

Static Private Attributes

TypeHandle _type_handle

Member Typedef Documentation

typedef pvector< PT(AnimChannelBase) MovingPartBase::Channels) [protected]
 

Definition at line 64 of file movingPartBase.h.


Constructor & Destructor Documentation

INLINE MovingPartBase::MovingPartBase const MovingPartBase &  copy  )  [protected]
 

MovingPartBase::MovingPartBase PartGroup parent,
const string &  name
 

Definition at line 35 of file movingPartBase.cxx.

MovingPartBase::MovingPartBase void   )  [protected]
 

Definition at line 45 of file movingPartBase.cxx.


Member Function Documentation

void MovingPartBase::bind_hierarchy AnimGroup anim,
int  channel_index
[protected, virtual]
 

Reimplemented from PartGroup.

Definition at line 210 of file movingPartBase.cxx.

References _channels, PartGroup::bind_hierarchy(), DCAST, and make_initial_channel().

bool MovingPartBase::do_update PartBundle root,
PartGroup parent,
bool  parent_changed,
bool  anim_changed
[virtual]
 

Reimplemented from PartGroup.

Definition at line 100 of file movingPartBase.cxx.

References _channels, PartGroup::_children, AnimControl::channel_has_changed(), get_blend_value(), AnimControl::get_channel_index(), root, and update_internals().

virtual TypeHandle MovingPartBase::force_init_type void   )  [inline, virtual]
 

Reimplemented from PartGroup.

Reimplemented in MovingPart< SwitchType >, MovingPartMatrix, MovingPartScalar, CharacterJoint, CharacterSlider, MovingPart< ACScalarSwitchType >, and MovingPart< ACMatrixSwitchType >.

Definition at line 72 of file movingPartBase.h.

References PartGroup::get_class_type(), and PartGroup::init_type().

virtual void MovingPartBase::get_blend_value const PartBundle root  )  [pure virtual]
 

Implemented in MovingPartMatrix, and MovingPartScalar.

Referenced by do_update().

virtual TypeHandle MovingPartBase::get_type void   )  const [inline, virtual]
 

Reimplemented from PartGroup.

Reimplemented in MovingPart< SwitchType >, MovingPartMatrix, MovingPartScalar, CharacterJoint, CharacterSlider, MovingPart< ACScalarSwitchType >, and MovingPart< ACMatrixSwitchType >.

Definition at line 69 of file movingPartBase.h.

References PartGroup::get_class_type().

virtual TypeHandle MovingPartBase::get_value_type  )  const [pure virtual]
 

Reimplemented from PartGroup.

Implemented in MovingPart< SwitchType >, MovingPart< ACScalarSwitchType >, and MovingPart< ACMatrixSwitchType >.

Referenced by write(), and write_with_value().

void MovingPartBase::init_type void   )  [inline, static]
 

Reimplemented from PartGroup.

Reimplemented in MovingPart< SwitchType >, MovingPartMatrix, MovingPartScalar, CharacterJoint, CharacterSlider, MovingPart< ACScalarSwitchType >, and MovingPart< ACMatrixSwitchType >.

Definition at line 78 of file movingPartBase.h.

References PartGroup::get_class_type(), PartGroup::init_type(), and register_type().

Referenced by ConfigureFn(), and MovingPart< ACMatrixSwitchType >::init_type().

virtual AnimChannelBase* MovingPartBase::make_initial_channel  )  const [pure virtual]
 

Implemented in MovingPart< SwitchType >, MovingPart< ACScalarSwitchType >, and MovingPart< ACMatrixSwitchType >.

Referenced by bind_hierarchy().

virtual void MovingPartBase::output_value ostream &  out  )  const [pure virtual]
 

Implemented in MovingPart< SwitchType >, MovingPart< ACScalarSwitchType >, and MovingPart< ACMatrixSwitchType >.

Referenced by write_with_value().

void MovingPartBase::pick_channel_index plist< int > &  holes,
int &  next
const [protected, virtual]
 

Reimplemented from PartGroup.

Definition at line 167 of file movingPartBase.cxx.

References _channels, NULL, and PartGroup::pick_channel_index().

bool MovingPartBase::update_internals PartGroup parent,
bool  self_changed,
bool  parent_changed
[virtual]
 

Reimplemented in CharacterJoint.

Definition at line 154 of file movingPartBase.cxx.

Referenced by do_update().

void MovingPartBase::write ostream &  out,
int  indent_level
const [virtual]
 

Reimplemented from PartGroup.

Definition at line 55 of file movingPartBase.cxx.

References PartGroup::_children, Namable::get_name(), get_value_type(), indent(), and PartGroup::write_descendants().

void MovingPartBase::write_with_value ostream &  out,
int  indent_level
const [virtual]
 

Reimplemented from PartGroup.

Definition at line 73 of file movingPartBase.cxx.

References PartGroup::_children, Namable::get_name(), get_value_type(), indent(), output_value(), and PartGroup::write_descendants_with_value().


Member Data Documentation

PUBLISHED MovingPartBase::__pad0__
 

Reimplemented from PartGroup.

Reimplemented in MovingPart< SwitchType >, MovingPartMatrix, CharacterJoint, MovingPart< ACScalarSwitchType >, and MovingPart< ACMatrixSwitchType >.

Definition at line 75 of file movingPartBase.h.

Channels MovingPartBase::_channels [protected]
 

Definition at line 65 of file movingPartBase.h.

Referenced by bind_hierarchy(), do_update(), MovingPartScalar::get_blend_value(), MovingPartMatrix::get_blend_value(), and pick_channel_index().

TypeHandle MovingPartBase::_type_handle [static, private]
 

Reimplemented from PartGroup.

Reimplemented in MovingPart< SwitchType >, MovingPartMatrix, MovingPartScalar, CharacterJoint, CharacterSlider, MovingPart< ACScalarSwitchType >, and MovingPart< ACMatrixSwitchType >.

Definition at line 26 of file movingPartBase.cxx.


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:12:47 2003 for Panda by doxygen1.3