Subscribes to the skeleton counterpart of this proxy-side event.
Syntax
template <…>
SubscriptionResult amsr::socal::r20_11::events::ProxyEvent<…>::Subscribe(std::size_t max_sample_count)
Parameters
in | max_sample_count | size limit of this cache |
Returns
Result with no value or an error.
Errors
Error Message | Reason |
---|---|
ara::com::ComErrc::kMaxSampleCountNotRealizable | If the event is already subscribed and the provided value is different from the value for the current subscription. |
Thread-safety, Reentrance, Result Delivery
- Threadsafe : FALSE for same class instance, TRUE for different instances
- Reentrant : FALSE for same class instance, TRUE for different instances
- Synchronous : FALSE (subscription state is reported asynchronously)