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

AnimChannelBase Class Reference

#include <animChannelBase.h>

Inheritance diagram for AnimChannelBase:

AnimGroup TypedWritableReferenceCount Namable TypedWritable ReferenceCount TypedObject AnimChannel< SwitchType > AnimChannel< ACMatrixSwitchType > AnimChannel< ACScalarSwitchType > AnimChannelFixed< SwitchType > AnimChannelMatrixXfmTable AnimChannelScalarTable List of all members.

Public Member Functions

INLINE AnimChannelBase (AnimGroup *parent, const string &name)
virtual bool has_changed (int last_frame, int this_frame)
virtual TypeHandle get_value_type () const=0
virtual void output (ostream &out) const
virtual void write_datagram (BamWriter *manager, Datagram &me)
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

TypeHandle get_class_type ()
void init_type ()

Protected Member Functions

INLINE AnimChannelBase (const string &name="")
void fillin (DatagramIterator &scan, BamReader *manager)

Protected Attributes

int _last_frame

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

INLINE AnimChannelBase::AnimChannelBase const string &  name = ""  )  [protected]
 

INLINE AnimChannelBase::AnimChannelBase AnimGroup parent,
const string &  name
 


Member Function Documentation

void AnimChannelBase::fillin DatagramIterator scan,
BamReader manager
[protected]
 

Reimplemented from AnimGroup.

Reimplemented in AnimChannelMatrixXfmTable, and AnimChannelScalarTable.

Definition at line 74 of file animChannelBase.cxx.

References _last_frame, AnimGroup::fillin(), and DatagramIterator::get_uint16().

Referenced by AnimChannelScalarTable::fillin(), and AnimChannelMatrixXfmTable::fillin().

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

Reimplemented from AnimGroup.

Reimplemented in AnimChannel< SwitchType >, AnimChannelFixed< SwitchType >, AnimChannelMatrixXfmTable, AnimChannelScalarTable, AnimChannel< ACScalarSwitchType >, and AnimChannel< ACMatrixSwitchType >.

Definition at line 68 of file animChannelBase.h.

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

TypeHandle AnimChannelBase::get_class_type void   )  [inline, static]
 

Reimplemented from AnimGroup.

Reimplemented in AnimChannel< SwitchType >, AnimChannelFixed< SwitchType >, AnimChannelMatrixXfmTable, AnimChannelScalarTable, AnimChannel< ACScalarSwitchType >, and AnimChannel< ACMatrixSwitchType >.

Definition at line 69 of file animChannelBase.h.

Referenced by AnimChannel< ACMatrixSwitchType >::init_type().

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

Reimplemented from AnimGroup.

Reimplemented in AnimChannel< SwitchType >, AnimChannelFixed< SwitchType >, AnimChannelMatrixXfmTable, AnimChannelScalarTable, AnimChannel< ACScalarSwitchType >, and AnimChannel< ACMatrixSwitchType >.

Definition at line 65 of file animChannelBase.h.

References AnimGroup::get_class_type().

Referenced by output().

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

Reimplemented from AnimGroup.

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

Referenced by output().

bool AnimChannelBase::has_changed int  last_frame,
int  this_frame
[virtual]
 

Reimplemented in AnimChannelFixed< SwitchType >, AnimChannelMatrixXfmTable, and AnimChannelScalarTable.

Definition at line 38 of file animChannelBase.cxx.

Referenced by AnimControl::channel_has_changed().

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

Reimplemented from AnimGroup.

Reimplemented in AnimChannel< SwitchType >, AnimChannelFixed< SwitchType >, AnimChannelMatrixXfmTable, AnimChannelScalarTable, AnimChannel< ACScalarSwitchType >, and AnimChannel< ACMatrixSwitchType >.

Definition at line 72 of file animChannelBase.h.

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

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

void AnimChannelBase::output ostream &  out  )  const [virtual]
 

Reimplemented from Namable.

Reimplemented in AnimChannelFixed< SwitchType >.

Definition at line 48 of file animChannelBase.cxx.

References Namable::get_name(), get_type(), and get_value_type().

void AnimChannelBase::write_datagram BamWriter manager,
Datagram me
[virtual]
 

Reimplemented from AnimGroup.

Reimplemented in AnimChannelMatrixXfmTable, and AnimChannelScalarTable.

Definition at line 59 of file animChannelBase.cxx.

References _last_frame, Datagram::add_uint16(), and AnimGroup::write_datagram().

Referenced by AnimChannelScalarTable::write_datagram(), and AnimChannelMatrixXfmTable::write_datagram().


Member Data Documentation

int AnimChannelBase::_last_frame [protected]
 

Definition at line 55 of file animChannelBase.h.

Referenced by fillin(), and write_datagram().

TypeHandle AnimChannelBase::_type_handle [static, private]
 

Reimplemented from AnimGroup.

Reimplemented in AnimChannel< SwitchType >, AnimChannelFixed< SwitchType >, AnimChannelMatrixXfmTable, AnimChannelScalarTable, AnimChannel< ACScalarSwitchType >, and AnimChannel< ACMatrixSwitchType >.

Definition at line 26 of file animChannelBase.cxx.


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