OpendTect  7.0
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
UserActionHandler Class Reference
Inheritance diagram for UserActionHandler:
[legend]

Public Member Functions

bool isHandled () const
 
void setHandled (bool)
 
int visID () const
 
- Public Member Functions inherited from UserActionGroup
virtual ~UserActionGroup ()
 
virtual void addAction (UserAction *, bool manage=false)
 
virtual void addGroup (UserActionGroup *, bool manage=false)
 
virtual bool canAddGroup () const
 
virtual void removeAll ()
 

Public Attributes

Notifier< UserActionHandlercreatenotifier
 
CNotifier< UserActionHandler, int > handlenotifier
 

Protected Member Functions

 UserActionHandler (int visid)
 
int getFreeID ()
 

Protected Attributes

int freeid_
 
bool ishandled_
 
int visid_
 
- Protected Attributes inherited from UserActionGroup
ObjectSet< UserActionactions_
 
BoolTypeSet actionsownership_
 
ObjectSet< UserActionGroupgroups_
 
BoolTypeSet groupsowership_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ UserActionHandler()

UserActionHandler::UserActionHandler ( int  visid)
protected

Member Function Documentation

◆ getFreeID()

int UserActionHandler::getFreeID ( )
protected

◆ isHandled()

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.

◆ setHandled()

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.

◆ visID()

int UserActionHandler::visID ( ) const

Member Data Documentation

◆ createnotifier

Notifier<UserActionHandler> UserActionHandler::createnotifier

◆ freeid_

int UserActionHandler::freeid_
protected

◆ handlenotifier

CNotifier<UserActionHandler,int> UserActionHandler::handlenotifier

◆ ishandled_

bool UserActionHandler::ishandled_
protected

◆ visid_

int UserActionHandler::visid_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024