B2BITS FIX Antenna HFT  1.0.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
Engine::Notification Class Reference

Represents notification event. More...

#include <B2BITS_Event.h>

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

Public Member Functions

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

Protected Attributes

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

Additional Inherited Members

- Public Types inherited from Engine::Event
enum  Type {
  EVENT, ERROR_EVENT, NOTIFICATION, WARNING,
  SESSION_ERROR, PARSE_ERROR_IN_SESSION, NEW_INCOMING_CONNECTION, SESSION_NOTIFICATION,
  SESSION_WAS_CREATED, SESSION_WAS_CONNECTED, SESSION_WAS_CLOSED, SESSION_WAS_ESTABLISHED,
  SESSION_WAS_RESTORED, SYNCHRONIZATION_COMPLETE, SESSION_WARNING, LINK_ERROR_WAS_DETECTED,
  LINK_WAS_RESTORED, PERSISTENT_DATA_WERE_FOUND, DEBUG_MESSAGE, SESSION_DEBUG_MESSAGE
}
 Event types. More...
 
- Protected Member Functions inherited from Engine::Event
virtual ~Event ()
 Destructor. More...
 

Detailed Description

Represents notification event.

See Also
NotificationsMgr

Constructor & Destructor Documentation

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

Constructor.

Parameters
msgstd::string that describes the event.
virtual Engine::Notification::~Notification ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual Type Engine::Notification::getType ( ) const
inlinevirtual
virtual const std::string* Engine::Notification::what ( ) const
virtual

Describes the event.

Implements Engine::Event.

Referenced by EventListener::onNotification().

Member Data Documentation

std::string Engine::Notification::m_reason
protected

Contains std::string that describes the event.