Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes

UserActionHandler Class Reference

Inheritance diagram for UserActionHandler:
UserActionGroup

List of all members.

Public Member Functions

int visID () const
bool isHandled () const
void setHandled (bool)

Public Attributes

Notifier< UserActionHandlercreatenotifier
CNotifier< UserActionHandler, int > handlenotifier

Protected Member Functions

 UserActionHandler (int visid)
int getFreeID ()

Protected Attributes

int freeid_
int visid_
bool ishandled_

Constructor & Destructor Documentation

UserActionHandler::UserActionHandler ( int  visid  )  [protected]

Member Function Documentation

int UserActionHandler::getFreeID (  )  [protected]
bool UserActionHandler::isHandled (  )  const

Should be called as the first thing from callbacks that is triggered from handlenotifier. If isHandled() returns true, the callback should return immediately.

void UserActionHandler::setHandled ( bool   ) 

Should be called from callbacks that are triggered from handlenotifier if they have found the menu id they are looking for.

int UserActionHandler::visID (  )  const

Member Data Documentation

int UserActionHandler::freeid_ [protected]
int UserActionHandler::visid_ [protected]