public class QosLatencyBudget extends Parameter implements DataReaderPolicy<QosLatencyBudget>, DataWriterPolicy<QosLatencyBudget>, TopicPolicy<QosLatencyBudget>, InlineQoS, Changeable
Constructor and Description |
---|
QosLatencyBudget(Duration duration)
Constructor for QosLatencyBudget.
|
Modifier and Type | Method and Description |
---|---|
static QosLatencyBudget |
defaultLatencyBudget()
Get the default QosLatencyBudget: Duration 0,0
|
Duration |
getDuration()
Gets the duration of this LatencyBudget QoS policy.
|
boolean |
isCompatible(QosLatencyBudget other)
Checks, if this QosPolicy is compatible with other QosPolicy.
|
void |
read(RTPSByteBuffer bb,
int length) |
String |
toString() |
void |
writeTo(RTPSByteBuffer bb)
Writes this Parameter into given RTPSByteBuffer
|
getBytes, getParameterId, readBytes, writeBytes
public QosLatencyBudget(Duration duration)
duration
- Durationpublic Duration getDuration()
public void read(RTPSByteBuffer bb, int length)
public void writeTo(RTPSByteBuffer bb)
Parameter
public boolean isCompatible(QosLatencyBudget other)
QosPolicy
isCompatible
in interface QosPolicy<QosLatencyBudget>
other
- Requested QosPolicypublic static QosLatencyBudget defaultLatencyBudget()
Copyright © 2016. All rights reserved.