Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DataWriterQos"/> class.
 /// </summary>
 public DataWriterQos()
 {
     Durability        = new DurabilityQosPolicy();
     DurabilityService = new DurabilityServiceQosPolicy();
     Deadline          = new DeadlineQosPolicy();
     LatencyBudget     = new LatencyBudgetQosPolicy();
     Liveliness        = new LivelinessQosPolicy();
     Reliability       = new ReliabilityQosPolicy
     {
         Kind            = ReliabilityQosPolicyKind.ReliableReliabilityQos,
         MaxBlockingTime = new Duration
         {
             Seconds     = 0,
             NanoSeconds = 100000000,
         },
     };
     DestinationOrder    = new DestinationOrderQosPolicy();
     History             = new HistoryQosPolicy();
     ResourceLimits      = new ResourceLimitsQosPolicy();
     TransportPriority   = new TransportPriorityQosPolicy();
     Lifespan            = new LifespanQosPolicy();
     Ownership           = new OwnershipQosPolicy();
     UserData            = new UserDataQosPolicy();
     OwnershipStrength   = new OwnershipStrengthQosPolicy();
     WriterDataLifecycle = new WriterDataLifecycleQosPolicy();
     Representation      = new DataRepresentationQosPolicy();
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TopicQos"/> class.
 /// </summary>
 public TopicQos()
 {
     TopicData         = new TopicDataQosPolicy();
     Durability        = new DurabilityQosPolicy();
     DurabilityService = new DurabilityServiceQosPolicy();
     Deadline          = new DeadlineQosPolicy();
     LatencyBudget     = new LatencyBudgetQosPolicy();
     Liveliness        = new LivelinessQosPolicy();
     Reliability       = new ReliabilityQosPolicy();
     DestinationOrder  = new DestinationOrderQosPolicy();
     History           = new HistoryQosPolicy();
     ResourceLimits    = new ResourceLimitsQosPolicy();
     TransportPriority = new TransportPriorityQosPolicy();
     Lifespan          = new LifespanQosPolicy();
     Ownership         = new OwnershipQosPolicy();
 }