Sending event data over the bindings registered.

Syntax

// Variant 1
template <…>
void amsr::socal::events::SkeletonEvent<…>::Send(SampleType const data)

// Variant 2: Requires calling Allocate() beforehand
template <…>
void amsr::socal::events::SkeletonEvent<…>::Send(::ara:com::SampleAllocateePtr<…> data)

notice

Note for Variant 2: If the memory to the sample to be sent is not valid, the transmission is dropped, a fatal message is logged and the process is aborted.

 

Parameters Variant 1

in

data

A reference to event data allocated by the service application developer.

Parameters Variant 2

in

data

A pointer of unique ownership to the data provided by the concrete binding

implementation. Should not be nullptr.

Returns

void

Precondition

Thread-safety, Reentrance, Result Delivery

  • Threadsafe : FALSE for same class instance, TRUE for different instances
    FALSE against other APIs for same class instance.
    Not threadsafe against following APIs of the associated Skeleton instance:-
  • Reentrant : FALSE for same class instance, FALSE for different instances
  • Synchronous : TRUE