14#ifndef BUTTONEVENTLIST_H
15#define BUTTONEVENTLIST_H
33class EXPCL_PANDA_EVENT ButtonEventList :
public ParamValueBase {
35 INLINE ButtonEventList();
36 INLINE ButtonEventList(
const ButtonEventList ©);
37 INLINE
void operator = (
const ButtonEventList ©);
47 virtual void output(std::ostream &out)
const;
48 void write(std::ostream &out,
int indent_level = 0)
const;
53 typedef pvector<ButtonEvent> Events;
61 static TypedWritable *make_from_bam(
const FactoryParams ¶ms);
70 static void init_type() {
71 ParamValueBase::init_type();
73 ParamValueBase::get_class_type());
75 virtual TypeHandle get_type()
const {
76 return get_class_type();
78 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
81 static TypeHandle _type_handle;
84INLINE std::ostream &operator << (std::ostream &out,
const ButtonEventList &buttonlist) {
85 buttonlist.output(out);
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 ...
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 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.