2 // Copyright (c) 2020 Fraunhofer Institute for Applied Information Technology (FIT)
3 // Network Research Group (NET)
4 // Schloss Birlinghoven, 53754 Sankt Augustin, GERMANY
5 // Contact: support@wiback.org
7 // This file is part of the SENF code tree.
8 // It is licensed under the 3-clause BSD License (aka New BSD License).
9 // See LICENSE.txt in the top level directory for details or visit
10 // https://opensource.org/licenses/BSD-3-Clause
15 \brief InterfaceAPI internal header */
17 #ifndef IH_SENF_Ext_NetEmu_InterfaceAPI_
18 #define IH_SENF_Ext_NetEmu_InterfaceAPI_ 1
22 //-/////////////////////////////////////////////////////////////////////////////////////////////////
28 /** \brief Internal: Provide interface() member */
29 template <class Interface>
33 virtual ~InterfaceAccess();
35 Interface & interface();
36 Interface const & interface() const;
39 /** \brief Internal: Provide receiver() and transmitter() members */
40 template <class Receiver, class Transmitter>
44 virtual ~CommfaceAccess();
46 Receiver & receiver();
47 Receiver const & receiver() const;
49 Transmitter & transmitter();
50 Transmitter const & transmitter() const;
55 //-/////////////////////////////////////////////////////////////////////////////////////////////////
63 // c-file-style: "senf"
64 // indent-tabs-mode: nil
65 // ispell-local-dictionary: "american"
66 // compile-command: "scons -u test"