openrave.org

 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義 グループ ページ
Public メソッド | すべてのメンバ一覧
構造体 テンプレート OpenRAVE::utils::smart_pointer_deleter< P >

allow to add different custom deleter funtions to a shared_ptr without touching its original custom deleter [詳細]

#include <utils.h>

Public メソッド

 smart_pointer_deleter (P const &p, const boost::function< void(void const *)> &deleterfn, const boost::function< void()> &postdeleterfn=boost::function< void()>())
 
void operator() (void const *x)
 
P const & get () const
 

説明

template<class P>
struct OpenRAVE::utils::smart_pointer_deleter< P >

allow to add different custom deleter funtions to a shared_ptr without touching its original custom deleter

Can specify pre-delete and post-delete functions

utils.h167 行で定義されています。

コンストラクタとデストラクタ

template<class P >
OpenRAVE::utils::smart_pointer_deleter< P >::smart_pointer_deleter ( P const &  p,
const boost::function< void(void const *)> &  deleterfn,
const boost::function< void()> &  postdeleterfn = boost::function<void()>() 
)
inline

utils.h174 行で定義されています。

関数

template<class P >
P const& OpenRAVE::utils::smart_pointer_deleter< P >::get ( ) const
inline

utils.h189 行で定義されています。

template<class P >
void OpenRAVE::utils::smart_pointer_deleter< P >::operator() ( void const *  x)
inline

utils.h178 行で定義されています。


この構造体の説明は次のファイルから生成されました: