15 #ifndef DATAGRAMGENERATOR_H 16 #define DATAGRAMGENERATOR_H 18 #include "pandabase.h" 36 virtual ~DatagramGenerator();
38 virtual bool get_datagram(
Datagram &data) = 0;
40 virtual bool is_eof() = 0;
41 virtual bool is_error() = 0;
43 virtual const Filename &get_filename();
44 virtual time_t get_timestamp()
const;
47 virtual streampos get_file_pos();
50 #include "datagramGenerator.I" Keeps a reference-counted pointer to a file on disk.
The abstract base class for a file or directory within the VirtualFileSystem.
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.
This class defines the abstract interace to any source of datagrams, whether it be from a file or fro...
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...