AgentInterface.cpp

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- Added MsgProtoUtils_h.jinja and MsgProtoUtils_cpp.jinja templates generating struct <-> protobuf conversion utilities (LeahiMsgProtoUtils.h/.cpp). - Added write_msg_proto_utils_header/source to MsgCpp.py and a --proto flag path in GenerateMsgDefsCpp.py to produce the new files. - Removed the proto flag from write_msg_defs_header/source and the MsgDefs templates so MsgDefs no longer embeds protobuf utilities. - Updated MsgUtils.cmake to declare the MsgProtoUtils outputs and template dependencies, and CMakeLists.txt to list the generated files. - Removed the obsolete ProtoInterface.h/cpp. - Updated LeahiRtController to include LeahiMsgProtoUtils.h. - Added MessageDispatcher to MsgUtils. - Updated LeahiRt main.cpp signal handling to use signalfd + QSocketNotifier for graceful shutdown inside the event loop. - Updated tools/CMakeLists.txt to build AgentSim. - Updated AgentSimController::handleMessage to output received message protobuf to console.

  1. … 18 more files in changeset.
Added MessageDispatcher, normalized Doxygen comments, and fixed codegen pipeline.

- Ported MessageDispatcher into MsgUtils for per-CAN-id multi-frame reassembly and wired it into LeahiRtController.

- Enabled MessageDispatcher.h/.cpp in MsgUtils CMakeLists.txt and removed the unused absl dependency.

- Fixed MsgData.py duplicate-ID/duplicate-name warning messages and msg_id parsing.

- Updated MsgDefs jinja templates to guard protobuf generation behind the proto flag, rename params to paramList, and fixed the static capture lambda.

- Reimplemented MessageBuilder::getActionId and added Types::BOOL alias.

- Renamed SDD CloudSyncRt.puml to RealtimeDataTransfer.puml.

  1. … 15 more files in changeset.
Created AgentInterface, moved AgentMessage, and added config file to LeahiRt.

- Moved AgentMessage.h/cpp from Comms lib to MsgUtils lib.

- Added AgentInterface to Comms lib for connect as client to Agent local socket.

- Updated LeahiRtController to use AgentInterface.

    • -0
    • +203
    ./AgentInterface.cpp
  1. … 12 more files in changeset.
LEAHI-REALTIME-CDT-LDT-2852_Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation
LEAHI-REALTIME-CDT-LDT-2852_Cloud Communication - SW - 01 - Realtime data transfer - R&I - 05: DEV - Feature Implementation