int |
compareTo(AnyObject anyObject)
Compare this AnyObject with a given one.
Comparison result is :
ComparisonResult
this < anyObject-1
this == anyObject0
this > anyObject1
QiSignalConnection |
connect(QiSerializer serializer,
String signalName,
Object annotatedSlotContainer,
String slotName) |
QiSignalConnection |
connect(String signalName,
Object annotatedSlotContainer,
String slotName) |
QiSignalConnection |
connect(String signalName,
QiSignalListener listener) |
static Object |
decodeJSON(String str) |
static String |
encodeJSON(Object obj) |
boolean |
equals(Object object)
Indicates if given object is equals to this AnyObject
|
protected void |
finalize()
Called by garbage collector Finalize is overriden to manually delete C++
data
|
<T> Future<T> |
getProperty(Class<T> targetType,
String property) |
<T> Future<T> |
getProperty(QiSerializer serializer,
Class<T> targetType,
String property) |
<T> Future<T> |
getProperty(QiSerializer serializer,
Type targetType,
String property)
Retrieve the value of property asynchronously.
|
<T> Future<T> |
getProperty(Type targetType,
String property) |
int |
hashCode()
Returns a hash code value for this AnyObject.
|
void |
post(QiSerializer qiSerializer,
String eventName,
Object... args)
Post an event advertised with advertiseEvent method.
|
void |
post(String eventName,
Object... args)
Post an event advertised with advertiseEvent method.
|
<T> Future<T> |
property(String property) |
Future<Void> |
setProperty(QiSerializer serializer,
String property,
Object o) |
Future<Void> |
setProperty(String property,
Object o) |
String |
toString() |
-
-
Method Detail
-
getProperty
public <T> Future<T> getProperty(QiSerializer serializer,
Type targetType,
String property)
Retrieve the value of property asynchronously. Tuples will be
converted to structs in the result, according to the targetType .
- Parameters:
targetType - the target result typeproperty - the property
- Returns:
- a future to the converted result
-
call
public <T> Future<T> call(String method,
Object... args)
Perform asynchronous call and return Future return value
- Parameters:
method - Method name to callargs - Arguments to be forward to remote method
- Returns:
- Future method return value
- Throws:
DynamicCallException
-
call
public <T> Future<T> call(QiSerializer serializer,
Type targetType,
String method,
Object... args)
Convert structs in args to tuples if necessary, then call
method asynchronously. Tuples will be converted to structs in the
result, according to the targetType .
- Parameters:
targetType - the target result typemethod - the methodargs - the method arguments
- Returns:
- a future to the converted result
- SUMMARY:
- NESTED |
- FIELD |
- CONSTR |
- METHOD
- DETAIL:
- FIELD |
- CONSTR |
- METHOD
Copyright © 2019. All rights reserved.
|