Panda3D
Classes | Macros | Typedefs | Functions
bamReader.h File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "pandabase.h"
#include "pnotify.h"
#include "typedWritable.h"
#include "typedWritableReferenceCount.h"
#include "pointerTo.h"
#include "datagramGenerator.h"
#include "datagramIterator.h"
#include "bamReaderParam.h"
#include "bamEnums.h"
#include "subfileInfo.h"
#include "loaderOptions.h"
#include "factory.h"
#include "vector_int.h"
#include "pset.h"
#include "pmap.h"
#include "pdeque.h"
#include "dcast.h"
#include "pipelineCyclerBase.h"
#include "referenceCount.h"
#include <algorithm>
#include "bamReader.I"

Go to the source code of this file.

Classes

class  BamReader::AuxData
 
class  BamReader
 This is the fundamental interface for extracting binary objects from a Bam file, as generated by a BamWriter. More...
 
class  BamReaderAuxData
 Stores auxiliary data that may be piggybacked on the BamReader during each object's read pass. More...
 

Macros

#define READ_PTA(Manager, source, Read_func, array)
 

Typedefs

typedef BamReader::WritableFactory WritableFactory
 

Functions

void parse_params (const FactoryParams &params, DatagramIterator &scan, BamReader *&manager)
 Takes in a FactoryParams, passed from a WritableFactory into any TypedWritable's make function, and parses out the datagram that contatins the data it needs to construct itself, and parses out the pointer to the managing BamReader object. More...
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
jason
Date
2000-06-12

Definition in file bamReader.h.

Macro Definition Documentation

◆ READ_PTA

#define READ_PTA (   Manager,
  source,
  Read_func,
  array 
)
Value:
{ \
void *t; \
if ((t = Manager->get_pta(source)) == nullptr) \
{ \
array = Read_func(Manager, source); \
Manager->register_pta(array.get_void_ptr()); \
} \
else \
{ \
array.set_void_ptr(t); \
} \
}

Definition at line 42 of file bamReader.h.

Function Documentation

◆ parse_params()

void parse_params ( const FactoryParams params,
DatagramIterator scan,
BamReader *&  manager 
)
inline