µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
os::posix::net_stack_impl Class Referenceabstract

#include <net-stack.h>

Public Member Functions

Constructors & Destructor
 net_stack_impl (net_interface &interface)
 
virtual ~net_stack_impl ()
 
Public Member Functions
virtual class socketdo_socket (int domain, int type, int protocol)=0
 
net_interfaceinterface (void) const
 

Detailed Description

Definition at line 213 of file net-stack.h.

Constructor & Destructor Documentation

◆ net_stack_impl()

os::posix::net_stack_impl::net_stack_impl ( net_interface interface)

Definition at line 114 of file net-stack.cpp.

115 : interface_ (interface)
116 {
117#if defined(OS_TRACE_POSIX_IO_FILE_SYSTEM)
118 trace::printf ("net_stack_impl::%s()=%p\n", __func__, this);
119#endif
120 }
net_interface & interface(void) const
Definition net-stack.h:555
int printf(const char *format,...)
Write a formatted string to the trace device.
Definition trace.cpp:59

References os::trace::printf().

◆ ~net_stack_impl()

os::posix::net_stack_impl::~net_stack_impl ( )
virtual

Definition at line 122 of file net-stack.cpp.

123 {
124#if defined(OS_TRACE_POSIX_IO_FILE_SYSTEM)
125 trace::printf ("net_stack_impl::%s() @%p\n", __func__, this);
126#endif
127 }

References os::trace::printf().

Member Function Documentation

◆ do_socket()

virtual class socket * os::posix::net_stack_impl::do_socket ( int  domain,
int  type,
int  protocol 
)
pure virtual

◆ interface()

net_interface & os::posix::net_stack_impl::interface ( void  ) const
inline

Definition at line 555 of file net-stack.h.

556 {
557 return interface_;
558 }

The documentation for this class was generated from the following files: