From: Jan Kiszka <jan.kiszka@domain.hid>
To: Nathaniel Villaume <villaume@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] doc patch: RT_TASK_INFO
Date: Thu, 27 Jul 2006 21:26:30 +0200 [thread overview]
Message-ID: <44C91366.2000201@domain.hid> (raw)
In-Reply-To: <44C9088A.20608@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1841 bytes --]
Nathaniel Villaume wrote:
> The patches were to help you out! I thought that maybe you wouldn't want
> RT_TASK documented -- users don't really need to konw about magic number
> and flowgen, do they? But yeah, sorry for the spamming.
Yes, I absolutely agree with you that RT_TASK and other internal
structures should not pop up in doxygen (but, of course, still have its
comments for the developers)!
>
> As for the comment style, the C style comments don't show up using this
> inline method: /*!< */ -- that was part of the original problem. One
Mm, not convinced yet: the original code looked like this: /* !< Text */
(note the space). I think there must be a C-conforming way to document
fields.
> solution is to use the @typedef command. The only drawback here is the
> minor replication. For example:
>
> /*! @typedef RT_TASK
> @brief Contains important data
> @param magic Magic uniquely identifies the task's wizardry ancestry
> @param prio task priority
> */
> typedef struct {
> int magic; // Must come first! (comments don't HAVE to go here)
> uint prio; // task priority
> /* etc */
> } RT_TASK;
No, not really beautiful. Another way is this (see also RTDM skin):
typedef struct {
/** Some field */
int some_field;
} my_struct;
The problem with doxygen is that you never really know what went wrong,
at least not within the first hours of experimenting with the code... :(
>
> What I need to know from you:
> 1) Do you care about this duplication of struct member-names (harder to
> keep docs synchronized with code)?
I would personally prefer to avoid this.
> 2) Do you want RT_TASK member documentation to show up in
> doxygen-generated pages? (this lets me know what to change)
See above. But I'm not the only one around here.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
next prev parent reply other threads:[~2006-07-27 19:26 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200607271001.k6RA19sN018076@domain.hid>
2006-07-27 15:57 ` [Xenomai-help] doc patch: RT_TASK_INFO Nathaniel J Villaume
2006-07-27 16:50 ` Jan Kiszka
2006-07-27 18:40 ` Nathaniel Villaume
2006-07-27 19:26 ` Jan Kiszka [this message]
2006-07-27 18:58 ` [Xenomai-help] RT_TASK_INFO status Nathaniel Villaume
2006-07-27 19:26 ` [Xenomai-help] " Jan Kiszka
2006-07-27 22:45 ` Nathaniel Villaume
2006-07-28 9:04 ` Jan Kiszka
2006-07-28 13:51 ` Gilles Chanteperdrix
2006-08-01 18:46 ` Nathaniel Villaume
2006-08-02 6:13 ` Jan Kiszka
2006-08-12 20:52 ` Gilles Chanteperdrix
2006-07-28 9:09 ` Philippe Gerum
2006-07-27 16:23 ` [Xenomai-help] patch: native/task.h Nathaniel J Villaume
2006-07-27 16:27 ` [Xenomai-help] patch: info_mcb_changed_native_task.h.diff Nathaniel J Villaume
2006-07-27 16:28 ` [Xenomai-help] patch: all_changed_native_task.h.diff Nathaniel J Villaume
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44C91366.2000201@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=villaume@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.