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

ASIConfiguration.h

Go to the documentation of this file.
00001 #ifndef ASI_CONFIGURATION_H
00002 #define ASI_CONFIGURATION_H
00003 
00004 #include <string>
00005 
00006 namespace acsalarm
00007 {
00008         /*
00009          * A class to encapsulate various configuration data for the laser alarm system
00010          * for use by cpp alarm source clients.
00011          */
00012         class ASIConfiguration
00013         {
00014                 private:
00015                         std::string asiVersion;
00016                         std::string alarmsTopic;
00017                         int backupDeliveryMode;
00018                         int backupPriority;
00019                         long backupTimeToLive;
00020                         int changesDeliveryMode;
00021                         int changesPriority;
00022                         long changesTimeToLive;
00023 
00024                 public:
00025                         ASIConfiguration();
00026                         virtual ~ASIConfiguration() {}
00027 
00028                         std::string getASIVersion() { return asiVersion; }
00029                         void setASIVersion(std::string version) { asiVersion = version; }
00030 
00031                         std::string getAlarmsTopic() { return alarmsTopic; }
00032                         void setAlarmsTopic(std::string topic) { alarmsTopic = topic; }
00033 
00034                         int getBackupDeliveryMode() { return backupDeliveryMode; }
00035                         void setBackupDeliveryMode(int mode) { backupDeliveryMode = mode; }
00036 
00037                         int getBackupPriority() { return backupPriority; }
00038                         void setBackupPriority(int priority) { backupPriority = priority; }
00039 
00040                         long getBackupTimeToLive() { return backupTimeToLive; }
00041                         void setBackupTimeToLive(long timeToLive) { backupTimeToLive = timeToLive; }
00042                 
00043                         int getChangesDeliveryMode() { return changesDeliveryMode; }
00044                         void setChangesDeliveryMode(int mode) { changesDeliveryMode = mode; }
00045 
00046                         int getChangesPriority() { return changesPriority; }
00047                         void setChangesPriority(int priority) { changesPriority = priority; }
00048 
00049                         long getChangesTimeToLive() { return changesTimeToLive; }
00050                         void setChangesTimeToLive(long timeToLive) { changesTimeToLive = timeToLive; }
00051         };
00052 };
00053 #endif

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