self()

Retrieve the Simulator object.

Synopsis:

#include <qpps/simulator.h>
 
static Simulator* self();

Description:

Retrieve a reference to the global Simulator object. You must call this function before any others in the Simulator class to obtain the object reference, and then use that reference to call the other functions.

Returns:

A reference to the global instance of the simulator.