Generic template class which can be used to create fields for a proxy.

notice

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

Member functions

notice

The following API are not considered to be thread-safe against each other, or against any other API in this instance:

  1. Subscribe(),
  2. Unsubscribe(),
  3. GetSubscriptionState(),
  4. SetSubscriptionStateChangeHandler(),
  5. UnsetSubscriptionStateChangeHandler(),
  6. SetReceiveHandler(),
  7. UnsetReceiveHandler()

Name

Description

Access

Get()

The getter allows to request the actual value of the service provider.

Public

Set()

Request to modify the field value. It's up to the service provider to accept the modification request.

Public

Example

// Create a proxy instance with the handles retrieved from FindService().
ExampleServiceProxy ts_proxy(ts_service_handles_[i]);

// Access field 'exampleFieldUINT8' as a member of the created proxy instance (and subscribe to the FieldNotifier).
ts_proxy.exampleFieldUINT8.Subscribe(1U);