Represents error event. More...
#include <B2BITS_Event.h>
Inheritance diagram for Engine::Error:
Collaboration diagram for Engine::Error:Public Member Functions | |
| Error (const std::string &msg) | |
| Constructor. | |
| virtual Type | getType () const |
| Returns the event type. | |
| virtual const std::string * | what () const |
| Describes the event. | |
| virtual | ~Error () |
| Destructor. | |
Protected Attributes | |
| std::string | m_reason |
| Contains string that describes the event. | |
Represents error event.
Definition at line 155 of file B2BITS_Event.h.
| Engine::Error::Error | ( | const std::string & | msg ) |
Constructor.
| msg | String that describes the event. |
| virtual Engine::Error::~Error | ( | ) | [inline, virtual] |
Destructor.
Definition at line 164 of file B2BITS_Event.h.
| virtual Type Engine::Error::getType | ( | ) | const [inline, virtual] |
Returns the event type.
Can be used instead of C++ RTTI.
Implements Engine::Event.
Reimplemented in Engine::SessionError, and Engine::ParseErrorInSession.
Definition at line 168 of file B2BITS_Event.h.
References Engine::Event::ERROR_EVENT.
| virtual const std::string* Engine::Error::what | ( | ) | const [virtual] |
std::string Engine::Error::m_reason [protected] |
Contains string that describes the event.
Definition at line 172 of file B2BITS_Event.h.
1.7.2