Represents warning event. More...
#include <B2BITS_Event.h>
Inheritance diagram for Engine::Warning:
Collaboration diagram for Engine::Warning:Public Member Functions | |
| virtual Type | getType () const |
| Returns the event type. | |
| Warning (const std::string &msg) | |
| Constructor. | |
| virtual const std::string * | what () const |
| Describes the event. | |
| virtual | ~Warning () |
| Destructor. | |
Protected Attributes | |
| std::string | m_reason |
| Contains string that describes the event. | |
Represents warning event.
Definition at line 130 of file B2BITS_Event.h.
| Engine::Warning::Warning | ( | const std::string & | msg ) |
Constructor.
| msg | String that describes the event. |
| virtual Engine::Warning::~Warning | ( | ) | [inline, virtual] |
Destructor.
Definition at line 139 of file B2BITS_Event.h.
| virtual Type Engine::Warning::getType | ( | ) | const [inline, virtual] |
Returns the event type.
Can be used instead of C++ RTTI.
Implements Engine::Event.
Reimplemented in Engine::SessionWarning, and Engine::LinkErrorWasDetected.
Definition at line 143 of file B2BITS_Event.h.
References Engine::Event::WARNING.
| virtual const std::string* Engine::Warning::what | ( | ) | const [virtual] |
Describes the event.
Implements Engine::Event.
std::string Engine::Warning::m_reason [protected] |
Contains string that describes the event.
Definition at line 147 of file B2BITS_Event.h.
1.7.2