20template<
class SwitchType>
32template<
class SwitchType>
37 _default_value(copy._default_value)
44template<
class SwitchType>
47 const ValueType &default_value) :
49 _value(default_value),
50 _default_value(default_value)
57template<
class SwitchType>
67template<
class SwitchType>
70 return get_type_handle(ValueType);
79template<
class SwitchType>
88template<
class SwitchType>
91 SwitchType::output_value(out, _value);
98template<
class SwitchType>
102 SwitchType::write_datagram(me, _value);
103 SwitchType::write_datagram(me, _default_value);
111template<
class SwitchType>
114 MovingPartBase::fillin(scan, manager);
115 SwitchType::read_datagram(scan, _value);
116 SwitchType::read_datagram(scan, _default_value);
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Parent class for all animation channels.
This template class is a special kind of AnimChannel that always returns just one fixed value.
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
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 ...
This is the base class for a single animatable piece that may be bound to one channel (or more,...
virtual void write_datagram(BamWriter *manager, Datagram &dg)
Writes the contents of this object to the datagram for shipping out to a Bam file.
This is the template instantiation of MovingPartBase, on the particular type of value provided by the...
virtual void output_value(std::ostream &out) const
Outputs a very brief description of the channel's current value.
virtual void write_datagram(BamWriter *manager, Datagram &me)
Function to write the important information in the particular object to a Datagram.
virtual TypeHandle get_value_type() const
Returns the TypeHandle associated with the ValueType we are concerned with.
virtual AnimChannelBase * make_default_channel() const
Creates and returns a new AnimChannel that is not part of any hierarchy, but that returns the default...
This is the base class for PartRoot and MovingPart.
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.