X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FSocket%2FSocketPolicy.hh;h=8da09e9e07b4de58f1f5400cba698338084c9a32;hb=c505c034e5fdc932c02aa3dc3847a5551011d87e;hp=af32b65c15009f9a2e6738d410b505a9398f41a2;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Socket/SocketPolicy.hh b/senf/Socket/SocketPolicy.hh index af32b65..8da09e9 100644 --- a/senf/Socket/SocketPolicy.hh +++ b/senf/Socket/SocketPolicy.hh @@ -32,16 +32,7 @@ /** \defgroup policy_group The Policy Framework -
- \ref WritePolicyBase - \ref AddressingPolicyBase - \ref FramingPolicyBase - \ref PolicyBase - \ref SocketPolicy - \ref CommunicationPolicyBase - \ref ReadPolicyBase -
- \htmlonly SocketPolicy \endhtmlonly + \diaimage SocketPolicy.dia \section policy_group_introduction Introduction to the Policy Framework @@ -215,14 +206,14 @@ The \c connect member in this example will only be enabled, it the communication policy of the socket handle is ConnectedCommunicationPolicy (or a derived type). See Boost.Enable_If for a discussion of - the third argument (\c senf::ConnectedCommunicationPolicyIs is based on the \c boost::enable_if - template). + href="http://www.boost.org/doc/libs/release/libs/utility/enable_if.html">Boost.Enable_If + for a discussion of the third argument (\c senf::ConnectedCommunicationPolicyIs is based on + the \c boost::enable_if template). \see \ref extend_policy \n - The Boost enable_if utility \n - The Boost.MPL library \n - The Boost.Preprocessor library + The Boost enable_if utility \n + The Boost.MPL library \n + The Boost.Preprocessor library \idea We could combine all the \e Axis \c Is templates into a single template. Since the \e trait argument will automatically specify the axis to be used, it is not necessary to specify @@ -423,9 +414,9 @@ namespace senf { /** \brief Enable template overload depending on policy value This template is an example of the \c If \e Axis \c Is family of templates. It is used like - Boost.enable_if to enable a - templated overload only, if the AddressingPolicy of \e Axis is compatible with \c Trait - (that is the AddressingPolicy of \c Policy is derived from \c Trait). + Boost.enable_if + to enable a templated overload only, if the AddressingPolicy of \e Axis is compatible with + \c Trait (that is the AddressingPolicy of \c Policy is derived from \c Trait). \see policy_group */ @@ -518,7 +509,7 @@ namespace senf { SocketHandle with policy \c Base). The metafunction will return true (that is inherits from \c boost::true_type, see the Boost.MPL library documentation for + href="http://www.boost.org/doc/libs/release/libs/mpl/doc/index.html">Boost.MPL library documentation for more information) if each policy class in \c Base is a baseclass of (or the same as) the corresponding policy class in \c Derived.