14 #ifndef BUTTONEVENTLIST_H
15 #define BUTTONEVENTLIST_H
40 INLINE
int get_num_events()
const;
47 virtual void output(std::ostream &out)
const;
48 void write(std::ostream &out,
int indent_level = 0)
const;
55 static void register_with_read_factory();
68 static void init_type() {
69 ParamValueBase::init_type();
71 ParamValueBase::get_class_type());
74 return get_class_type();
76 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
82 INLINE std::ostream &operator << (std::ostream &out,
const ButtonEventList &buttonlist) {
83 buttonlist.output(out);
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 ...
An instance of this class is passed to the Factory when requesting it to do its business and construc...
A non-template base class of ParamValue (below), which serves mainly to define the placeholder for th...
TypeHandle is the identifier used to differentiate C++ class types.
Base class for objects that can be written to and read from Bam files.
virtual void fillin(DatagramIterator &scan, BamReader *manager)
This internal function is intended to be called by each class's make_from_bam() method to read in all...
virtual void write_datagram(BamWriter *manager, Datagram &dg)
Writes the contents of this object to the datagram for shipping out to a Bam file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.