X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocolClientSocketHandle.cti;h=9f54fe9411a3621428347d75ae6b94319042fc93;hb=3cb0a2ff50b8f1111da34b696e64fb1b037cd683;hp=33f73276c723ec1a6aba5bb0f1e9a0da49f2696e;hpb=31d85cd6b8e03c5ecc924ca8892906be1bab702f;p=senf.git diff --git a/Socket/ProtocolClientSocketHandle.cti b/Socket/ProtocolClientSocketHandle.cti index 33f7327..9f54fe9 100644 --- a/Socket/ProtocolClientSocketHandle.cti +++ b/Socket/ProtocolClientSocketHandle.cti @@ -1,9 +1,9 @@ // $Id$ // // Copyright (C) 2006 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Stefan Bund +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Stefan Bund // // 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 @@ -30,24 +30,25 @@ //#include "ProtocolClientSocketHandle.ih" // Custom includes +#include "../Utils/senfassert.hh" #define prefix_ inline ///////////////////////////////cti.p/////////////////////////////////////// template prefix_ senf::ProtocolClientSocketHandle:: -ProtocolClientSocketHandle(UninitializedType) +ProtocolClientSocketHandle(senf::NoInit_t) {} template prefix_ senf::ProtocolClientSocketHandle::ProtocolClientSocketHandle() : ClientSocketHandle( - std::auto_ptr(new SocketProtocol())) + std::auto_ptr(new senf::ProtocolSocketBody(false))) { this->protocol().init_client(); } -#define BOOST_PP_ITERATION_PARAMS_1 (4, (1, 9, "Socket/ProtocolClientSocketHandle.mpp", 2)) +#define BOOST_PP_ITERATION_PARAMS_1 (4, (1, 9, SENF_ABSOLUTE_INCLUDE_PATH(Socket/ProtocolClientSocketHandle.mpp), 2)) #include BOOST_PP_ITERATE() template @@ -60,7 +61,7 @@ template prefix_ SocketProtocol const & senf::ProtocolClientSocketHandle::protocol() { - BOOST_ASSERT( dynamic_cast(&this->body().protocol()) ); + SENF_ASSERT( dynamic_cast(&this->body().protocol()) ); // Need dynamic_cast here, since senf::SocketProtocol is a // virtual base return dynamic_cast(this->body().protocol()); @@ -113,4 +114,5 @@ senf::ProtocolClientSocketHandle::dumpState(unsigned lod) // indent-tabs-mode: nil // ispell-local-dictionary: "american" // compile-command: "scons -u test" +// comment-column: 40 // End: