X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSocketPolicy.hh;h=324d07ca5e793e644874a2d9006ddf511c051b55;hb=81ffa1c459b96dd44472bcef37e1e373934ee138;hp=5d48e6da070b1dc5cef02e16fa4e2e9bfdce51c8;hpb=49f2e00bdc4014b34361a0830e7ec365844ee67a;p=senf.git diff --git a/Socket/SocketPolicy.hh b/Socket/SocketPolicy.hh index 5d48e6d..324d07c 100644 --- a/Socket/SocketPolicy.hh +++ b/Socket/SocketPolicy.hh @@ -38,8 +38,19 @@ /** \defgroup policy_group The Policy Framework - \image html SocketPolicy.png - + \htmlonly + + SocketPolicy + BufferingPolicyBase + WritePolicyBase + ReadPolicyBase + CommunicationPolicyBase + FramingPolicyBase + AddressingPolicyBase + + Socket Policy + \endhtmlonly + \section policy_group_introduction Introduction to the Policy Framework The policy framework conceptually implements a list of parallel inheritance hierarchies each @@ -243,8 +254,6 @@ // Custom includes -#include "GenericSockAddr.hh" - //#include "SocketPolicy.mpp" ///////////////////////////////hh.p//////////////////////////////////////// @@ -298,7 +307,7 @@ namespace senf { { virtual ~AddressingPolicyBase() {} - typedef GenericSockAddr Address; + class Address { Address(); }; }; /** \brief Policy defining the framing format @@ -352,7 +361,7 @@ namespace senf { The second member should only be enabled if the communication policy is - UnconnectedCommunication (otherwise it does not make sense since the communication partner + UnconnectedCommunicationPolicy (otherwise it does not make sense since the communication partner is fixed) (see AddressingPolicyBase on how to do this). \note This Policy only has two meaningful states: ReadablePolicy and NotReadablePolicy. It @@ -375,7 +384,7 @@ namespace senf { The second member should only be enabled if the communication policy is - UnconnectedCommunication (otherwise it does not make sense since the communication partner + UnconnectedCommunicationPolicy (otherwise it does not make sense since the communication partner is fixed) (see AddressingPolicyBase on how to do this). \note This Policy only has two meaningful states: WritablePolicy and NotWritablePolicy. It @@ -557,4 +566,6 @@ namespace senf { // c-file-style: "senf" // indent-tabs-mode: nil // ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: