14 #include "pandabase.h" 15 #include "timedCycle.h" 18 #include "datagramIterator.h" 42 _inv_cycle_time = 1. / _cycle_time;
static ClockObject * get_global_clock()
Returns a pointer to the global ClockObject.
PN_stdfloat get_stdfloat()
Extracts either a 32-bit or a 64-bit floating-point number, according to Datagram::set_stdfloat_doubl...
PN_uint16 get_uint16()
Extracts an unsigned 16-bit integer.
void add_stdfloat(PN_stdfloat value)
Adds either a 32-bit or a 64-bit floating-point number, according to set_stdfloat_double().
void write_datagram(Datagram &me)
Writes the contents of this object to the datagram for shipping out to a Bam file.
void fillin(DatagramIterator &scan)
This internal function is called by make_TimedCycle to read in all of the relevant data from the BamF...
double get_real_time() const
Returns the actual number of seconds elapsed since the ClockObject was created, or since it was last ...
void add_uint16(PN_uint16 value)
Adds an unsigned 16-bit integer to the datagram.
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 ...