µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
net-interface.h
Go to the documentation of this file.
1/*
2 * This file is part of the µOS++ distribution.
3 * (https://github.com/micro-os-plus)
4 * Copyright (c) 2015-2023 Liviu Ionescu. All rights reserved.
5 *
6 * Permission to use, copy, modify, and/or distribute this software
7 * for any purpose is hereby granted, under the terms of the MIT license.
8 *
9 * If a copy of the license was not distributed with this file, it can
10 * be obtained from https://opensource.org/licenses/mit/.
11 */
12
13#ifndef CMSIS_PLUS_POSIX_IO_NET_INTERFACE_H_
14#define CMSIS_PLUS_POSIX_IO_NET_INTERFACE_H_
15
16// ----------------------------------------------------------------------------
17
18#if defined(__cplusplus)
19
20// ----------------------------------------------------------------------------
21
22#if defined(OS_USE_OS_APP_CONFIG_H)
23#include <cmsis-plus/os-app-config.h>
24#endif
25
26// ----------------------------------------------------------------------------
27
28#pragma GCC diagnostic push
29#if defined(__clang__)
30#pragma clang diagnostic ignored "-Wc++98-compat"
31#endif
32
33// ----------------------------------------------------------------------------
34
35namespace os
36{
37 namespace posix
38 {
39 // ------------------------------------------------------------------------
40
41 class net_interface_impl;
42
43 // ========================================================================
44
51 {
52 // ----------------------------------------------------------------------
53
59 public:
60
61 net_interface (net_interface_impl& impl, const char* name);
62
67 // The rule of five.
68 net_interface (const net_interface&) = delete;
69 net_interface (net_interface&&) = delete;
71 operator= (const net_interface&) = delete;
73 operator= (net_interface&&) = delete;
74
79 virtual
81
86 // TODO: add content
87 };
88
89 } /* namespace posix */
90} /* namespace os */
91
92#pragma GCC diagnostic pop
93
94// ----------------------------------------------------------------------------
95
96#endif /* __cplusplus */
97
98// ----------------------------------------------------------------------------
99
100#endif /* CMSIS_PLUS_POSIX_IO_NET_INTERFACE_H_ */
Network interface class.
net_interface(net_interface_impl &impl, const char *name)
System namespace.