public class QosPresentation extends Parameter implements PublisherPolicy<QosPresentation>, SubscriberPolicy<QosPresentation>, InlineQoS
Modifier and Type | Class and Description |
---|---|
static class |
QosPresentation.Kind |
Constructor and Description |
---|
QosPresentation(QosPresentation.Kind kind,
boolean coherent_access,
boolean ordered_access) |
Modifier and Type | Method and Description |
---|---|
static QosPresentation |
defaultPresentation()
Get the default QosPresentation: INSTANCE, false, false
|
QosPresentation.Kind |
getKind() |
boolean |
isCoherentAccess() |
boolean |
isCompatible(QosPresentation other)
Checks, if this QosPolicy is compatible with other QosPolicy.
|
boolean |
isOrderedAccess() |
void |
read(RTPSByteBuffer bb,
int length) |
String |
toString() |
void |
writeTo(RTPSByteBuffer bb)
Writes this Parameter into given RTPSByteBuffer
|
getBytes, getParameterId, readBytes, writeBytes
public QosPresentation(QosPresentation.Kind kind, boolean coherent_access, boolean ordered_access)
public void read(RTPSByteBuffer bb, int length)
public void writeTo(RTPSByteBuffer bb)
Parameter
public QosPresentation.Kind getKind()
public boolean isCoherentAccess()
public boolean isOrderedAccess()
public boolean isCompatible(QosPresentation other)
QosPolicy
isCompatible
in interface QosPolicy<QosPresentation>
other
- Requested QosPolicypublic static QosPresentation defaultPresentation()
Copyright © 2016. All rights reserved.