37 _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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void add_stdfloat(PN_stdfloat value)
Adds either a 32-bit or a 64-bit floating-point number, according to set_stdfloat_double().
void add_uint16(uint16_t value)
Adds an unsigned 16-bit integer to the datagram.
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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
get_real_time
Returns the actual number of seconds elapsed since the ClockObject was created, or since it was last ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
uint16_t get_uint16()
Extracts an unsigned 16-bit integer.
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 ...