Public Member Functions | Protected Attributes

Engine::Warning Class Reference

Represents warning event. More...

#include <B2BITS_Event.h>

Inheritance diagram for Engine::Warning:
Collaboration diagram for Engine::Warning:

List of all members.

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.

Detailed Description

Represents warning event.

See also:
NotificationsMgr

Definition at line 130 of file B2BITS_Event.h.


Constructor & Destructor Documentation

Engine::Warning::Warning ( const std::string &  msg )

Constructor.

Parameters:
msgString that describes the event.
virtual Engine::Warning::~Warning (  ) [inline, virtual]

Destructor.

Definition at line 139 of file B2BITS_Event.h.


Member Function Documentation

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.


Member Data Documentation

std::string Engine::Warning::m_reason [protected]

Contains string that describes the event.

Definition at line 147 of file B2BITS_Event.h.