Download The Doxygen user guide

Transcript
21.94
\msc
c [ label="class C" URL="\ref C"];
b -> c [ arrowhead="open", style="dashed" ];
}
\enddot
Note that the classes in the above graph are clickable
(in the HTML output).
*/
21.94 \msc
Starts a text fragment which should contain a valid description of a message sequence chart. See
http://www.mcternan.me.uk/mscgen/ for examples. The text fragment ends with \endmsc.
Note:
The text fragment should only include the part of the message sequence chart that is within the msc
{...} block.
You need to install the mscgen tool, if you want to use this command.
Here is an example of the use of the \msc command.
/** Sender class. Can be used to send a command to the server.
The receiver will acknowlegde the command by calling Ack().
\msc
Sender,Receiver;
Sender->Receiver [label="Command()", URL="\ref Receiver::Command()"];
Sender<-Receiver [label="Ack()", URL="\ref Ack()", ID="1"];
\endmsc
*/
class Sender
{
public:
/** Acknowledgement from server */
void Ack(bool ok);
};
/** Receiver class. Can be used to receive and execute commands.
After execution of a command, the receiver will send an acknowledgement
\msc
Receiver,Sender;
Receiver<-Sender [label="Command()", URL="\ref Command()"];
Receiver->Sender [label="Ack()", URL="\ref Sender::Ack()", ID="1"];
\endmsc
*/
class Receiver
{
public:
/** Executable a command on the server */
void Command(int commandId);
};
21.95 \dotfile <file> [”caption”]
Inserts an image generated by dot from <file> into the documentation.
The first argument specifies the file name of the image. doxygen will look for files in the paths (or files)
that you specified after the DOTFILE DIRS tag. If the dot file is found it will be used as an input file to
the dot tool. The resulting image will be put into the correct output directory. If the dot file name contains
spaces you’ll have to put quotes (”) around it.
c
User Manual for Doxygen 1.5.3, written by Dimitri van Heesch 1997-2006
105