public class QosDataRepresentation extends Parameter implements DataReaderPolicy<QosDataRepresentation>, DataWriterPolicy<QosDataRepresentation>, TopicPolicy<QosDataRepresentation>, InlineQoS
| Modifier and Type | Field and Description |
|---|---|
static short |
XCDR_DATA_REPRESENTATION |
static short |
XML_DATA_REPRESENTATION |
| Constructor and Description |
|---|
QosDataRepresentation(short[] values) |
| Modifier and Type | Method and Description |
|---|---|
static QosDataRepresentation |
defaultDataRepresentation()
Get a default DataRepresentation QoS policy.
|
short[] |
getValues() |
boolean |
isCompatible(QosDataRepresentation requested)
Checks, if this QosPolicy is compatible with other QosPolicy.
|
void |
read(RTPSByteBuffer bb,
int length) |
void |
writeTo(RTPSByteBuffer bb)
Writes this Parameter into given RTPSByteBuffer
|
getBytes, getParameterId, readBytes, toString, writeBytespublic static final short XCDR_DATA_REPRESENTATION
public static final short XML_DATA_REPRESENTATION
public void read(RTPSByteBuffer bb, int length)
public void writeTo(RTPSByteBuffer bb)
Parameterpublic short[] getValues()
public static QosDataRepresentation defaultDataRepresentation()
public boolean isCompatible(QosDataRepresentation requested)
QosPolicyisCompatible in interface QosPolicy<QosDataRepresentation>requested - Requested QosPolicyCopyright © 2016. All rights reserved.