Package | Description |
---|---|
com.aldebaran.qi | |
com.aldebaran.qi.serialization |
Modifier and Type | Method and Description |
---|---|
QiSerializer |
Property.getSerializer()
Current serializer.
|
Modifier and Type | Method and Description |
---|---|
<INTERFACE,INSTANCE extends INTERFACE> |
DynamicObjectBuilder.advertiseMethods(QiSerializer serializer,
Class<INTERFACE> interfaceClass,
INSTANCE instance)
Advertise methods from interface.
All methods of given interface are automatically registered. To specify a description on method add AdvertisedMethodDescription annotation on the method. |
<T> Future<T> |
AnyObject.call(QiSerializer serializer,
Class<T> targetType,
String method,
Object... args) |
<T> Future<T> |
AnyObject.call(QiSerializer serializer,
Type targetType,
String method,
Object... args)
Convert structs in
args to tuples if necessary, then call
method asynchronously. |
QiSignalConnection |
AnyObject.connect(QiSerializer serializer,
String signalName,
Object annotatedSlotContainer,
String slotName) |
<T> Future<T> |
AnyObject.getProperty(QiSerializer serializer,
Class<T> targetType,
String property) |
<T> Future<T> |
AnyObject.getProperty(QiSerializer serializer,
Type targetType,
String property)
Retrieve the value of
property asynchronously. |
Future<T> |
Property.getValue(QiSerializer qiSerializer)
Current property value.
|
void |
AnyObject.post(QiSerializer qiSerializer,
String eventName,
Object... args)
Post an event advertised with advertiseEvent method.
|
Future<Void> |
AnyObject.setProperty(QiSerializer valueConverter,
String propertyName,
Object newValue)
Sets the AnyObject property with the given name, using a serializer to convert the value.
|
Future<Void> |
Property.setValue(QiSerializer qiSerializer,
T value)
Change property value
|
Constructor and Description |
---|
Property(Class<T> valueClass,
QiSerializer serializer)
Create a property with a class and a serializer.
|
Property(Class<T> valueClass,
T value,
QiSerializer serializer)
Create a property with a class, a value and a serializer.
|
Property(T value,
QiSerializer serializer)
Create a property with a value and a serializer.
|
Modifier and Type | Method and Description |
---|---|
static QiSerializer |
QiSerializer.getDefault() |
Modifier and Type | Method and Description |
---|---|
Map<?,?> |
MapConverter.deserialize(QiSerializer serializer,
Object object,
Type targetType) |
Object |
ByteBufferConverter.deserialize(QiSerializer serializer,
Object object,
Type targetType) |
Object |
QiSerializer.Converter.deserialize(QiSerializer serializer,
Object object,
Type targetType) |
List<?> |
ListConverter.deserialize(QiSerializer serializer,
Object object,
Type targetType) |
Optional<?> |
OptionalConverter.deserialize(QiSerializer serializer,
Object object,
Type targetType)
Creates an object of optional type
targetType adapted from an
optional object object . |
Object[] |
ArrayConverter.deserialize(QiSerializer serializer,
Object object,
Type targetType) |
Object |
StructConverter.deserialize(QiSerializer serializer,
Object object,
Type targetType) |
Map<?,?> |
MapConverter.serialize(QiSerializer serializer,
Object object) |
Object |
ByteBufferConverter.serialize(QiSerializer serializer,
Object object) |
Object |
QiSerializer.Converter.serialize(QiSerializer serializer,
Object object) |
List<?> |
ListConverter.serialize(QiSerializer serializer,
Object object) |
Optional<?> |
OptionalConverter.serialize(QiSerializer serializer,
Object object)
Creates an optional object adapted from an optional object
object . |
Object[] |
ArrayConverter.serialize(QiSerializer serializer,
Object object) |
Tuple |
StructConverter.serialize(QiSerializer serializer,
Object object) |
Copyright © 2020. All rights reserved.