Communication Library for Autonomous Systems v1.0
Reliable and secure communication library for autonomous vehicle systems
|
Go to the source code of this file.
Typedefs | |
typedef std::vector< std::uint8_t >(* | DataProducer) (std::uint32_t unit, ComponentData *data) |
Function pointer type for data production. | |
typedef void(* | ResponseHandler) (void *msg, ComponentData *data) |
Function pointer type for response handling. | |
typedef std::vector< std::uint8_t >(* DataProducer) (std::uint32_t unit, ComponentData *data) |
Function pointer type for data production.
This function is called when an Agent needs to generate data in response to an INTEREST message. Following EPOS SmartData principles, this allows pure function-based data generation without inheritance.
unit | The data unit being requested |
data | Pointer to component-specific data structure |
Function pointer type for response handling.
This function is called when an Agent receives a RESPONSE message. Following EPOS SmartData principles, this allows pure function-based response processing without inheritance.
msg | Pointer to the received message |
data | Pointer to component-specific data structure |