15 #ifndef DATAGRAMSINK_H
16 #define DATAGRAMSINK_H
18 #include "pandabase.h"
35 virtual ~DatagramSink();
37 virtual bool put_datagram(
const Datagram &data) = 0;
40 virtual bool is_error() = 0;
41 virtual void flush() = 0;
43 virtual const Filename &get_filename();
45 virtual streampos get_file_pos();
48 #include "datagramSink.I"
Keeps a reference-counted pointer to a file on disk.
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.
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 ...