CTK 0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
ctkEventDispatcherLocal.h
Go to the documentation of this file.
1/*
2 * ctkEventDispatcherLocal.h
3 * ctkEventBus
4 *
5 * Created by Daniele Giunchi on 11/04/10.
6 * Copyright 2009 B3C. All rights reserved.
7 *
8 * See Licence at: http://tiny.cc/QXJ4D
9 *
10 */
11
12#ifndef CTKEVENTDISPATCHERLOCAL_H
13#define CTKEVENTDISPATCHERLOCAL_H
14
15#include "ctkEventDefinitions.h"
16#include "ctkEventDispatcher.h"
17
18namespace ctkEventBus {
19
24class org_commontk_eventbus_EXPORT ctkEventDispatcherLocal : public ctkEventDispatcher {
25 Q_OBJECT
26
27public:
30
32 virtual void notifyEvent(ctkBusEvent &event_dictionary, ctkEventArgumentsList *argList = NULL, ctkGenericReturnArgument *returnArg = NULL) const;
33
34protected:
36 /*virtual*/ void initializeGlobalEvents();
37
38private:
39};
40
41}
42
43#endif // CTKEVENTDISPATCHERLOCAL_H
virtual void notifyEvent(ctkBusEvent &event_dictionary, ctkEventArgumentsList *argList=NULL, QGenericReturnArgument *returnArg=NULL) const
Emit event corresponding to the given id locally to the application.
void initializeGlobalEvents()
Register MAF global events.
ctkEventDispatcherLocal()
object constructor.
#define ctkGenericReturnArgument