Model Railroad System  2.2.2
Public Member Functions | Private Member Functions | Private Attributes | List of all members
lcc::EventLog Class Reference

Event received log, with event sender. More...

Public Member Functions

 EventLog (name,...)
 Construct an EventLog widget. More...
 
 open ()
 Open window. More...
 
 eventReceived (eventid)
 Log a received event. More...
 

Private Member Functions

 _sendtheevent ()
 Send an event. More...
 
 _close ()
 Close the window. More...
 
 _clear ()
 Clear the log. More...
 

Private Attributes

 logscroll
 Log Scroll Widget. More...
 
 logtext
 Log text Widget (readonly). More...
 
 sendevent
 Send event entry. More...
 

Detailed Description

Event received log, with event sender.

Options:

Constructor & Destructor Documentation

◆ EventLog()

lcc::EventLog::EventLog ( name  ,
  ... 
)

Construct an EventLog widget.

This is a toplevel window with a scrolling log of received events. There is also an entry to send an event.

Parameters
...Options:
  • -transport The transport to use.

Member Function Documentation

◆ _clear()

lcc::EventLog::_clear ( )
private

Clear the log.

◆ _close()

lcc::EventLog::_close ( )
private

Close the window.

◆ _sendtheevent()

lcc::EventLog::_sendtheevent ( )
private

Send an event.

◆ eventReceived()

lcc::EventLog::eventReceived ( eventid  )

Log a received event.

Parameters
eventidEventID object to log.

◆ open()

lcc::EventLog::open ( )

Open window.

Member Data Documentation

◆ logscroll

lcc::EventLog::logscroll
private

Log Scroll Widget.

◆ logtext

lcc::EventLog::logtext
private

Log text Widget (readonly).

◆ sendevent

lcc::EventLog::sendevent
private

Send event entry.