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

#include <LogicSystem.h>

+ Inheritance diagram for Demo::LogicSystem:
+ Collaboration diagram for Demo::LogicSystem:

Public Member Functions

 LogicSystem (GameState *gameState)
 
virtual ~LogicSystem ()
 
void _notifyGraphicsSystem (BaseSystem *graphicsSystem)
 
void _notifyGameEntityManager (GameEntityManager *mgr)
 
void finishFrameParallel (void)
 
GameEntityManagergetGameEntityManager (void)
 
Ogre::uint32 getCurrentTransformIdx (void) const
 
- Public Member Functions inherited from Demo::BaseSystem
 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 Member Functions

virtual void processIncomingMessage (Mq::MessageId messageId, const void *data)
 
- Protected Member Functions inherited from Demo::Mq::MessageQueueSystem
void processIncomingMessages (void)
 Processes all incoming messages received from other threads. More...
 

Protected Attributes

BaseSystemmGraphicsSystem
 
GameEntityManagermGameEntityManager
 
Ogre::uint32 mCurrentTransformIdx
 
std::deque< Ogre::uint32 > mAvailableTransformIdx
 
- Protected Attributes inherited from Demo::BaseSystem
GameStatemCurrentGameState
 

Constructor & Destructor Documentation

◆ LogicSystem()

Demo::LogicSystem::LogicSystem ( GameState gameState)

◆ ~LogicSystem()

Demo::LogicSystem::~LogicSystem ( )
virtual

Member Function Documentation

◆ _notifyGameEntityManager()

void Demo::LogicSystem::_notifyGameEntityManager ( GameEntityManager mgr)
inline
+ Here is the caller graph for this function:

◆ _notifyGraphicsSystem()

void Demo::LogicSystem::_notifyGraphicsSystem ( BaseSystem graphicsSystem)
inline

◆ finishFrameParallel()

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

◆ getCurrentTransformIdx()

Ogre::uint32 Demo::LogicSystem::getCurrentTransformIdx ( void  ) const
inline

◆ getGameEntityManager()

GameEntityManager* Demo::LogicSystem::getGameEntityManager ( void  )
inline

◆ processIncomingMessage()

void Demo::LogicSystem::processIncomingMessage ( Mq::MessageId  messageId,
const void *  data 
)
protectedvirtual
See also
MessageQueueSystem::processIncomingMessage

Implements Demo::Mq::MessageQueueSystem.

+ Here is the call graph for this function:

Member Data Documentation

◆ mAvailableTransformIdx

std::deque<Ogre::uint32> Demo::LogicSystem::mAvailableTransformIdx
protected

◆ mCurrentTransformIdx

Ogre::uint32 Demo::LogicSystem::mCurrentTransformIdx
protected

◆ mGameEntityManager

GameEntityManager* Demo::LogicSystem::mGameEntityManager
protected

◆ mGraphicsSystem

BaseSystem* Demo::LogicSystem::mGraphicsSystem
protected

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