X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FRoute.ih;h=31a4e5b31f8e7785126ace7fc9106633c7b965e2;hb=f2f5d59e83863f3b513950173baee1b6da2aee3c;hp=b99d93d30bc5c8cf0cea3101f40137cbe6e0a631;hpb=550a30f99f2edbe72434c1b5f2a225320d0ef4ca;p=senf.git diff --git a/PPI/Route.ih b/PPI/Route.ih index b99d93d..31a4e5b 100644 --- a/PPI/Route.ih +++ b/PPI/Route.ih @@ -1,8 +1,8 @@ // $Id$ // -// Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) +// Copyright (C) 2007 +// 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 @@ -23,8 +23,8 @@ /** \file \brief Route internal header */ -#ifndef IH_Route_ -#define IH_Route_ 1 +#ifndef IH_SENF_PPI_Route_ +#define IH_SENF_PPI_Route_ 1 // Custom includes #include @@ -35,6 +35,8 @@ ///////////////////////////////ih.p//////////////////////////////////////// +#ifndef DOXYGEN + namespace senf { namespace ppi { namespace detail { @@ -45,6 +47,8 @@ namespace detail { struct RoutingTraitsImplementation { BOOST_STATIC_ASSERT((boost::is_base_of::value)); + + static bool const event = false; static bool const notifySource = boost::is_base_of< connector::ActiveConnector, Connector>::value; @@ -64,6 +68,8 @@ namespace detail { template struct RoutingTraitsImplementation { + static bool const event = true; + static bool const notifySource = false; static bool const notifyTarget = true; @@ -72,7 +78,7 @@ namespace detail { typedef EventDescriptor type; }; - + // The RoutingTraits give routing related information about the argument type: // - Wether the type is a notifySource or notifyTarget // - Wether the type is dataSource or dataTarget @@ -199,6 +205,8 @@ namespace detail { }}} +#endif + ///////////////////////////////ih.e//////////////////////////////////////// #endif