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

baci.h

Go to the documentation of this file.
00001 #ifndef baci_H
00002 #define baci_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: baci.h,v 1.108 2007/06/12 08:02:23 nbarriga Exp $"
00023 *
00024 * who       when      what
00025 * --------  --------  ----------------------------------------------
00026 * bgustafs 2001-07-12 changed name of parameter in setCompletion
00027 * msekoran  2001/03/04 modified
00028 */
00029 
00035 #ifndef __cplusplus
00036 #error This is a C++ include file and cannot be used from plain C
00037 #endif
00038 
00039 
00040 #include "acsutil.h"
00041 #include "baciExport.h"
00042 
00043 #include "acsutilTimeStamp.h"
00044 #include "baciThread.h"
00045 #include "baciTypes.h"
00046 #include "baciValue.h"
00047 #include "baciCORBA.h"
00048 #include "baciRegistrar.h"
00049 
00050 #include "logging.h"
00051 
00052 #include "baciError.h"
00053 #include "acserr.h"
00054 #include "ACSErrTypeMonitor.h"
00055 #include "ACSErrTypeOK.h"
00056 #include <baciErrTypeProperty.h>
00057 
00058 #include <algorithm>
00059 #include <map>
00060 #include <vector>
00061 #include <deque>
00062 
00063 #include "baciBACIAction.h"
00064 #include "baciBACICallback.h"
00065 #include "baciBACIMonitor.h"
00066 #include "baciBACIProperty.h"
00067 #include "baciBACIComponent.h"
00068 
00069 #include "archiveeventsArchiveSupplier.h"
00070 
00071 namespace baci {
00072 
00082 #define ACS_ARCHIVE(device, param, type, value) \
00083 ArchiveSupplierSingleton::Instance().sendEvent(0, getTimeStamp(), device, param, value);
00084 
00095 #define ACS_ARCHIVE_PRIORITY(device, param, type, value, prio) \
00096 { \
00097 CORBA::Any any; \
00098 value.getAny(any); \
00099 ArchiveSupplierSingleton::Instance().send_event(prio, getTimeStamp(), device, param, any, "");  \
00100 }
00101 
00102 
00103 /* ------------------------------------------------------------------------ */
00104 
00105  }; 
00106 
00107 #endif /* baci_H */ 
00108 
00109 

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