Provided implementation for user-defined service interface method.
There are two types of methods you can use:
- with return value
- void
Syntax
// With return value
virtual ara::core::Future<methods::custommethod name::Output> custommethodname::ExampleServiceInterfaceSkeleton::custommethod name(customarguments) [pure virtual]
// Fire and forget method
virtual void examplenamespace::ExampleServiceInterfaceSkeleton::custommethodname(customarguments) [pure virtual]
Parameters
in/out/in, out | arguments | User defined arguments |
Returns
ara::core::Future
OR void
ara::core::Future
gets resolved with the method output arguments or an ApApplicationError
error code after processing has finished.
Thread-safety, Reentrance, Result Delivery
- Threadsafe : FALSE for same class instance, TRUE for different instances if
MethodCallProcessing
mode iskEvent
and FALSE for same class instance, FALSE for different instances otherwise. - Reentrant : FALSE for same class instance, TRUE for different instances if
MethodCallProcessing
mode iskEvent
and FALSE for same class instance, FALSE for different instances otherwise. - Synchronous : FALSE