Panda3D
Loading...
Searching...
No Matches
ioPtaDatagramInt.h
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file ioPtaDatagramInt.h
10 * @author jason
11 * @date 2000-06-26
12 */
13
14#ifndef _IO_PTA_DATAGRAM_INT
15#define _IO_PTA_DATAGRAM_INT
16
17#include "pandabase.h"
18
19#include "pointerToArray.h"
20#include "pta_int.h"
21
22class BamReader;
23class BamWriter;
24class Datagram;
26
27/**
28 * This class is used to read and write a PTA_int from a Datagram, in support
29 * of Bam. It's not intended to be constructed; it's just a convenient place
30 * to scope these static methods which should be called directly.
31 */
32class EXPCL_PANDA_PUTIL IoPtaDatagramInt {
33public:
34 static void write_datagram(BamWriter *manager, Datagram &dest, CPTA_int array);
35 static PTA_int read_datagram(BamReader *manager, DatagramIterator &source);
36};
37
39
40#endif
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
Definition bamReader.h:110
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
Definition bamWriter.h:63
Similar to PointerToArray, except that its contents may not be modified.
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 ...
Definition datagram.h:38
This class is used to read and write a PTA_int from a Datagram, in support of Bam.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.