X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FMainpage.dox;h=c428f21a9c325f5ffbe4dd4f6d9f6adbc95b6036;hb=9bc655e14d2d8c204ed835896cb51e42d49bd68f;hp=a7854d8d4a17735d07525c59a4c872ab9eb6e283;hpb=9cb871b939efe93e35dd96808d25089399acfc46;p=senf.git diff --git a/senf/Packets/Mainpage.dox b/senf/Packets/Mainpage.dox index a7854d8..c428f21 100644 --- a/senf/Packets/Mainpage.dox +++ b/senf/Packets/Mainpage.dox @@ -734,8 +734,8 @@ } \endcode - Every annotation is automatically default-initialized, there is no way to query, whether a - packet holds a specific annotation -- every packet conceptually always holds all annotations. + Conceptually, all annotations always exist in every packet, there is no way to query, whether a + packet holds a specific annotation. You should use annotations economically: Every annotation type used in your program will allocate an annotation slot in \e all packet data structures. So don't use hundreds of different @@ -745,7 +745,8 @@ data together with the packet consider some other way (e.g. place the packet into another class which holds that data). - \see senf::Packet::annotation() + \see senf::Packet::annotation() \n + senf::dumpPacketAnnotationRegistry() for annotation debugging and optimization */ /** \page packet_new Defining new Packet types @@ -837,4 +838,3 @@ // mode: auto-fill // compile-command: "scons -u doc" // End: -