Public Attributes | |
long | max_event_count |
Maximum number of trigger events to cause a DDSWaitSet to awaken. | |
struct DDS_Duration_t | max_event_delay |
Maximum delay from occurrence of first trigger event to cause a DDSWaitSet to awaken. |
In simple use, a DDSWaitSet returns when a single trigger event occurs on one of its attached DDSCondition (s), or when the timeout
maximum wait duration specified in the DDSWaitSet::wait call expires.
The DDS_WaitSetProperty_t allows configuration of a DDSWaitSet to wait for up to max_event_count
trigger events to occur before returning, or to wait for up to max_event_delay
time from the occurrence of the first trigger event before returning.
The timeout
maximum wait duration specified in the DDSWaitSet::wait call continues to apply.
Maximum number of trigger events to cause a DDSWaitSet to awaken.
The DDSWaitSet will wait until up to max_event_count
trigger events have occurred before returning. The DDSWaitSet may return earlier if either the timeout
duration has expired, or max_event_delay
has elapsed since the occurrence of the first trigger event. max_event_count
may be used to "collect" multiple trigger events for processing at the same time.
[default] 1
[range] >= 1
;
struct DDS_Duration_t DDS_WaitSetProperty_t::max_event_delay [read] |
Maximum delay from occurrence of first trigger event to cause a DDSWaitSet to awaken.
The DDSWaitSet will return no later than max_event_delay
after the first trigger event. max_event_delay
may be used to establish a maximum latency for events reported by the DDSWaitSet.
Note that DDS_RETCODE_TIMEOUT is not returned if max_event_delay
is exceeded. DDS_RETCODE_TIMEOUT is returned only if the timeout
duration expires before any trigger events occur.
[default] DDS_DURATION_INFINITE;