casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
QtRegionSourceFactory.h
Go to the documentation of this file.
00001 
00002 #ifndef REGION_QTREGIONSOURCEFACTORY_H_
00003 #define REGION_QTREGIONSOURCEFACTORY_H_
00004 #include <display/region/RegionSourceFactory.h>
00005 
00006 namespace casa {
00007 
00008         class QtDisplayPanelGui;
00009 
00010         namespace viewer {
00011 
00012                 class QtRegionDock;
00013 
00014                 class QtRegionSourceFactory : public RegionSourceFactory {
00015                         public:
00016                                 RegionSource *newSource( RegionCreator *rc );
00017                                 QtRegionSourceFactory( QtDisplayPanelGui *panel ) : panel_(panel) { }
00018                                 ~QtRegionSourceFactory( ) { }
00019                                 QtRegionDock *regionDock( );
00020                         private:
00021                                 RegionSource::shared_kernel_ptr_type kernel_;
00022                                 QtDisplayPanelGui *panel_;
00023                 };
00024     }
00025 }
00026 
00027 #endif