removed some useless spaces; not very important, I know :)
[senf.git] / Socket / Protocols / GenericAddressingPolicy.hh
index a289070..b1d2997 100644 (file)
@@ -1,9 +1,9 @@
 // $Id$
 //
 // Copyright (C) 2006
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
-//     Stefan Bund <stefan.bund@fokus.fraunhofer.de>
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
+//     Stefan Bund <g0dil@berlios.de>
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
     \brief GenericAddressingPolicy public header
  */
 
+/** \defgroup addr_group Addressing classes
+ */
+
 #ifndef HH_GenericAddressingPolicy_
 #define HH_GenericAddressingPolicy_ 1
 
 // Custom includes
-#include "Socket/SocketHandle.hh"
-#include "Socket/FileHandle.hh"
-#include "Socket/SocketPolicy.hh"
-#include "Socket/CommunicationPolicy.hh"
+#include "../../Socket/SocketHandle.hh"
+#include "../../Socket/FileHandle.hh"
+#include "../../Socket/SocketPolicy.hh"
+#include "../../Socket/CommunicationPolicy.hh"
 
 //#include "GenericAddressingPolicy.mpp"
 ///////////////////////////////hh.p////////////////////////////////////////
@@ -82,12 +85,12 @@ namespace senf {
         : private GenericAddressingPolicy_Base
     {
 #       ifndef DOXYGEN
-        template <class Policy>
-        static void peer(SocketHandle<Policy> handle, Address & addr,
-                         typename IfCommunicationPolicyIs<Policy,ConnectedCommunicationPolicy>::type * = 0);
+        template <class SPolicy>
+        static void peer(SocketHandle<SPolicy> handle, Address & addr,
+                         typename IfCommunicationPolicyIs<SPolicy,ConnectedCommunicationPolicy>::type * = 0);
 #       else
-        template <class Policy>
-        static void peer(SocketHandle<Policy> handle, Address & addr);
+        template <class SPolicy>
+        static void peer(SocketHandle<SPolicy> handle, Address & addr);
                                         ///< Return address of remote peer on connected sockets
                                         /**< This member is only available if the socket handles
                                              communication policy is ConnectedCommunicationPolicy.
@@ -101,12 +104,12 @@ namespace senf {
                                              \param[out] addr local socket address */
 
 #       ifndef DOXYGEN
-        template <class Policy>
-        static void connect(SocketHandle<Policy> handle, Address const & addr,
-                            typename IfCommunicationPolicyIs<Policy,ConnectedCommunicationPolicy>::type * = 0);
+        template <class SPolicy>
+        static void connect(SocketHandle<SPolicy> handle, Address const & addr,
+                            typename IfCommunicationPolicyIs<SPolicy,ConnectedCommunicationPolicy>::type * = 0);
 #       else
-        template <class Policy>
-        static void connect(SocketHandle<Policy> handle, Address const & addr);
+        template <class SPolicy>
+        static void connect(SocketHandle<SPolicy> handle, Address const & addr);
                                         ///< Connect to remote host
                                         /**< This member is only available if the socket handles
                                              communication policy is ConnectedCommunicationPolicy.
@@ -139,6 +142,6 @@ namespace senf {
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
-// compile-command: "scons -u test"
+// compile-command: "scons -u ../test"
 // comment-column: 40
 // End: