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

CERNAlarmSystemInterfaceProxy.h

Go to the documentation of this file.
00001 #ifndef ALARM_SYSTEM_INTERFACE_PROXY_H
00002 #define ALARM_SYSTEM_INTERFACE_PROXY_H
00003 /*******************************************************************************
00004 * ALMA - Atacama Large Millimiter Array
00005 * (c) National Research Council of Canada, 2005
00006 *
00007 * This library is free software; you can redistribute it and/or
00008 * modify it under the terms of the GNU Lesser General Public
00009 * License as published by the Free Software Foundation; either
00010 * version 2.1 of the License, or (at your option) any later version.
00011 *
00012 * This library is distributed in the hope that it will be useful,
00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015 * Lesser General Public License for more details.
00016 *
00017 * You should have received a copy of the GNU Lesser General Public
00018 * License along with this library; if not, write to the Free Software
00019 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
00020 *
00021 */
00022 
00023 #include "AlarmSystemInterface.h"
00024 #include "AcsAlarmPublisher.h"
00025 
00026 namespace laserSource
00027 {
00028         class CERNAlarmSystemInterfaceProxy : public acsalarm::AlarmSystemInterface
00029         {
00030                 public:
00031                         CERNAlarmSystemInterfaceProxy();
00032                         CERNAlarmSystemInterfaceProxy(std::string theSourceName);
00033                         virtual ~CERNAlarmSystemInterfaceProxy();
00034                         virtual void close();
00035 
00036                 protected:
00037                         bool publishMessage(acsalarm::ASIMessage msg);
00038         
00039                 private:
00040                         // initialization logic used by the constructors
00041                         void init();
00042 
00043                         // pointer to our publisher object
00044                         laserSource::AcsAlarmPublisher * laserPublisher;
00045         };
00046 };
00047 #endif
00048 

Generated on Mon May 4 2015 08:27:43 for ACS-2015.4 C++ API by  doxygen 1.7.0