src/GEOMBase/GEOM_Operation.h

Go to the documentation of this file.
00001 //  GEOM GEOMGUI : GUI for Geometry component
00002 //
00003 //  Copyright (C) 2004  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00004 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
00005 // 
00006 //  This library is free software; you can redistribute it and/or 
00007 //  modify it under the terms of the GNU Lesser General Public 
00008 //  License as published by the Free Software Foundation; either 
00009 //  version 2.1 of the License. 
00010 // 
00011 //  This library is distributed in the hope that it will be useful, 
00012 //  but WITHOUT ANY WARRANTY; without even the implied warranty of 
00013 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
00014 //  Lesser General Public License for more details. 
00015 // 
00016 //  You should have received a copy of the GNU Lesser General Public 
00017 //  License along with this library; if not, write to the Free Software 
00018 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
00019 // 
00020 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00021 //
00022 //
00023 //
00024 //  File   : GEOM_Operation.h
00025 //  Author : Sergey ANIKIN
00026 //  Module : GEOM
00027 //  $Header: /home/server/cvs/GEOM/GEOM_SRC/src/GEOMBase/GEOM_Operation.h,v 1.6 2006/06/01 11:32:34 jfa Exp $
00028 
00029 #ifndef GEOM_OPERATION_H
00030 #define GEOM_OPERATION_H
00031 
00032 #include "SUIT_Operation.h"
00033 #include <SALOMEconfig.h>
00034 #include <Standard_Macro.hxx>
00035 #include CORBA_CLIENT_HEADER(GEOM_Gen)
00036 
00037 
00038 class Standard_EXPORT GEOM_Operation : public SUIT_Operation
00039 {
00040 public:
00041   GEOM_Operation( SUIT_Application*, GEOM::GEOM_IOperations_ptr );
00042   virtual ~GEOM_Operation();
00043 
00044 protected:
00045   // Reimplemented from SUIT_Operation
00046   virtual void    startOperation();        
00047   virtual void    commitOperation();
00048   virtual void    suspendOperation();
00049   virtual void    resumeOperation();
00050   virtual void    abortOperation();
00051 
00052 private:
00053   GEOM::GEOM_IOperations_var myIOperation;
00054 };
00055 
00056 #endif