14#ifndef CHARACTERVERTEXSLIDER_H
15#define CHARACTERVERTEXSLIDER_H
26class EXPCL_PANDA_CHAR CharacterVertexSlider :
public VertexSlider {
28 CharacterVertexSlider();
31 CharacterVertexSlider(CharacterSlider *char_slider);
32 virtual ~CharacterVertexSlider();
39 PT(CharacterSlider) _char_slider;
47 static TypedWritable *make_from_bam(
const FactoryParams ¶ms);
54 static void init_type() {
55 VertexSlider::init_type();
57 VertexSlider::get_class_type());
60 return get_class_type();
62 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
67 friend class CharacterSlider;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
const CharacterSlider * get_char_slider() const
Returns the CharacterSlider object for which this object returns the slider value.
static void register_with_read_factory()
Tells the BamReader how to create objects of type CharacterVertexSlider.
virtual PN_stdfloat get_slider() const
Returns the current slider value.
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 ...
An instance of this class is passed to the Factory when requesting it to do its business and construc...
TypeHandle is the identifier used to differentiate C++ class types.
virtual int complete_pointers(TypedWritable **p_list, BamReader *manager)
Receives an array of pointers, one for each time manager->read_pointer() was called in fillin().
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 our own Panda specialization on the default STL list.
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(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.