Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Examples

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.

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.

YCPMap YSimpleEvent::ycpEvent  )  [virtual]
 

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

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 Fri Nov 9 18:15:25 2007 for yast2-core by doxygen 1.3.6