Generic template class for skeleton fields, that unifies common behavior.

Note: This class template is private and may change with updates. To access the class templates features, use the provided member functions.
Member functions

The following API are not considered to be thread-safe against each other, or against any other API in this instance:
- RegisterGetHandler(),
- RegisterSetHandler() Further, the APIs of this instance are not threadsafe against
- Skeleton::OfferService(),
- Skeleton::StopOfferService() of the Skeleton instance that contains this instance as a member. ()
Name | Description | Access |
---|---|---|
Update the current field value. | Public | |
Update the current field value. | Public | |
Register a handler called if any remote proxy tries to set the current field value. | Public | |
Register an optional handler called if any remote proxy requests the current field value. | Public |
Example
// Create a skeleton instance
ConstructionResult token_result =
ExampleServiceSkeleton::Preconstruct(ara::core::InstanceSpecifier{"ExampleServer/rootSwc/ExampleServerPort"_sv});
ExampleServiceSkeleton exampleservice{std::move(token_result.Value())};
// Access field 'exampleFieldUINT8' as a member of the created skeleton instance (and update the field value).
exampleservice.exampleFieldUINT8.Update(0xA5U);