RTI Connext .Net APIs  Version 5.0.0
DDS::EventQosPolicy Class Reference

Settings for event. More...

#include <managed_infrastructure.h>

Static Public Member Functions

static System::String^ get_event_qos_policy_name ()
 Stringified human-readable name for DDS::EventQosPolicy.
 

Public Attributes

ThreadSettings_tthread
 Event thread QoS.
 
System::Int32 initial_count
 The initial number of events.
 
System::Int32 max_count
 The maximum number of events.
 

Detailed Description

Settings for event.

In a DDS::DomainParticipant, a thread is dedicated to handle all timed events, including checking for timeouts and deadlines and executing internal and user-defined timeout or exception handling routines/callbacks.

This QoS policy allows you to configure thread properties such as priority level and stack size. You can also configure the maximum number of events that can be posted to the event thread. By default, a DDS::DomainParticipant will dynamically allocate memory as needed for events posted to the event thread. However, by setting a maximum value or setting the initial and maximum value to be the same, you can either bound the amount of memory allocated for the event thread or prevent a DDS::DomainParticipant from dynamically allocating memory for the event thread after initialization.

This QoS policy is an extension to the DDS standard.

Entity:
DDS::DomainParticipant
Properties:
RxO = N/A
Changeable = NO

Member Data Documentation

ThreadSettings_t ^ DDS::EventQosPolicy::thread

Event thread QoS.

There is only one event thread.

Priority:
[default] The actual value depends on your architecture:
For Windows: -2
For Solaris: OS default priority
For Linux: OS default priority
For LynxOS: 13
For INTEGRITY: 80
For VxWorks: 110
For all others: OS default priority.

Stack Size:
[default] The actual value depends on your architecture:
For Windows: OS default stack size
For Solaris: OS default stack size
For Linux: OS default stack size
For LynxOS: 4*16*1024
For INTEGRITY: 4*20*1024
For VxWorks: 4*16*1024
For all others: OS default stack size.

Mask:
[default] mask = ::DDS::ThreadSettingsKind::THREAD_SETTINGS_FLOATING_POINT | ::DDS::ThreadSettingsKind::THREAD_SETTINGS_STDIO

System::Int32 DDS::EventQosPolicy::initial_count

The initial number of events.

[default] 256

[range] [1, 1 million], <= max_count

System::Int32 DDS::EventQosPolicy::max_count

The maximum number of events.

The maximum number of events. If the limit is reached, no new event can be added.

[default] DDS::ResourceLimitsQosPolicy::LENGTH_UNLIMITED

[range] [1, 1 million] or DDS::ResourceLimitsQosPolicy::LENGTH_UNLIMITED, >= initial_count


RTI Connext .Net APIs Version 5.0.0 Copyright © Thu Aug 30 2012 Real-Time Innovations, Inc