14 #ifndef DATAGRAMSINK_H 15 #define DATAGRAMSINK_H 34 virtual bool put_datagram(
const Datagram &data) = 0;
37 virtual bool is_error() = 0;
38 virtual void flush() = 0;
40 virtual const Filename &get_filename();
42 virtual std::streampos get_file_pos();
44 MAKE_PROPERTY(filename, get_filename);
45 MAKE_PROPERTY(file, get_file);
46 MAKE_PROPERTY(file_pos, get_file_pos);
Keeps a reference-counted pointer to a file on disk.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class defines the abstract interface to sending datagrams to any target, whether it be into a fi...
The name of a file, such as a texture file or an Egg file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class records a particular byte sub-range within an existing file on disk.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...