B2BITS FIX Antenna C++ 2.32.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
Engine::DebugMessage Class Reference

Represents debug message. More...

#include <B2BITS_Event.h>

+ Inheritance diagram for Engine::DebugMessage:
+ Collaboration diagram for Engine::DebugMessage:

Public Member Functions

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

Protected Attributes

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

Additional Inherited Members

- Public Types inherited from Engine::Event
enum  Type {
  EVENT , ERROR_EVENT , NOTIFICATION , WARNING ,
  SESSION_ERROR , SESSION_LOGON_ERROR , PARSE_ERROR_IN_SESSION , NEW_INCOMING_CONNECTION ,
  NEW_INCOMING_CONNECTION_ERROR , SESSION_NOTIFICATION , SESSION_WAS_REJECTED , 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.
 

Detailed Description

Represents debug message.

See also
NotificationsMgr

Constructor & Destructor Documentation

◆ DebugMessage()

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

Constructor.

Parameters
msgstd::string that describes the event.

◆ ~DebugMessage()

virtual Engine::DebugMessage::~DebugMessage ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ getType()

virtual Type Engine::DebugMessage::getType ( ) const
inlinevirtual

Returns the event type.

Can be used instead of C++ RTTI.

Implements Engine::Event.

Reimplemented in Engine::SessionDebugMessage.

References Engine::Event::DEBUG_MESSAGE.

◆ what()

virtual const std::string * Engine::DebugMessage::what ( ) const
virtual

Describes the event.

Implements Engine::Event.

Member Data Documentation

◆ m_reason

std::string Engine::DebugMessage::m_reason
protected

Contains std::string that describes the event.