NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
stub< con_msg_manager > Struct Template Reference
Collaboration diagram for stub< con_msg_manager >:

Public Types

typedef websocketpp::lib::shared_ptr< stubptr
 
typedef con_msg_manager< stubcon_msg_man_type
 
typedef con_msg_man_type::ptr con_msg_man_ptr
 
typedef con_msg_man_type::weak_ptr con_msg_man_weak_ptr
 
typedef websocketpp::lib::weak_ptr< stubweak_ptr
 
typedef websocketpp::lib::shared_ptr< stubptr
 

Public Member Functions

 stub (con_msg_man_ptr manager, websocketpp::frame::opcode::value op, size_t size=128)
 
bool recycle ()
 
 stub ()
 
bool recycle (message *)
 

Public Attributes

websocketpp::frame::opcode::value m_opcode
 
con_msg_man_weak_ptr m_manager
 
size_t m_size
 
bool recycled
 

Detailed Description

template<template< class > class con_msg_manager>
struct stub< con_msg_manager >

Definition at line 37 of file alloc.cpp.

Member Typedef Documentation

◆ ptr [1/2]

template<template< class > class con_msg_manager>
typedef websocketpp::lib::shared_ptr<stub> stub< con_msg_manager >::ptr

Definition at line 38 of file alloc.cpp.

◆ con_msg_man_type

template<template< class > class con_msg_manager>
typedef con_msg_manager<stub> stub< con_msg_manager >::con_msg_man_type

Definition at line 40 of file alloc.cpp.

◆ con_msg_man_ptr

template<template< class > class con_msg_manager>
typedef con_msg_man_type::ptr stub< con_msg_manager >::con_msg_man_ptr

Definition at line 41 of file alloc.cpp.

◆ con_msg_man_weak_ptr

template<template< class > class con_msg_manager>
typedef con_msg_man_type::weak_ptr stub< con_msg_manager >::con_msg_man_weak_ptr

Definition at line 42 of file alloc.cpp.

◆ weak_ptr

template<template< class > class con_msg_manager>
typedef websocketpp::lib::weak_ptr<stub> stub< con_msg_manager >::weak_ptr

Definition at line 38 of file message.cpp.

◆ ptr [2/2]

template<template< class > class con_msg_manager>
typedef websocketpp::lib::shared_ptr<stub> stub< con_msg_manager >::ptr

Definition at line 39 of file message.cpp.

Constructor & Destructor Documentation

◆ stub() [1/2]

template<template< class > class con_msg_manager>
stub< con_msg_manager >::stub ( con_msg_man_ptr  manager,
websocketpp::frame::opcode::value  op,
size_t  size = 128 
)
inline

Definition at line 44 of file alloc.cpp.

◆ stub() [2/2]

template<template< class > class con_msg_manager>
stub< con_msg_manager >::stub ( )
inline

Definition at line 41 of file message.cpp.

Member Function Documentation

◆ recycle() [1/2]

template<template< class > class con_msg_manager>
bool stub< con_msg_manager >::recycle ( )
inline

Definition at line 49 of file alloc.cpp.

References stub< con_msg_manager >::m_manager.

◆ recycle() [2/2]

template<template< class > class con_msg_manager>
bool stub< con_msg_manager >::recycle ( message *  )
inline

Definition at line 43 of file message.cpp.

References stub< con_msg_manager >::recycled.

Member Data Documentation

◆ m_opcode

template<template< class > class con_msg_manager>
websocketpp::frame::opcode::value stub< con_msg_manager >::m_opcode

Definition at line 59 of file alloc.cpp.

◆ m_manager

template<template< class > class con_msg_manager>
con_msg_man_weak_ptr stub< con_msg_manager >::m_manager

Definition at line 60 of file alloc.cpp.

Referenced by stub< con_msg_manager >::recycle().

◆ m_size

template<template< class > class con_msg_manager>
size_t stub< con_msg_manager >::m_size

Definition at line 61 of file alloc.cpp.

◆ recycled

template<template< class > class con_msg_manager>
bool stub< con_msg_manager >::recycled

Definition at line 48 of file message.cpp.

Referenced by stub< con_msg_manager >::recycle().


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