Classes | |
class | ConnectionSettings |
class | Parser |
class | QosSettings |
class | TopicSettings |
Functions | |
typedef | OPENDDS_MAP (OPENDDS_STRING, ConnectionSettings) ConnectionMap |
bool | set_presentation_access_scope_qos (DDS::PresentationQosPolicy &target, const char *name, const char *value) |
bool | set_bool_qos_value (bool &target, const char *value) |
bool | set_duration_qos_value (DDS::Duration_t &target, const char *prefix_match, const char *name, const char *value) |
bool | set_presentation_coherent_access_qos (DDS::PresentationQosPolicy &target, const char *name, const char *value) |
bool | set_presentation_ordered_access_qos (DDS::PresentationQosPolicy &target, const char *name, const char *value) |
bool | set_partition_name_qos (DDS::PartitionQosPolicy &target, const char *name, const char *value) |
bool | set_durability_kind_qos (DDS::DurabilityQosPolicy &target, const char *name, const char *value) |
bool | set_deadline_period_qos (DDS::DeadlineQosPolicy &target, const char *name, const char *value) |
bool | set_latency_budget_duration_qos (DDS::LatencyBudgetQosPolicy &target, const char *name, const char *value) |
bool | set_liveliness_kind_qos (DDS::LivelinessQosPolicy &target, const char *name, const char *value) |
bool | set_liveliness_lease_duration_qos (DDS::LivelinessQosPolicy &target, const char *name, const char *value) |
bool | set_reliability_kind_qos (DDS::ReliabilityQosPolicy &target, const char *name, const char *value) |
bool | set_reliability_max_blocking_time_qos (DDS::ReliabilityQosPolicy &target, const char *name, const char *value) |
bool | set_destination_order_kind_qos (DDS::DestinationOrderQosPolicy &target, const char *name, const char *value) |
bool | set_history_kind_qos (DDS::HistoryQosPolicy &target, const char *name, const char *value) |
bool | set_history_depth_qos (DDS::HistoryQosPolicy &target, const char *name, const char *value) |
bool | set_resource_limits_max_samples_qos (DDS::ResourceLimitsQosPolicy &target, const char *name, const char *value) |
bool | set_resource_limits_max_instances_qos (DDS::ResourceLimitsQosPolicy &target, const char *name, const char *value) |
bool | set_resource_limits_max_samples_per_instance_qos (DDS::ResourceLimitsQosPolicy &target, const char *name, const char *value) |
bool | set_transport_priority_qos (DDS::TransportPriorityQosPolicy &target, const char *name, const char *value) |
bool | set_lifespan_duration_qos (DDS::LifespanQosPolicy &target, const char *name, const char *value) |
bool | set_ownership_kind_qos (DDS::OwnershipQosPolicy &target, const char *name, const char *value) |
bool | set_ownership_strength_value_qos (DDS::OwnershipStrengthQosPolicy &target, const char *name, const char *value) |
bool | set_time_based_filter_minimum_separation (DDS::TimeBasedFilterQosPolicy &target, const char *name, const char *value) |
bool | set_reader_data_lifecycle_autopurge_nowriter_samples_delay (DDS::ReaderDataLifecycleQosPolicy &target, const char *name, const char *value) |
bool | set_reader_data_lifecycle_autopurge_disposed_samples_delay (DDS::ReaderDataLifecycleQosPolicy &target, const char *name, const char *value) |
void | log_parser_error (const char *section, const char *name, const char *value) |
typedef | OPENDDS_MAP (OPENDDS_STRING, QosSettings) QosMap |
typedef | OPENDDS_MAP (OPENDDS_STRING, TopicSettings) TopicMap |
void OpenDDS::FaceTSS::config::log_parser_error | ( | const char * | section, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 424 of file QosSettings.cpp.
References LM_ERROR.
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00425 { 00426 ACE_ERROR((LM_ERROR, "Could not set %C QOS setting %C to value %C\n", 00427 section, name, value)); 00428 }
typedef OpenDDS::FaceTSS::config::OPENDDS_MAP | ( | OPENDDS_STRING | , | |
TopicSettings | ||||
) |
typedef OpenDDS::FaceTSS::config::OPENDDS_MAP | ( | OPENDDS_STRING | , | |
QosSettings | ||||
) |
typedef OpenDDS::FaceTSS::config::OPENDDS_MAP | ( | OPENDDS_STRING | , | |
ConnectionSettings | ||||
) |
bool OpenDDS::FaceTSS::config::set_bool_qos_value | ( | bool & | target, | |
const char * | value | |||
) |
Definition at line 90 of file QosSettings.cpp.
Referenced by set_presentation_coherent_access_qos(), and set_presentation_ordered_access_qos().
00091 { 00092 bool matched = false; 00093 if (!std::strcmp(value, "true")) { 00094 target = true; 00095 matched = true; 00096 } else if (!std::strcmp(value, "false")) { 00097 target = false; 00098 matched = true; 00099 } 00100 return matched; 00101 }
bool OpenDDS::FaceTSS::config::set_deadline_period_qos | ( | DDS::DeadlineQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 216 of file QosSettings.cpp.
References DDS::DeadlineQosPolicy::period, and set_duration_qos_value().
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00218 { 00219 return set_duration_qos_value(target.period, "deadline.period", name, value); 00220 }
bool OpenDDS::FaceTSS::config::set_destination_order_kind_qos | ( | DDS::DestinationOrderQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 279 of file QosSettings.cpp.
References DDS::BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS, DDS::BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS, and DDS::DestinationOrderQosPolicy::kind.
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00281 { 00282 bool matched = false; 00283 if (!std::strcmp(name, "destination_order.kind")) { 00284 if (!std::strcmp(value, "BY_RECEPTION_TIMESTAMP")) { 00285 target.kind = DDS::BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS; 00286 matched = true; 00287 } else if (!std::strcmp(value, "BY_SOURCE_TIMESTAMP")) { 00288 target.kind = DDS::BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS; 00289 matched = true; 00290 } 00291 } 00292 return matched; 00293 }
bool OpenDDS::FaceTSS::config::set_durability_kind_qos | ( | DDS::DurabilityQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 191 of file QosSettings.cpp.
References DDS::DurabilityQosPolicy::kind, DDS::PERSISTENT_DURABILITY_QOS, DDS::TRANSIENT_DURABILITY_QOS, DDS::TRANSIENT_LOCAL_DURABILITY_QOS, and DDS::VOLATILE_DURABILITY_QOS.
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00193 { 00194 bool matched = false; 00195 if (!std::strcmp(name, "durability.kind")) { 00196 if (!std::strcmp(value, "VOLATILE")) { 00197 target.kind = DDS::VOLATILE_DURABILITY_QOS; 00198 matched = true; 00199 } else if (!std::strcmp(value, "TRANSIENT_LOCAL")) { 00200 target.kind = DDS::TRANSIENT_LOCAL_DURABILITY_QOS; 00201 matched = true; 00202 #ifndef OPENDDS_NO_PERSISTENCE_PROFILE 00203 } else if (!std::strcmp(value, "TRANSIENT")) { 00204 target.kind = DDS::TRANSIENT_DURABILITY_QOS; 00205 matched = true; 00206 } else if (!std::strcmp(value, "PERSISTENT")) { 00207 target.kind = DDS::PERSISTENT_DURABILITY_QOS; 00208 matched = true; 00209 #endif 00210 } 00211 } 00212 return matched; 00213 }
bool OpenDDS::FaceTSS::config::set_duration_qos_value | ( | DDS::Duration_t & | target, | |
const char * | prefix_match, | |||
const char * | name, | |||
const char * | value | |||
) |
Definition at line 105 of file QosSettings.cpp.
References atoi(), DDS::DURATION_INFINITE_NSEC, DDS::DURATION_INFINITE_SEC, DDS::Duration_t::nanosec, and DDS::Duration_t::sec.
Referenced by set_deadline_period_qos(), set_latency_budget_duration_qos(), set_lifespan_duration_qos(), set_liveliness_lease_duration_qos(), set_reader_data_lifecycle_autopurge_disposed_samples_delay(), set_reader_data_lifecycle_autopurge_nowriter_samples_delay(), set_reliability_max_blocking_time_qos(), and set_time_based_filter_minimum_separation().
00109 { 00110 char buffer[64]; 00111 std::strncpy(buffer, prefix_match, 64 - 4); 00112 std::strcat(buffer, ".sec"); 00113 if (!std::strcmp(name, buffer)) { 00114 if (!std::strcmp(value, "DURATION_INFINITE_SEC")) { 00115 target.sec=DDS::DURATION_INFINITE_SEC; 00116 return true; 00117 } 00118 target.sec = atoi(value); 00119 return true; 00120 } 00121 std::strncpy(buffer, prefix_match, 64 - 7); 00122 std::strcat(buffer, ".nanosec"); 00123 if (!std::strcmp(name, buffer)) { 00124 if (!std::strcmp(value, "DURATION_INFINITE_NSEC")) { 00125 target.nanosec=DDS::DURATION_INFINITE_NSEC; 00126 return true; 00127 } 00128 target.nanosec = atoi(value); 00129 return true; 00130 } 00131 return false; 00132 }
bool OpenDDS::FaceTSS::config::set_history_depth_qos | ( | DDS::HistoryQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 311 of file QosSettings.cpp.
References atoi(), and DDS::HistoryQosPolicy::depth.
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00313 { 00314 bool matched = false; 00315 if (!std::strcmp(name, "history.depth")) { 00316 target.depth = atoi(value); 00317 matched = true; 00318 } 00319 return matched; 00320 }
bool OpenDDS::FaceTSS::config::set_history_kind_qos | ( | DDS::HistoryQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 295 of file QosSettings.cpp.
References DDS::KEEP_ALL_HISTORY_QOS, DDS::KEEP_LAST_HISTORY_QOS, and DDS::HistoryQosPolicy::kind.
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00297 { 00298 bool matched = false; 00299 if (!std::strcmp(name, "history.kind")) { 00300 if (!std::strcmp(value, "KEEP_ALL")) { 00301 target.kind = DDS::KEEP_ALL_HISTORY_QOS; 00302 matched = true; 00303 } else if (!std::strcmp(value, "KEEP_LAST")) { 00304 target.kind = DDS::KEEP_LAST_HISTORY_QOS; 00305 matched = true; 00306 } 00307 } 00308 return matched; 00309 }
bool OpenDDS::FaceTSS::config::set_latency_budget_duration_qos | ( | DDS::LatencyBudgetQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 223 of file QosSettings.cpp.
References DDS::LatencyBudgetQosPolicy::duration, and set_duration_qos_value().
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00225 { 00226 return set_duration_qos_value( 00227 target.duration, "latency_budget.duration", name, value); 00228 }
bool OpenDDS::FaceTSS::config::set_lifespan_duration_qos | ( | DDS::LifespanQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 366 of file QosSettings.cpp.
References DDS::LifespanQosPolicy::duration, and set_duration_qos_value().
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00368 { 00369 return set_duration_qos_value( 00370 target.duration, "lifespan.duration", name, value); 00371 }
bool OpenDDS::FaceTSS::config::set_liveliness_kind_qos | ( | DDS::LivelinessQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 230 of file QosSettings.cpp.
References DDS::AUTOMATIC_LIVELINESS_QOS, DDS::LivelinessQosPolicy::kind, DDS::MANUAL_BY_PARTICIPANT_LIVELINESS_QOS, and DDS::MANUAL_BY_TOPIC_LIVELINESS_QOS.
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00232 { 00233 bool matched = false; 00234 if (!std::strcmp(name, "liveliness.kind")) { 00235 if (!std::strcmp(value, "AUTOMATIC")) { 00236 target.kind = DDS::AUTOMATIC_LIVELINESS_QOS; 00237 matched = true; 00238 } else if (!std::strcmp(value, "MANUAL_BY_TOPIC")) { 00239 target.kind = DDS::MANUAL_BY_TOPIC_LIVELINESS_QOS; 00240 matched = true; 00241 } else if (!std::strcmp(value, "MANUAL_BY_PARTICIPANT")) { 00242 target.kind = DDS::MANUAL_BY_PARTICIPANT_LIVELINESS_QOS; 00243 matched = true; 00244 } 00245 } 00246 return matched; 00247 }
bool OpenDDS::FaceTSS::config::set_liveliness_lease_duration_qos | ( | DDS::LivelinessQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 249 of file QosSettings.cpp.
References DDS::LivelinessQosPolicy::lease_duration, and set_duration_qos_value().
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00251 { 00252 return set_duration_qos_value( 00253 target.lease_duration, "liveliness.lease_duration", name, value); 00254 }
bool OpenDDS::FaceTSS::config::set_ownership_kind_qos | ( | DDS::OwnershipQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 373 of file QosSettings.cpp.
References DDS::EXCLUSIVE_OWNERSHIP_QOS, DDS::OwnershipQosPolicy::kind, and DDS::SHARED_OWNERSHIP_QOS.
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00375 { 00376 bool matched = false; 00377 if (!std::strcmp(name, "ownership.kind")) { 00378 if (!std::strcmp(value, "SHARED")) { 00379 target.kind = DDS::SHARED_OWNERSHIP_QOS; 00380 matched = true; 00381 } else if (!std::strcmp(value, "EXCLUSIVE")) { 00382 target.kind = DDS::EXCLUSIVE_OWNERSHIP_QOS; 00383 matched = true; 00384 } 00385 } 00386 return matched; 00387 }
bool OpenDDS::FaceTSS::config::set_ownership_strength_value_qos | ( | DDS::OwnershipStrengthQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 389 of file QosSettings.cpp.
References atoi(), and DDS::OwnershipStrengthQosPolicy::value.
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00391 { 00392 bool matched = false; 00393 if (!std::strcmp(name, "ownership_strength.value")) { 00394 target.value = atoi(value); 00395 matched = true; 00396 } 00397 return matched; 00398 }
bool OpenDDS::FaceTSS::config::set_partition_name_qos | ( | DDS::PartitionQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 161 of file QosSettings.cpp.
References DDS::PartitionQosPolicy::name.
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00163 { 00164 bool matched = false; 00165 if (!std::strcmp(name, "partition.name")) { 00166 // Value can be a comma-separated list 00167 const char* start = value; 00168 char buffer[128]; 00169 std::memset(buffer, 0, sizeof(buffer)); 00170 while (const char* next_comma = std::strchr(start, ',')) { 00171 // Copy into temp buffer, won't have null 00172 std::strncpy(buffer, start, next_comma - start); 00173 // Append null 00174 buffer[next_comma - start] = '\0'; 00175 // Add to QOS 00176 target.name.length(target.name.length() + 1); 00177 target.name[target.name.length() - 1] = static_cast<const char*>(buffer); 00178 // Advance pointer 00179 start = next_comma + 1; 00180 } 00181 // Append everything after last comma 00182 target.name.length(target.name.length() + 1); 00183 target.name[target.name.length() - 1] = start; 00184 00185 matched = true; 00186 } 00187 return matched; 00188 }
bool OpenDDS::FaceTSS::config::set_presentation_access_scope_qos | ( | DDS::PresentationQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 65 of file QosSettings.cpp.
References DDS::PresentationQosPolicy::access_scope, DDS::GROUP_PRESENTATION_QOS, DDS::INSTANCE_PRESENTATION_QOS, and DDS::TOPIC_PRESENTATION_QOS.
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00069 { 00070 bool matched = false; 00071 if (!std::strcmp(name, "presentation.access_scope")) { 00072 if (!std::strcmp(value, "INSTANCE")) { 00073 target.access_scope = DDS::INSTANCE_PRESENTATION_QOS; 00074 matched = true; 00075 } 00076 if (!std::strcmp(value, "TOPIC")) { 00077 target.access_scope = DDS::TOPIC_PRESENTATION_QOS; 00078 matched = true; 00079 } 00080 if (!std::strcmp(value, "GROUP")) { 00081 target.access_scope = DDS::GROUP_PRESENTATION_QOS; 00082 matched = true; 00083 } 00084 } 00085 return matched; 00086 }
bool OpenDDS::FaceTSS::config::set_presentation_coherent_access_qos | ( | DDS::PresentationQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 135 of file QosSettings.cpp.
References DDS::PresentationQosPolicy::coherent_access, and set_bool_qos_value().
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00139 { 00140 bool matched = false; 00141 if (!std::strcmp(name, "presentation.coherent_access")) { 00142 matched = set_bool_qos_value(target.coherent_access, value); 00143 } 00144 return matched; 00145 }
bool OpenDDS::FaceTSS::config::set_presentation_ordered_access_qos | ( | DDS::PresentationQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 148 of file QosSettings.cpp.
References DDS::PresentationQosPolicy::ordered_access, and set_bool_qos_value().
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00152 { 00153 bool matched = false; 00154 if (!std::strcmp(name, "presentation.ordered_access")) { 00155 matched = set_bool_qos_value(target.ordered_access, value); 00156 } 00157 return matched; 00158 }
bool OpenDDS::FaceTSS::config::set_reader_data_lifecycle_autopurge_disposed_samples_delay | ( | DDS::ReaderDataLifecycleQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 415 of file QosSettings.cpp.
References DDS::ReaderDataLifecycleQosPolicy::autopurge_disposed_samples_delay, and set_duration_qos_value().
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00417 { 00418 return set_duration_qos_value( 00419 target.autopurge_disposed_samples_delay, 00420 "reader_data_lifecycle.autopurge_disposed_samples_delay", name, value); 00421 }
bool OpenDDS::FaceTSS::config::set_reader_data_lifecycle_autopurge_nowriter_samples_delay | ( | DDS::ReaderDataLifecycleQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 407 of file QosSettings.cpp.
References DDS::ReaderDataLifecycleQosPolicy::autopurge_nowriter_samples_delay, and set_duration_qos_value().
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00409 { 00410 return set_duration_qos_value( 00411 target.autopurge_nowriter_samples_delay, 00412 "reader_data_lifecycle.autopurge_nowriter_samples_delay", name, value); 00413 }
bool OpenDDS::FaceTSS::config::set_reliability_kind_qos | ( | DDS::ReliabilityQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 256 of file QosSettings.cpp.
References DDS::BEST_EFFORT_RELIABILITY_QOS, DDS::ReliabilityQosPolicy::kind, and DDS::RELIABLE_RELIABILITY_QOS.
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00258 { 00259 bool matched = false; 00260 if (!std::strcmp(name, "reliability.kind")) { 00261 if (!std::strcmp(value, "BEST_EFFORT")) { 00262 target.kind = DDS::BEST_EFFORT_RELIABILITY_QOS; 00263 matched = true; 00264 } else if (!std::strcmp(value, "RELIABLE")) { 00265 target.kind = DDS::RELIABLE_RELIABILITY_QOS; 00266 matched = true; 00267 } 00268 } 00269 return matched; 00270 }
bool OpenDDS::FaceTSS::config::set_reliability_max_blocking_time_qos | ( | DDS::ReliabilityQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 272 of file QosSettings.cpp.
References DDS::ReliabilityQosPolicy::max_blocking_time, and set_duration_qos_value().
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00274 { 00275 return set_duration_qos_value( 00276 target.max_blocking_time, "reliability.max_blocking_time", name, value); 00277 }
bool OpenDDS::FaceTSS::config::set_resource_limits_max_instances_qos | ( | DDS::ResourceLimitsQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 333 of file QosSettings.cpp.
References atoi(), and DDS::ResourceLimitsQosPolicy::max_instances.
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00335 { 00336 bool matched = false; 00337 if (!std::strcmp(name, "resource_limits.max_instances")) { 00338 target.max_instances = atoi(value); 00339 matched = true; 00340 } 00341 return matched; 00342 }
bool OpenDDS::FaceTSS::config::set_resource_limits_max_samples_per_instance_qos | ( | DDS::ResourceLimitsQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 344 of file QosSettings.cpp.
References atoi(), and DDS::ResourceLimitsQosPolicy::max_samples_per_instance.
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00346 { 00347 bool matched = false; 00348 if (!std::strcmp(name, "resource_limits.max_samples_per_instance")) { 00349 target.max_samples_per_instance = atoi(value); 00350 matched = true; 00351 } 00352 return matched; 00353 }
bool OpenDDS::FaceTSS::config::set_resource_limits_max_samples_qos | ( | DDS::ResourceLimitsQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 322 of file QosSettings.cpp.
References atoi(), and DDS::ResourceLimitsQosPolicy::max_samples.
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00324 { 00325 bool matched = false; 00326 if (!std::strcmp(name, "resource_limits.max_samples")) { 00327 target.max_samples = atoi(value); 00328 matched = true; 00329 } 00330 return matched; 00331 }
bool OpenDDS::FaceTSS::config::set_time_based_filter_minimum_separation | ( | DDS::TimeBasedFilterQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 400 of file QosSettings.cpp.
References DDS::TimeBasedFilterQosPolicy::minimum_separation, and set_duration_qos_value().
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00402 { 00403 return set_duration_qos_value( 00404 target.minimum_separation, "time_based_filter.minimum_separation", name, value); 00405 }
bool OpenDDS::FaceTSS::config::set_transport_priority_qos | ( | DDS::TransportPriorityQosPolicy & | target, | |
const char * | name, | |||
const char * | value | |||
) |
Definition at line 355 of file QosSettings.cpp.
References atoi(), and DDS::TransportPriorityQosPolicy::value.
Referenced by OpenDDS::FaceTSS::config::QosSettings::set_qos().
00357 { 00358 bool matched = false; 00359 if (!std::strcmp(name, "transport_priority.value")) { 00360 target.value = atoi(value); 00361 matched = true; 00362 } 00363 return matched; 00364 }