Public Member Functions | Protected Attributes

Engine::Notification Class Reference

Represents notification event. More...

#include <B2BITS_Event.h>

Inheritance diagram for Engine::Notification:
Collaboration diagram for Engine::Notification:

List of all members.

Public Member Functions

virtual Type getType () const
 Returns the event type.
 Notification (const std::string &msg)
 Constructor.
virtual const std::string * what () const
 Describes the event.
virtual ~Notification ()
 Destructor.

Protected Attributes

std::string m_reason
 Contains string that describes the event.

Detailed Description

Represents notification event.

See also:
NotificationsMgr

Definition at line 105 of file B2BITS_Event.h.


Constructor & Destructor Documentation

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

Constructor.

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

Destructor.

Definition at line 114 of file B2BITS_Event.h.


Member Function Documentation

virtual Type Engine::Notification::getType (  ) const [inline, virtual]
virtual const std::string* Engine::Notification::what (  ) const [virtual]

Describes the event.

Implements Engine::Event.


Member Data Documentation

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

Contains string that describes the event.

Definition at line 122 of file B2BITS_Event.h.