OpenWalnut  1.5.0dev
Public Member Functions | Private Attributes | List of all members
WLogEvent Class Reference

This event is triggered when a new event is to be added to the log. More...

#include <WLogEvent.h>

+ Inheritance diagram for WLogEvent:
+ Collaboration diagram for WLogEvent:

Public Member Functions

 WLogEvent (const WLogEntry &entry)
 constructor More...
 
virtual ~WLogEvent ()
 destructor More...
 
const WLogEntrygetEntry () const
 To access the WLogEntry of associated with the event. More...
 

Private Attributes

const WLogEntry m_entry
 The associated WLogEntry to the event. More...
 

Detailed Description

This event is triggered when a new event is to be added to the log.

Definition at line 35 of file WLogEvent.h.

Constructor & Destructor Documentation

◆ WLogEvent()

WLogEvent::WLogEvent ( const WLogEntry entry)
explicit

constructor

Parameters
entryWLogEvent which is associated with the event

Definition at line 29 of file WLogEvent.cpp.

◆ ~WLogEvent()

WLogEvent::~WLogEvent ( )
virtual

destructor

Definition at line 35 of file WLogEvent.cpp.

Member Function Documentation

◆ getEntry()

const WLogEntry & WLogEvent::getEntry ( ) const

To access the WLogEntry of associated with the event.

Returns
the log entry

Definition at line 39 of file WLogEvent.cpp.

References m_entry.

Referenced by WMainWindow::event().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_entry

const WLogEntry WLogEvent::m_entry
private

The associated WLogEntry to the event.

Definition at line 62 of file WLogEvent.h.

Referenced by getEntry().


The documentation for this class was generated from the following files: