Communication Library for Autonomous Systems v1.0
Reliable and secure communication library for autonomous vehicle systems
Loading...
Searching...
No Matches
component_functions.hpp
Go to the documentation of this file.
1#ifndef COMPONENT_FUNCTIONS_HPP
2#define COMPONENT_FUNCTIONS_HPP
3
5#include <vector>
6#include <cstdint>
7
8// Forward declarations to resolve circular dependencies
9class Agent;
10
22typedef std::vector<std::uint8_t> (*DataProducer)(std::uint32_t unit, ComponentData* data);
23
35
36#endif // COMPONENT_FUNCTIONS_HPP
EPOS-inspired Agent implementation using composition over inheritance.
Definition agent.h:35
std::vector< std::uint8_t >(* DataProducer)(std::uint32_t unit, ComponentData *data)
Function pointer type for data production.
Definition component_functions.hpp:22
void(* ResponseHandler)(void *msg, ComponentData *data)
Function pointer type for response handling.
Definition component_functions.hpp:34
Select_Debug<(Traits< T >::debugged &&Traits< Debug >::error)> db(Debug_Error l)
Definition debug.h:166
T * data()
Definition protocol.h:24
Base class for all component data structures.
Definition component_types.hpp:11