コード例 #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();
 }
コード例 #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();
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DataReaderQos"/> class.
 /// </summary>
 public DataReaderQos()
 {
     Durability          = new DurabilityQosPolicy();
     Deadline            = new DeadlineQosPolicy();
     LatencyBudget       = new LatencyBudgetQosPolicy();
     Liveliness          = new LivelinessQosPolicy();
     Reliability         = new ReliabilityQosPolicy();
     DestinationOrder    = new DestinationOrderQosPolicy();
     History             = new HistoryQosPolicy();
     ResourceLimits      = new ResourceLimitsQosPolicy();
     UserData            = new UserDataQosPolicy();
     Ownership           = new OwnershipQosPolicy();
     TimeBasedFilter     = new TimeBasedFilterQosPolicy();
     ReaderDataLifecycle = new ReaderDataLifecycleQosPolicy();
     Representation      = new DataRepresentationQosPolicy();
 }