X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FPacketRegistry.hh;h=49c086e486ce5a7b30cc609da97a241960902432;hb=032707d24b1059febe83ce56b11fd79df106c6e2;hp=94f93b1fb6ea8feb3a3d3995640c2ece314c5c48;hpb=c52cd7d87dbb525c1267aad27391b8b7365dbb57;p=senf.git diff --git a/Packets/PacketRegistry.hh b/Packets/PacketRegistry.hh index 94f93b1..49c086e 100644 --- a/Packets/PacketRegistry.hh +++ b/Packets/PacketRegistry.hh @@ -20,7 +20,6 @@ // Free Software Foundation, Inc., // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// TODO: Add parameterless create() method #ifndef HH_PacketRegistryImpl_ #define HH_PacketRegistryImpl_ 1 @@ -34,8 +33,8 @@ //#include "PacketRegistry.mpp" ///////////////////////////////hh.p//////////////////////////////////////// -namespace satcom { -namespace pkf { +namespace senf { + namespace impl { template class PacketRegistryImpl; } @@ -79,17 +78,20 @@ namespace pkf { constructor during global construction time. The PacketRegistry's purpose is mostly to assist in - implementing the \v v_nextInterpreter() member of packet + implementing the v_nextInterpreter() member of packet facades. This is further supported by the PacketRegistryMixin class. + + \todo Add parameterless create() method */ template class PacketRegistry { public: - // TODO: This fails to work within a library since the linker will - // remove all unused object files ... /** \brief Statically register a packet type in a PacketRegistry + + \fixme This fails to work within a library since the linker will + remove all unused object files ... */ template struct RegistrationProxy @@ -152,7 +154,7 @@ namespace pkf { This mixin class provides a new registerInterpreter implementation which can be used besides the methods provided - bei satcom::pkf::Packet to add a new interpreter to the + bei senf::Packet to add a new interpreter to the interpreter chain. \code @@ -191,7 +193,7 @@ namespace pkf { struct PacketTypeNotRegistered : public std::exception { virtual char const * what() const throw() { return "packet type not registered"; } }; -}} +} ///////////////////////////////hh.e//////////////////////////////////////// //#include "PacketRegistry.cci" @@ -202,5 +204,5 @@ namespace pkf { // Local Variables: // mode: c++ -// c-file-style: "satcom" +// c-file-style: "senf" // End: