openMSX
Public Member Functions | List of all members
openmsx::SimpleEvent Class Referencefinal

#include <Event.hh>

Inheritance diagram for openmsx::SimpleEvent:
Inheritance graph
[legend]
Collaboration diagram for openmsx::SimpleEvent:
Collaboration graph
[legend]

Public Member Functions

 SimpleEvent (EventType type_)
 
TclObject toTclList () const override
 Similar to toString(), but retains the structure of the event. More...
 
bool lessImpl (const Event &other) const override
 
- Public Member Functions inherited from openmsx::Event
 Event (const Event &)=delete
 
Eventoperator= (const Event &)=delete
 
EventType getType () const
 
std::string toString () const
 Get a string representation of this event. More...
 
bool operator< (const Event &other) const
 
bool operator> (const Event &other) const
 
bool operator<= (const Event &other) const
 
bool operator>= (const Event &other) const
 
bool operator== (const Event &other) const
 
bool operator!= (const Event &other) const
 
virtual bool isRepeatStopper (const Event &) const
 Should 'bind -repeat' be stopped by 'other' event. More...
 
virtual bool matches (const Event &other) const
 Does this event 'match' the given event. More...
 

Additional Inherited Members

- Protected Member Functions inherited from openmsx::Event
 Event (EventType type_)
 
 ~Event ()=default
 

Detailed Description

Definition at line 127 of file Event.hh.

Constructor & Destructor Documentation

◆ SimpleEvent()

openmsx::SimpleEvent::SimpleEvent ( EventType  type_)
inlineexplicit

Definition at line 130 of file Event.hh.

References openmsx::Event::toTclList().

Member Function Documentation

◆ lessImpl()

bool openmsx::SimpleEvent::lessImpl ( const Event other) const
overridevirtual

Implements openmsx::Event.

Definition at line 46 of file Event.cc.

◆ toTclList()

TclObject openmsx::SimpleEvent::toTclList ( ) const
overridevirtual

Similar to toString(), but retains the structure of the event.

Implements openmsx::Event.

Definition at line 41 of file Event.cc.

References openmsx::Event::getType(), and openmsx::makeTclList().


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