AbstractSubscribeEvent
This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.
Syntax
long Abstract_SubscribeEvent(consumedEventRef * event)
Function
Subscribes for a service event if abstract binding is used. Note that this is morelow-level; usually its more convenient to callconsumedEventRef::AbstractRequestEventon the event.
Parameters
event Event which shall be subscribed.
Return Values
0: Success
1: Endpoint is not simulated
2: Communication object does not use abstract binding
< 0: Other error, e.g. event variable is not initialized
Abstract_SubscribeEvent(MirrorAdjustment.consumerSide[0,0].Position);
Related APIs
Abstract_UnsubscribeEvent | SOMEIP_SubscribeEventGroup