14 #ifndef TYPEDWRITABLE_H
15 #define TYPEDWRITABLE_H
46 virtual void update_bam_nested(
BamWriter *manager);
49 virtual bool require_fully_complete()
const;
55 virtual void finalize(
BamReader *manager);
60 INLINE
void mark_bam_modified();
61 INLINE
UpdateSeq get_bam_modified()
const;
63 EXTENSION(PyObject *__reduce__(PyObject *
self)
const);
64 EXTENSION(PyObject *__reduce_persist__(PyObject *
self, PyObject *pickler)
const);
66 INLINE vector_uchar encode_to_bam_stream()
const;
67 bool encode_to_bam_stream(vector_uchar &data,
BamWriter *writer =
nullptr)
const;
75 void remove_bam_writer(
BamWriter *writer);
80 struct BamWriterLink {
84 AtomicAdjust::Pointer _bam_writers;
95 TypedObject::get_class_type());
99 return get_class_type();
103 return get_class_type();
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 ...
A base class for all things that want to be reference-counted.
TypeHandle is the identifier used to differentiate C++ class types.
void record_alternate_name(TypeHandle type, const std::string &name)
Indicates an alternate name for the same type.
static TypeRegistry * ptr()
Returns the pointer to the global TypeRegistry object.
This is an abstract class that all classes which use TypeHandle, and also provide virtual functions t...
static void init_type()
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Base class for objects that can be written to and read from Bam files.
This is a sequence number that increments monotonically.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.