Panda3D
Loading...
Searching...
No Matches
datagram_ui.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 datagram_ui.h
10 * @author drose
11 * @date 2000-02-09
12 */
13
14#ifndef DATAGRAM_UI_H
15#define DATAGRAM_UI_H
16
17/*
18 * The functions defined here are used for testing purposes only by some of
19 * the various test_* programs in this directory. They are not compiled into
20 * the package library, libnet.so. These functions are handy for getting and
21 * reporting a datagram from and to the user. They extend a datagram by
22 * encoding information about the types of values stored in it.
23 */
24
25#include "pandabase.h"
26
27#include "netDatagram.h"
28
29std::istream &operator >> (std::istream &in, NetDatagram &datagram);
30std::ostream &operator << (std::ostream &out, const NetDatagram &datagram);
31
32#endif
A specific kind of Datagram, especially for sending across or receiving from a network.
Definition netDatagram.h:40
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.