Typedef eCAL::ReceiveCallbackT
Defined in File types.h
Typedef Documentation
-
typedef std::function<void(const STopicId &publisher_id_, const SDataTypeInformation &data_type_info_, const SReceiveCallbackData &data_)> eCAL::ReceiveCallbackT
Receive callback function type. A user can register this callback type with a subscriber, and this callback will be triggered when the user receives any data.
Receive callback function type with topic name and data struct. (deprecated)
- Param publisher_id_:
The topic id of the publisher that has sent the data which is now being received.
- Param data_type_info_:
Topic metadata, as set by the publisher (encoding, type, descriptor). This can be used to validate that the received data can be properly interpreted by the subscriber.
- Param data_:
Data struct containing payload, timestamp and publication clock.
- Param topic_name_:
The topic name of the received message.
- Param data_:
Data struct containing payload, timestamp and publication clock.