µ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_implementable< T > Class Template Reference

#include <net-stack.h>

+ Inheritance diagram for os::posix::net_stack_implementable< T >:

Public Types

using value_type = T
 

Public Member Functions

Constructors & Destructor
template<typename ... Args>
 net_stack_implementable (const char *name, net_interface &interface, Args &&... args)
 
virtual ~net_stack_implementable ()
 
Public Member Functions
value_typeimpl (void) const
 

Public Static Member Functions

using deferred_sockets_list_t = utils::intrusive_list< class socket, utils::double_list_links, &socket::deferred_links_ >
 
virtual class socketsocket (int domain, int type, int protocol)
 
const char * name (void) const
 
void add_deferred_socket (class socket *sock)
 
deferred_sockets_list_tdeferred_sockets_list (void)
 
template<typename T >
T * allocate_socket (void)
 
template<typename T , typename L >
T * allocate_socket (L &locker)
 
net_interfaceinterface (void) const
 

Detailed Description

template<typename T>
class os::posix::net_stack_implementable< T >

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

Member Typedef Documentation

◆ deferred_sockets_list_t

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

◆ value_type

template<typename T >
using os::posix::net_stack_implementable< T >::value_type = T

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

Constructor & Destructor Documentation

◆ net_stack_implementable()

template<typename T >
template<typename ... Args>
os::posix::net_stack_implementable< T >::net_stack_implementable ( const char *  name,
net_interface interface,
Args &&...  args 
)

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

◆ ~net_stack_implementable()

template<typename T >
os::posix::net_stack_implementable< T >::~net_stack_implementable
virtual

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

Member Function Documentation

◆ add_deferred_socket()

void os::posix::net_stack::add_deferred_socket ( class socket sock)
inlineinherited

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

◆ allocate_socket() [1/2]

template<typename T , typename L >
T * os::posix::net_stack::allocate_socket ( L &  locker)
inherited

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

◆ allocate_socket() [2/2]

template<typename T >
T * os::posix::net_stack::allocate_socket ( void  )
inherited

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

◆ deferred_sockets_list()

net_stack::deferred_sockets_list_t & os::posix::net_stack::deferred_sockets_list ( void  )
inlineinherited

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

◆ impl()

template<typename T >
net_stack_implementable< T >::value_type & os::posix::net_stack_implementable< T >::impl ( void  ) const

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

◆ interface()

net_interface & os::posix::net_stack::interface ( void  ) const
inherited

◆ name()

const char * os::posix::net_stack::name ( void  ) const
inlineinherited

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

◆ socket()

class socket * os::posix::net_stack::socket ( int  domain,
int  type,
int  protocol 
)
virtualinherited

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


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