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

#include <InputEvents.hh>

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

Public Member Functions

 OsdControlReleaseEvent (unsigned button, const std::shared_ptr< const Event > &origEvent)
 
TclObject toTclList () const override
 Similar to toString(), but retains the structure of the event. More...
 
- Public Member Functions inherited from openmsx::OsdControlEvent
unsigned getButton () const
 
bool isRepeatStopper (const Event &other) const final override
 Get the event that actually triggered the creation of this event. More...
 
- Public Member Functions inherited from openmsx::TimedEvent
uint64_t getRealTime () const
 Query creation time. More...
 
- 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 matches (const Event &other) const
 Does this event 'match' the given event. More...
 

Additional Inherited Members

- Public Types inherited from openmsx::OsdControlEvent
enum  {
  LEFT_BUTTON, RIGHT_BUTTON, UP_BUTTON, DOWN_BUTTON,
  A_BUTTON, B_BUTTON
}
 
- Protected Member Functions inherited from openmsx::OsdControlEvent
 OsdControlEvent (EventType type, unsigned button_, std::shared_ptr< const Event > origEvent)
 
 ~OsdControlEvent ()=default
 
TclObject toTclHelper (string_view direction) const
 
- Protected Member Functions inherited from openmsx::TimedEvent
 TimedEvent (EventType type)
 
 ~TimedEvent ()=default
 
- Protected Member Functions inherited from openmsx::Event
 Event (EventType type_)
 
 ~Event ()=default
 

Detailed Description

Definition at line 275 of file InputEvents.hh.

Constructor & Destructor Documentation

◆ OsdControlReleaseEvent()

openmsx::OsdControlReleaseEvent::OsdControlReleaseEvent ( unsigned  button,
const std::shared_ptr< const Event > &  origEvent 
)

Definition at line 379 of file InputEvents.cc.

Member Function Documentation

◆ toTclList()

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

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

Implements openmsx::Event.

Definition at line 385 of file InputEvents.cc.

References openmsx::OsdControlEvent::toTclHelper().


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