A Notification represents a short message used to inform the player about something that just happened.
More...
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/modules/notifications/NotificationManager.h>
A Notification represents a short message used to inform the player about something that just happened.
With the NotificationManager a Notification can be sent from any part of orxonox and is then displayed by the proper NotificationQueue(s) (depending on which senders the specific NotificationQueues accepts).
A Notification is just a data structure that is used internally by the Notifications module.
- Author
- Damian 'Mozork' Frick
orxonox::Notification::Notification |
( |
const std::string & |
message, |
|
|
const std::string & |
sender, |
|
|
NotificationMessageType |
type |
|
) |
| |
Constructor.
Creates a Notification with the input message and sender.
- Parameters
-
orxonox::Notification::~Notification |
( |
| ) |
|
|
virtual |
void orxonox::Notification::destroy |
( |
void |
| ) |
|
|
inline |
const std::string& orxonox::Notification::getMessage |
( |
void |
| ) |
const |
|
inline |
const std::string& orxonox::Notification::getSender |
( |
void |
| ) |
const |
|
inline |
void orxonox::Notification::initialize |
( |
void |
| ) |
|
|
private |
Registers the object and sets some default values.
std::string orxonox::Notification::message_ |
|
private |
std::string orxonox::Notification::sender_ |
|
private |
The sender of the notification.
The type of the notification.
The documentation for this class was generated from the following files: