NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
nonstd::scope::unique_resource< R, D > Class Template Reference

#include <scope-lite.hpp>

Public Member Functions

 unique_resource ()
 
template<class RR , class DD >
 unique_resource (RR const &r, DD const &d, bool execute=true)
 
 unique_resource (unique_resource const &other)
 
 ~unique_resource ()
 
unique_resourceoperator= (unique_resource const &other)
 
void reset ()
 
template<class RR >
void reset (RR const &r)
 
void release ()
 
R const & get () const
 
std11::remove_pointer< R >::type & operator* () const
 
operator-> () const
 
D const & get_deleter () const
 

Detailed Description

template<class R, class D>
class nonstd::scope::unique_resource< R, D >

Definition at line 1295 of file scope-lite.hpp.

Constructor & Destructor Documentation

◆ unique_resource() [1/3]

template<class R, class D>
nonstd::scope::unique_resource< R, D >::unique_resource ( )
inline

Definition at line 1298 of file scope-lite.hpp.

◆ unique_resource() [2/3]

template<class R, class D>
template<class RR , class DD >
nonstd::scope::unique_resource< R, D >::unique_resource ( RR const &  r,
DD const &  d,
bool  execute = true 
)
inline

Definition at line 1305 of file scope-lite.hpp.

◆ unique_resource() [3/3]

template<class R, class D>
nonstd::scope::unique_resource< R, D >::unique_resource ( unique_resource< R, D > const &  other)
inline

Definition at line 1313 of file scope-lite.hpp.

◆ ~unique_resource()

template<class R, class D>
nonstd::scope::unique_resource< R, D >::~unique_resource ( )
inline

Definition at line 1321 of file scope-lite.hpp.

Member Function Documentation

◆ operator=()

template<class R, class D>
unique_resource& nonstd::scope::unique_resource< R, D >::operator= ( unique_resource< R, D > const &  other)
inline

Definition at line 1328 of file scope-lite.hpp.

References websocketpp::http::parser::state::resource.

◆ reset() [1/2]

template<class R, class D>
void nonstd::scope::unique_resource< R, D >::reset ( )
inline

Definition at line 1339 of file scope-lite.hpp.

◆ reset() [2/2]

template<class R, class D>
template<class RR >
void nonstd::scope::unique_resource< R, D >::reset ( RR const &  r)
inline

Definition at line 1349 of file scope-lite.hpp.

References websocketpp::http::parser::state::resource.

◆ release()

template<class R, class D>
void nonstd::scope::unique_resource< R, D >::release ( )
inline

Definition at line 1361 of file scope-lite.hpp.

◆ get()

template<class R, class D>
R const& nonstd::scope::unique_resource< R, D >::get ( ) const
inline

Definition at line 1366 of file scope-lite.hpp.

References websocketpp::http::parser::state::resource.

◆ operator*()

template<class R, class D>
std11::remove_pointer<R>::type& nonstd::scope::unique_resource< R, D >::operator* ( ) const
inline

Definition at line 1372 of file scope-lite.hpp.

◆ operator->()

template<class R, class D>
R nonstd::scope::unique_resource< R, D >::operator-> ( ) const
inline

Definition at line 1377 of file scope-lite.hpp.

◆ get_deleter()

template<class R, class D>
D const& nonstd::scope::unique_resource< R, D >::get_deleter ( ) const
inline

Definition at line 1382 of file scope-lite.hpp.

References websocketpp::http::parser::state::resource.


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