Go to the documentation of this file.00001 #ifndef acsnc_cdb_properties_H
00002 #define acsnc_cdb_properties_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00033 #ifndef __cplusplus
00034 #error This is a C++ include file and cannot be used from plain C
00035 #endif
00036
00037 #include <orbsvcs/CosNotificationC.h>
00038 #include <cdbDALC.h>
00039 #include <iostream>
00040 #include <string>
00041 #include <map>
00042
00043 namespace nc {
00044
00051 class CDBProperties {
00052
00053 public:
00062 static bool
00063 cdbChannelConfigExists(const std::string& channelName);
00064
00073 static CosNotification::AdminProperties
00074 getCDBAdminProps(const std::string& channelName);
00075
00084 static CosNotification::QoSProperties
00085 getCDBQoSProps(const std::string& channelName);
00086
00091 static bool
00092 getIntegrationLogs(const std::string& channelName);
00093
00094
00095 typedef std::map<std::string, double> EventHandlerTimeoutMap;
00103 static EventHandlerTimeoutMap
00104 getEventHandlerTimeoutMap(const std::string& channelName);
00105
00109 static CDB::DAL_ptr
00110 getCDB();
00111
00112 };
00113 };
00114
00115
00116 #endif