µ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_lockable< T, L > Class Template Reference

#include <net-stack.h>

+ Inheritance diagram for os::posix::net_stack_lockable< T, L >:

Public Types

using lockable_type = L
 
using value_type = T
 

Public Member Functions

Constructors & Destructor
template<typename ... Args>
 net_stack_lockable (const char *name, net_interface &interface, lockable_type &locker, Args &&... args)
 
virtual ~net_stack_lockable ()
 
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, typename L>
class os::posix::net_stack_lockable< T, L >

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

Member Typedef Documentation

◆ deferred_sockets_list_t

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

◆ lockable_type

template<typename T , typename L >
using os::posix::net_stack_lockable< T, L >::lockable_type = L

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

◆ value_type

template<typename T , typename L >
using os::posix::net_stack_lockable< T, L >::value_type = T

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

Constructor & Destructor Documentation

◆ net_stack_lockable()

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

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

◆ ~net_stack_lockable()

template<typename T , typename L >
os::posix::net_stack_lockable< T, L >::~net_stack_lockable
virtual

Definition at line 623 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 , typename L >
net_stack_lockable< T, L >::value_type & os::posix::net_stack_lockable< T, L >::impl ( void  ) const

Definition at line 634 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: