YSimpleEvent Class Reference

abstract base class for events that just deal with an ID. More...

#include <YEvent.h>

Inheritance diagram for YSimpleEvent:

YEvent YCancelEvent YDebugEvent YMenuEvent YTimeoutEvent List of all members.

Public Member Functions

 YSimpleEvent (EventType eventType, const YCPValue &id)
 YSimpleEvent (EventType eventType, const char *id)
 YSimpleEvent (EventType eventType, const string &id)
YCPValue id () const
virtual YCPMap ycpEvent ()
virtual YCPValue userInput ()

Protected Attributes

YCPValue _id

Detailed Description

abstract base class for events that just deal with an ID.


Constructor & Destructor Documentation

YSimpleEvent::YSimpleEvent ( EventType  eventType,
const YCPValue id 
)

Constructors.

YSimpleEvent::YSimpleEvent ( EventType  eventType,
const char *  id 
)

YSimpleEvent::YSimpleEvent ( EventType  eventType,
const string &  id 
)


Member Function Documentation

YCPValue YSimpleEvent::id (  )  const [inline]

Returns the ID associated with this event.

YCPMap YSimpleEvent::ycpEvent (  )  [virtual]

Constructs a YCP map to be returned upon UI::WaitForEvent().

Reimplemented from YEvent.

Reimplemented from YEvent.

YCPValue YSimpleEvent::userInput (  )  [virtual]

Returns the ID to be returned upon UI::UserInput(). This is the same as the "id" field of the ycpEvent() map.

Reimplemented from YEvent.

Reimplemented from YEvent.


Member Data Documentation

YCPValue YSimpleEvent::_id [protected]


The documentation for this class was generated from the following files:
Generated on Tue Nov 6 01:20:23 2007 for yast2-core by  doxygen 1.5.0