• Classes
  • Modules
  • Namespaces
  • Files
  • Related Pages
  • File List
  • File Members

baciRecoverableObject.h

Go to the documentation of this file.
00001 #ifndef baciRecoverableObject_h
00002 #define baciRecoverableObject_h
00003 
00004 /*******************************************************************
00005 * ALMA - Atacama Large Millimiter Array
00006 * (c) European Southern Observatory, 2003 
00007 *
00008 *This library is free software; you can redistribute it and/or
00009 *modify it under the terms of the GNU Lesser General Public
00010 *License as published by the Free Software Foundation; either
00011 *version 2.1 of the License, or (at your option) any later version.
00012 *
00013 *This library is distributed in the hope that it will be useful,
00014 *but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016 *Lesser General Public License for more details.
00017 *
00018 *You should have received a copy of the GNU Lesser General Public
00019 *License along with this library; if not, write to the Free Software
00020 *Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
00021 *
00022 * "@(#) $Id: baciRecoverableObject.h,v 1.95 2011/09/02 11:39:00 bjeram Exp $"
00023 *
00024 * who       when        what
00025 * --------  ----------  ----------------------------------------------
00026 * msekoran  2001/02/20  created
00027 */
00028 
00034 #ifndef __cplusplus
00035 #error This is a C++ include file and cannot be used from plain C
00036 #endif
00037 
00038 #include <acsutil.h>
00039 #include <baciExport.h>
00040 
00041 namespace baci {
00042 
00046 #define ID_MONITOR     0
00047 
00051 #define ID_EVENT       1
00052 
00062 class baci_EXPORT RecoverableObject {
00063 
00064 public:
00065 
00069     virtual ~RecoverableObject() {}
00070 
00075   virtual int getId(void) = 0;
00076 
00081   virtual const char* getName(void) = 0;
00082 
00087   virtual const char* getObjectState(void) = 0;
00088 
00093   virtual void setObjectState(const char* state) = 0;
00094 
00095 };
00096 
00097  }; 
00098 
00099 #endif /* baciRecoverableObject_h */
00100 

Generated on Thu Jan 12 2012 23:13:50 for ACS-10.0 C++ API by  doxygen 1.7.0