OpendTect  6.6
canvascommands.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Jaap Glas
8  Date: February 2009
9  RCS: $Id$
10  ________________________________________________________________________
11 
12 -*/
13 
14 #include "uicmddrivermod.h"
15 #include "command.h"
16 #include "cmdcomposer.h"
17 #include "uigraphicsviewbase.h"
18 
21 namespace CmdDrive
22 {
23 
24 mStartDeclCmdClass( uiCmdDriver, CanvasMenu, UiObjectCmd ) mEndDeclCmdClass
25 
26 
28 {
29 public:
31  : actobj_( const_cast<uiGraphicsViewBase&>(obj) )
32  {}
33  void actCB(CallBacker*);
34 
35 protected:
37 };
38 
39 
40 mStartDeclCmdClass( uiCmdDriver, NrCanvasMenuItems, UiObjQuestionCmd )
42 mStartDeclCmdClass( uiCmdDriver, IsCanvasMenuItemOn, UiObjQuestionCmd )
44 mStartDeclCmdClass( uiCmdDriver, GetCanvasMenuItem, UiObjQuestionCmd )
46 
49 
50 
51 }; // namespace CmdDrive
52 
cmdcomposer.h
CmdDrive::UiObjectCmd
Definition: command.h:155
CmdDrive::GraphicsViewMenuActivator::actobj_
uiGraphicsViewBase & actobj_
Definition: canvascommands.h:36
mEndDeclCmdClass
#define mEndDeclCmdClass
Definition: command.h:151
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
uigraphicsviewbase.h
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
CmdDrive::mStartDeclCmdClass
mStartDeclCmdClass(CmdDriver, Wheel, UiObjectCmd) mEndDeclCmdClass class WheelActivator mStartDeclCmdClass(CmdDriver, GetWheel, UiObjQuestionCmd) mEndDeclCmdClass mStartDeclComposerClassWithInit(CmdDriver
command.h
CmdDrive::CmdComposer
Definition: cmdcomposer.h:52
mEndDeclComposerClass
#define mEndDeclComposerClass
Definition: cmdcomposer.h:148
uiGraphicsViewBase
Definition: uigraphicsviewbase.h:30
CmdDrive::GraphicsViewMenuActivator::actCB
void actCB(CallBacker *)
mStartDeclComposerClass
#define mStartDeclComposerClass(mod, cmdkey, parentclass, callerclass)
Definition: cmdcomposer.h:130
CmdDrive
Command Drive
Definition: canvascommands.h:22
CmdDrive::GraphicsViewMenuActivator
Definition: canvascommands.h:28
CmdDrive::GraphicsViewMenuActivator::GraphicsViewMenuActivator
GraphicsViewMenuActivator(const uiGraphicsViewBase &obj)
Definition: canvascommands.h:30
CmdDrive::UiObjQuestionCmd
Definition: command.h:161
CmdDrive::Activator
Definition: command.h:186

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