Panda3D
Public Member Functions | Public Attributes | List of all members
ComputeNode::Dispatcher::CData Class Reference
Inheritance diagram for ComputeNode::Dispatcher::CData:
CycleData MemoryBase

Public Member Functions

 CData (const CData &copy)
 
virtual void fillin (DatagramIterator &scan, BamReader *manager)
 This internal function is called by make_from_bam to read in all of the relevant data from the BamFile for the new ComputeNode. More...
 
virtual TypeHandle get_parent_type () const
 Returns the type of the container that owns the CycleData. More...
 
virtual CycleDatamake_copy () const
 
virtual void write_datagram (BamWriter *manager, Datagram &dg) const
 Writes the contents of this object to the datagram for shipping out to a Bam file. More...
 
- Public Member Functions inherited from CycleData
 CycleData (CycleData &&from)=default
 
 CycleData (const CycleData &copy)=default
 
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(). More...
 
virtual void fillin (DatagramIterator &scan, BamReader *manager, void *extra_data)
 This internal function is intended to be called by each class's make_from_bam() method to read in all of the relevant data from the BamFile for the new object. More...
 
CycleDataoperator= (CycleData &&from)=default
 
CycleDataoperator= (const CycleData &copy)=default
 
virtual void output (std::ostream &out) const
 Formats the contents of the CycleData in some meaningful way for humans. More...
 
virtual void write_datagram (BamWriter *, Datagram &, void *extra_data) const
 Writes the contents of this object to the datagram for shipping out to a Bam file. More...
 

Public Attributes

Dispatches _dispatches
 

Detailed Description

Definition at line 67 of file computeNode.h.

Member Function Documentation

◆ fillin()

void ComputeNode::Dispatcher::CData::fillin ( DatagramIterator scan,
BamReader manager 
)
virtual

This internal function is called by make_from_bam to read in all of the relevant data from the BamFile for the new ComputeNode.

Reimplemented from CycleData.

Definition at line 218 of file computeNode.cxx.

References DatagramIterator::get_uint16().

◆ get_parent_type()

virtual TypeHandle ComputeNode::Dispatcher::CData::get_parent_type ( ) const
inlinevirtual

Returns the type of the container that owns the CycleData.

This is useful mainly for debugging.

Reimplemented from CycleData.

Definition at line 74 of file computeNode.h.

◆ write_datagram()

void ComputeNode::Dispatcher::CData::write_datagram ( BamWriter manager,
Datagram dg 
) const
virtual

Writes the contents of this object to the datagram for shipping out to a Bam file.

Reimplemented from CycleData.

Definition at line 204 of file computeNode.cxx.

References Datagram::add_uint16().


The documentation for this class was generated from the following files: