14#ifndef ANIMCHANNELBASE_H
15#define ANIMCHANNELBASE_H
30class EXPCL_PANDA_CHAN AnimChannelBase :
public AnimGroup {
35 INLINE AnimChannelBase(
const std::string &name =
"");
36 INLINE AnimChannelBase(AnimGroup *parent,
const AnimChannelBase ©);
39 INLINE AnimChannelBase(AnimGroup *parent,
const std::string &name);
41 virtual bool has_changed(
int last_frame,
double last_frac,
42 int this_frame,
double this_frac);
58 return get_class_type();
62 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
63 static TypeHandle get_class_type() {
66 static void init_type() {
67 AnimGroup::init_type();
69 AnimGroup::get_class_type());
73 static TypeHandle _type_handle;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual bool has_changed(int last_frame, double last_frac, int this_frame, double this_frac)
Returns true if the value has changed since the last call to has_changed().
virtual TypeHandle get_value_type() const =0
Returns the TypeHandle associated with the ValueType we are concerned with.
virtual void write_datagram(BamWriter *manager, Datagram &me)
Writes the contents of this object to the datagram for shipping out to a Bam file.
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
A class to retrieve the individual data elements previously stored in a Datagram.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...