public class ContentFilterProperty extends Parameter
Modifier and Type | Field and Description |
---|---|
static String |
DDSSQL
Filter class name defined by DDS specification.
|
static String |
JAVA_FILTER_CLASS
Filter class java
|
Constructor and Description |
---|
ContentFilterProperty(String cfTopicName,
String relatedTopicName,
Class<? extends ContentFilter> cfClass)
Constructor for ContentFilterProperty. filterClassName is set to 'java',
filterExpression is set to fully qualified class name of the given class.
|
ContentFilterProperty(String cfTopicName,
String relatedTopicName,
String filterClassName,
String filterExpression) |
ContentFilterProperty(String cfTopicName,
String relatedTopicName,
String filterClassName,
String filterExpression,
String[] expressionParameters) |
Modifier and Type | Method and Description |
---|---|
String |
getContentFilteredTopicName()
Gets name of the content filtered topic.
|
String[] |
getExpressionParameters()
Expression parameters used by filter expression
|
String |
getFilterClassName()
Name of filter class
|
String |
getFilterExpression()
Gets the filter expression.
|
byte[] |
getRawSignature()
Gets the signature as byte array
|
String |
getRelatedTopicName()
Gets the name of the related topic.
|
String |
getSignature()
Gets the filter signature.
|
void |
read(RTPSByteBuffer bb,
int length) |
String |
toString() |
void |
writeTo(RTPSByteBuffer bb)
Writes this Parameter into given RTPSByteBuffer
|
getBytes, getParameterId, readBytes, writeBytes
public static final String DDSSQL
public static final String JAVA_FILTER_CLASS
public ContentFilterProperty(String cfTopicName, String relatedTopicName, Class<? extends ContentFilter> cfClass)
jRTPS writers recognize this type of filterClass, and tries to instantiate a ContentFilter with this className. If it succeeds, it is automatically registered to writer.
cfTopicName
- Name of the topicrelatedTopicName
- related topic namecfClass
- ContentFilter classpublic ContentFilterProperty(String cfTopicName, String relatedTopicName, String filterClassName, String filterExpression)
public String getContentFilteredTopicName()
public String getRelatedTopicName()
public String getFilterClassName()
public String getFilterExpression()
public String[] getExpressionParameters()
public String getSignature()
public byte[] getRawSignature()
public void read(RTPSByteBuffer bb, int length)
public void writeTo(RTPSByteBuffer bb)
Parameter
Copyright © 2016. All rights reserved.