8 #include "rtabstractservice.h"
20 CAST_ERROR_UNAVAILABLE,
26 rtCastError(rtError errRt = RT_OK, CastError errCast = CAST_ERROR_NONE) : errRt(errRt),errCast(errCast){}
31 #define RTCAST_ERROR_NONE(v) ((v).errRt==RT_OK && (v).errCast==CAST_ERROR_NONE)
32 #define RTCAST_ERROR_RT(v) ((v).errRt)
33 #define RTCAST_ERROR_CAST(v) ((v).errCast)
44 rtMethod1ArgAndNoReturn(
"onApplicationStateChanged", applicationStateChanged, rtObjectRef);
45 virtual rtError applicationStateChanged(
const rtObjectRef& params){ printf(
"applicationStateChanged rtCastRemoteObject");}