#include <PhxCore.h>
Inheritance diagram for Phx::Core:

Public Member Functions | |
| virtual void | main (void)=0 |
| NamedInterface::Manager * | namedInterfaceManager () |
| Retrieves a pointer to the NamedInterface::Manager instance that is charged with keeping track of objects for this Core. | |
| const NamedInterface::Manager * | namedInterfaceManager () const |
| Description::Manager * | descriptionManager () |
| Retrieves a pointer to the Description::Manager instance that is charged with keeping track of Description types for this Core. | |
| const Description::Manager * | descriptionManager () const |
Static Public Member Functions | |
| static Ptr< Core > | newCore (void) |
| Constructs a new core instance and returns it. | |
Static Public Attributes | |
| static const NamedInterface::Identifier | FRAME_START_EVENT_NOTIFIER_IDENTIFIER |
| Identifier for the system 'start frame' EventNotifier. | |
| static const String | FRAME_START_EVENT_NOTIFIER_NAME |
| Text name for the system 'start frame' EventNotifier. | |
| static const NamedInterface::Identifier | FRAME_END_EVENT_NOTIFIER_IDENTIFIER |
| Identifier for the system 'end frame' EventNotifier. | |
| static const String | FRAME_END_EVENT_NOTIFIER_NAME |
| Text name for the system 'end frame' EventNotifier. | |
| static const NamedInterface::Identifier | QUIT_EVENT_NOTIFIER_IDENTIFIER |
| Identifier for the system 'Quit' notifier. | |
| static const String | QUIT_EVENT_NOTIFIER_NAME |
| Text name for the system 'Quit' notifier. | |
| static const NamedInterface::Identifier | EXIT_EVENT_NOTIFIER_IDENTIFIER |
| Identifier for the system 'Exit' notifier. | |
| static const String | EXIT_EVENT_NOTIFIER_NAME |
| Text name for the system 'Exit' notifier. | |
| static const NamedInterface::Identifier | WALL_CLOCK_IDENTIFIER |
| Identifier for the system WallClock object. | |
| static const String | WALL_CLOCK_NAME |
| Text name for the system WallClock object. | |
| static const NamedInterface::Identifier | FRAME_CLOCK_IDENTIFIER |
| Identifier for the system FrameClock object. | |
| static const String | FRAME_CLOCK_NAME |
| Text name for the system FrameClock object. | |
Protected Member Functions | |
| void | setNamedInterfaceManager (const Ptr< NamedInterface::Manager > &manager) |
| void | setDescriptionManager (const Ptr< Description::Manager > &manager) |
The Core is the controller of the simulation. It presides over the top level facilities needed to run the program, and is responsible for running the main-loop of the simulation.
|
|
Retrieves a pointer to the Description::Manager instance that is charged with keeping track of Description types for this Core.
|
|
|
Retrieves a pointer to the NamedInterface::Manager instance that is charged with keeping track of objects for this Core.
|
|
|
Identifier for the system 'Exit' notifier. This notifier is notified by the Core after the last frame has finished and the program is about to exit. This notification allows final processing to occur before the program finishes.
|
|
|
Identifier for the system FrameClock object.
|
|
|
Identifier for the system 'Quit' notifier. The 'quit' notifier is an EventNotifier that can be triggered by any client in order to terminate the program. The frame will finish executing, the Core will issue the 'Exit' notification, the main loop will finish and the program will exit.
|
|
|
Identifier for the system WallClock object.
|
1.4.2