Elaztek Developer Hub
Blamite Game Engine - blam!  00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
Demo::BaseSystem Class Reference

#include <BaseSystem.h>

+ Inheritance diagram for Demo::BaseSystem:
+ Collaboration diagram for Demo::BaseSystem:

Public Member Functions

 BaseSystem (GameState *gameState=nullptr)
 
virtual ~BaseSystem ()
 
virtual void initialize (void)
 
virtual void deinitialize (void)
 
virtual void createScene01 (void)
 
virtual void createScene02 (void)
 
virtual void destroyScene (void)
 
void beginFrameParallel (void)
 
void update (float timeSinceLast)
 
void finishFrameParallel (void)
 
void finishFrame (void)
 
- Public Member Functions inherited from Demo::Mq::MessageQueueSystem
virtual ~MessageQueueSystem ()
 
template<typename T >
void queueSendMessage (MessageQueueSystem *dstSystem, Mq::MessageId messageId, const T &msg)
 Queues message 'msg' to be sent to a destination MessageQueueSystem. More...
 
void flushQueuedMessages (void)
 Sends all the messages queued via see queueSendMessage(); Must be called from the thread that owns 'this'. More...
 
template<typename T >
void receiveMessageImmediately (Mq::MessageId messageId, const T &msg)
 Sends a message to 'this' base system immediately. More...
 

Protected Attributes

GameStatemCurrentGameState
 

Additional Inherited Members

- Protected Member Functions inherited from Demo::Mq::MessageQueueSystem
void processIncomingMessages (void)
 Processes all incoming messages received from other threads. More...
 
virtual void processIncomingMessage (Mq::MessageId messageId, const void *data)=0
 Derived classes must implement this function to process the incoming message. More...
 

Constructor & Destructor Documentation

◆ BaseSystem()

Demo::BaseSystem::BaseSystem ( GameState gameState = nullptr)

◆ ~BaseSystem()

Demo::BaseSystem::~BaseSystem ( )
virtual

Member Function Documentation

◆ beginFrameParallel()

void Demo::BaseSystem::beginFrameParallel ( void  )
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createScene01()

void Demo::BaseSystem::createScene01 ( void  )
virtual
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createScene02()

void Demo::BaseSystem::createScene02 ( void  )
virtual
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ deinitialize()

void Demo::BaseSystem::deinitialize ( void  )
virtual

Reimplemented in Demo::GraphicsSystem.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ destroyScene()

void Demo::BaseSystem::destroyScene ( void  )
virtual
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ finishFrame()

void Demo::BaseSystem::finishFrame ( void  )
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ finishFrameParallel()

void Demo::BaseSystem::finishFrameParallel ( void  )
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initialize()

void Demo::BaseSystem::initialize ( void  )
virtual
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ update()

void Demo::BaseSystem::update ( float  timeSinceLast)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ mCurrentGameState

GameState* Demo::BaseSystem::mCurrentGameState
protected

The documentation for this class was generated from the following files: