#include <src/orxonox/overlays/hud/ChatOverlay.h>
Public Member Functions | |
ChatOverlay (BaseObject *creator) | |
void | setConfigValues () |
Function to collect the SetConfigValue-macro calls. | |
virtual | ~ChatOverlay () |
Protected Member Functions | |
virtual void | incomingChat (const std::string &message, unsigned int senderID) |
Protected Attributes | |
std::list< Ogre::UTFString > | messages_ |
Private Member Functions | |
void | dropMessage () |
void | updateOverlayText () |
Private Attributes | |
float | displayTime_ |
orxonox::ChatOverlay::ChatOverlay | ( | BaseObject * | creator | ) |
References displayTime_, RegisterObject, and setConfigValues().
orxonox::ChatOverlay::~ChatOverlay | ( | ) | [virtual] |
void orxonox::ChatOverlay::dropMessage | ( | ) | [private] |
void orxonox::ChatOverlay::incomingChat | ( | const std::string & | message, | |
unsigned int | senderID | |||
) | [protected, virtual] |
void orxonox::ChatOverlay::setConfigValues | ( | ) |
Function to collect the SetConfigValue-macro calls.
Reimplemented from orxonox::OrxonoxClass.
References displayTime_, and SetConfigValue.
Referenced by ChatOverlay().
void orxonox::ChatOverlay::updateOverlayText | ( | ) | [private] |
References messages_, and orxonox::OverlayText::text_.
Referenced by dropMessage(), and incomingChat().
float orxonox::ChatOverlay::displayTime_ [private] |
Referenced by ChatOverlay(), incomingChat(), and setConfigValues().
std::list<Ogre::UTFString> orxonox::ChatOverlay::messages_ [protected] |
Referenced by dropMessage(), incomingChat(), and updateOverlayText().