メインページ | ネームスペース一覧 | クラス階層 | 構成 | Directories | ファイル一覧 | ネームスペースメンバ | 構成メンバ | ファイルメンバ

クラス テンプレート RTC::basic_logbuf< _CharT, _Traits >

ロガーバッファクラス [詳細]

#include <SystemLogger.h>

すべてのメンバ一覧

Public 型

typedef _CharT char_type
typedef _Traits traits_type
typedef std::basic_filebuf<
char_type, traits_type
__filebuf_type

Public メソッド

 basic_logbuf ()
 basic_logbuf クラスコンストラクタ
 basic_logbuf (const char_type *s, std::ios_base::openmode mode=std::ios_base::out, long protection=0666)
 basic_logbuf クラスコンストラクタ
virtual ~basic_logbuf ()
 basic_logbuf クラスデストラクタ
virtual std::streamsize sputn (const char_type *s, std::streamsize n)
void setSyncCallBack (sync_callback< char_type > &cb)

Protected メソッド

virtual int sync ()
 バッファ同期


説明

template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
class RTC::basic_logbuf< _CharT, _Traits >

ロガーバッファクラス

basic_filebuf ライクなログバッファクラス。ローカルファイルへのログ吐き出し を管理するバッファクラス。


型定義

template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
typedef std::basic_filebuf<char_type, traits_type> RTC::basic_logbuf< _CharT, _Traits >::__filebuf_type
 

template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
typedef _CharT RTC::basic_logbuf< _CharT, _Traits >::char_type
 

template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
typedef _Traits RTC::basic_logbuf< _CharT, _Traits >::traits_type
 


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

template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
RTC::basic_logbuf< _CharT, _Traits >::basic_logbuf  )  [inline]
 

basic_logbuf クラスコンストラクタ

デフォルトコンストラクタ

template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
RTC::basic_logbuf< _CharT, _Traits >::basic_logbuf const char_type s,
std::ios_base::openmode  mode = std::ios_base::out,
long  protection = 0666
[inline]
 

basic_logbuf クラスコンストラクタ

ファイル名およびオープンモードを指定してコンストラクトするコンストラクタ

template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
virtual RTC::basic_logbuf< _CharT, _Traits >::~basic_logbuf  )  [inline, virtual]
 

basic_logbuf クラスデストラクタ

デストラクタ。ファイルをクローズする。


関数

template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
void RTC::basic_logbuf< _CharT, _Traits >::setSyncCallBack sync_callback< char_type > &  cb  )  [inline]
 

template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
virtual std::streamsize RTC::basic_logbuf< _CharT, _Traits >::sputn const char_type s,
std::streamsize  n
[inline, virtual]
 

template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
virtual int RTC::basic_logbuf< _CharT, _Traits >::sync  )  [inline, protected, virtual]
 

バッファ同期

バッファがフラッシュされた際に呼ばれる同期関数。


このクラスの説明は次のファイルから生成されました:
OpenRTMに対してFri Oct 5 05:15:04 2007に生成されました。  doxygen 1.4.1