Panda3D
Loading...
Searching...
No Matches
ioPtaDatagramFloat.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 ioPtaDatagramFloat.h
10 * @author charles
11 * @date 2000-07-10
12 */
13
14#ifndef _IO_PTA_DATAGRAM_FLOAT
15#define _IO_PTA_DATAGRAM_FLOAT
16
17#include "pandabase.h"
18
19#include "pointerToArray.h"
20#include "pta_stdfloat.h"
21
22class BamReader;
23class BamWriter;
24class Datagram;
26
27/**
28 * This class is used to read and write a PTA_stdfloat from a Datagram, in
29 * support of Bam. It's not intended to be constructed; it's just a
30 * convenient place to scope these static methods which should be called
31 * directly.
32 */
33class EXPCL_PANDA_PUTIL IoPtaDatagramFloat {
34public:
35 static void write_datagram(BamWriter *manager, Datagram &dest, CPTA_stdfloat array);
36 static PTA_stdfloat read_datagram(BamReader *manager, DatagramIterator &source);
37};
38
40
41#endif // _IO_PTA_DATAGRAM_FLOAT
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_stdfloat 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.