docs: improve Doxygen comments, fix typos and alignment across all C++ headers and source files#310
Merged
Merged
Conversation
…+ headers and source files Agent-Logs-Url: https://github.com/cheebinhoh/Dmn/sessions/6c288720-a562-40cc-a58d-ea07202aebce Co-authored-by: cheebinhoh <34779770+cheebinhoh@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Enhance documentation and comments in C++ source files
docs: improve Doxygen comments, fix typos and alignment across all C++ headers and source files
Apr 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Systematic documentation pass over all
include/andsrc/C++ files: improve Doxygen coverage, fix English errors, standardise tag style, and replace vague "The method…" phrasing with concise active-voice@briefsentences. No source logic changed.Typo / grammar fixes
dmn-debug.hpp: double space in copyright (© 2025→© 2025)dmn-pub-sub.hpp: "adaptar" → "adaptor"; "derivade" → "derived"dmn-pipe.hpp: "behevior" → "behavior"dmn-io.hpp,dmn-kafka.hpp: "faciliate" → "facilitate"Missing class / type documentation
dmn-io.hpp: added@brief+@tparamblock toDmn_Io<T>dmn-singleton.hpp: normalised "Design pattern" heading style; "argumented" → "argument-forwarding"dmn-blockingqueue-lf.hpp: documentedEpochDataandNodestructs with inline///member comments; added epoch-parameter constant annotationsMissing constructor / destructor docs
dmn-timer.hpp,dmn-pipe.hpp,dmn-blockingqueue-lf.hpp: full@brief/@paramblocks addedEnum / macro docs
dmn-proc.hpp:Stateenum values annotated;DMN_PROC_CLEANUP_PUSH/POPmacros given proper@briefdmn-kafka.hpp:Role::kConsumer/Role::kProducerannotatedPrivate / protected method docs
dmn-dmesgnet.hpp:createInputHandlerProc,createSubscriptHandler,createTimerProc,sendPendingOutboundQueueMessage,getLastTopicCacheInternal— all previously undocumented; macro constants (DMN_DMESGNET_*) given@brief; all private data members converted to inline///commentsdmn-blockingqueue-mt.hpp: fixedisInflightGuardCloseddocCoroutine type docs (
dmn-runtime-task.hpp)promise_typemethods (get_return_object,initial_suspend,return_void,unhandled_exception,final_suspend) andFinalAwaiter/Awaitermethods all documentedoperator co_awaitoverloads and destructor annotated"The method …" style removed
dmn-runtime.hpp(10 blocks),dmn-blockingqueue-lf.hpp(3),dmn-blockingqueue-mt.hpp(1),deprecated/dmn-limit-blockingqueue.hpp(7) — all rewritten as active-voice DoxygenKafka docs overhaul
dmn-kafka.hpp: constructor/destructor,read,write,shutdown,producerCallback,errorCallback,writeCopyall improved; grouped/* data members */sections replaced with inline///member docsdmn-kafka-util.hpp:set_configrewritten with proper@param/@returndmn-dmesgnet-kafka.hpp: constructor docs spell out reserved config keys;openHandler/closeHandlersimplified; data members inlinedMiscellaneous
dmn-dmesg.hpp:isInConflict"yes or not" → "@returntrue/false";getTopicRunningCounter/setTopicRunningCounter(public and internal) rephraseddmn-util.hpp:ScopeGuardandmake_scope_guardgain@tparamand@returnOriginal prompt
This pull request was created from Copilot chat.