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 EmulatedWLANInterface inline non-template implementation */
19 #define prefix_ inline
20 //-/////////////////////////////////////////////////////////////////////////////////////////////////
22 //-/////////////////////////////////////////////////////////////////////////////////////////////////
23 // senf::emu::detail::EmulatedWLANInterfaceNet
25 prefix_ senf::emu::EmulatedWLANInterface &
26 senf::emu::detail::EmulatedWLANInterfaceNet::self()
28 return *static_cast<EmulatedWLANInterface *>(this);
31 prefix_ senf::emu::EmulatedWLANInterface const &
32 senf::emu::detail::EmulatedWLANInterfaceNet::self()
35 return *static_cast<EmulatedWLANInterface const *>(this);
38 prefix_ senf::ClockService::clock_type
39 senf::emu::detail::EmulatedWLANInterfaceNet::beaconInterval()
41 return beaconGenerator_.beaconInterval();
44 prefix_ void senf::emu::detail::EmulatedWLANInterfaceNet::beaconInterval
45 (ClockService::clock_type interval)
47 beaconGenerator_.beaconInterval(interval);
50 //-/////////////////////////////////////////////////////////////////////////////////////////////////
51 // senf::emu::EmulatedWLANInterface
53 prefix_ void senf::emu::EmulatedWLANInterface::mode(Mode mode)
58 prefix_ senf::emu::EmulatedWLANInterface::Mode senf::emu::EmulatedWLANInterface::mode()
63 //-/////////////////////////////////////////////////////////////////////////////////////////////////
71 // c-file-style: "senf"
72 // indent-tabs-mode: nil
73 // ispell-local-dictionary: "american"
74 // compile-command: "scons -u test"