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

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

ロガーフォーマットクラス [詳細]

#include <SystemLogger.h>

すべてのメンバ一覧

Public 型

typedef _CharT char_type
typedef _Traits traits_type
typedef basic_logbuf< char_type,
traits_type
__logbuf_type
typedef basic_dummybuf< char_type,
traits_type
__dummybuf_type
typedef basic_logstream< char_type,
traits_type
__logstream_type
typedef std::basic_ostream<
char_type, traits_type
__ostream_type
typedef std::basic_streambuf<
char_type, traits_type
__streambuf_type
enum  {
  RTL_SILENT, RTL_ERROR, RTL_WARN, RTL_INFO,
  RTL_NORMAL, RTL_DEBUG, RTL_TRACE, RTL_VERBOSE,
  RTL_PARANOID, RTL_MANDATORY
}

Public メソッド

 basic_logstream (__streambuf_type &streambuf)
 basic_logstream クラスコンストラクタ
 ~basic_logstream ()
 basic_logstream クラスデストラクタ
void setLogLevel (const std::string &level)
void setLogLevel (int level)
void setLogLock (bool lock)
void enableLogLock ()
void disableLogLock ()
__ostream_typelevel (int level)
void acquire ()
void release ()

Static Public メソッド

static int strToLogLevel (const std::string &lv)
static std::string printf (char const *__restrict fmt,...)
 現在保持しているバッファへのポインタを返す。 printf フォーマット出力

Public 変数

__ostream_type m_DummyStream


説明

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

ロガーフォーマットクラス

basic_ostream ライクなログフォーマットクラス。


型定義

template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
typedef basic_dummybuf<char_type, traits_type> RTC::basic_logstream< _CharT, _Traits >::__dummybuf_type
 

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

template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
typedef basic_logstream<char_type, traits_type> RTC::basic_logstream< _CharT, _Traits >::__logstream_type
 

template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
typedef std::basic_ostream<char_type, traits_type> RTC::basic_logstream< _CharT, _Traits >::__ostream_type
 

template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
typedef std::basic_streambuf<char_type, traits_type> RTC::basic_logstream< _CharT, _Traits >::__streambuf_type
 

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

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


列挙型

template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
anonymous enum
 

列挙型の値:
RTL_SILENT 
RTL_ERROR 
RTL_WARN 
RTL_INFO 
RTL_NORMAL 
RTL_DEBUG 
RTL_TRACE 
RTL_VERBOSE 
RTL_PARANOID 
RTL_MANDATORY 


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

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

basic_logstream クラスコンストラクタ

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

引数:
streambuf basic_streambuf 型オブジェクト

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

basic_logstream クラスデストラクタ

デストラクタ。


関数

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

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

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

template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
__ostream_type& RTC::basic_logstream< _CharT, _Traits >::level int  level  )  [inline]
 

template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
static std::string RTC::basic_logstream< _CharT, _Traits >::printf char const *__restrict  fmt,
  ...
[inline, static]
 

現在保持しているバッファへのポインタを返す。 printf フォーマット出力

printfライクな書式でログ出力する。

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

template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
void RTC::basic_logstream< _CharT, _Traits >::setLogLevel int  level  )  [inline]
 

template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
void RTC::basic_logstream< _CharT, _Traits >::setLogLevel const std::string &  level  )  [inline]
 

template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
void RTC::basic_logstream< _CharT, _Traits >::setLogLock bool  lock  )  [inline]
 

template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
static int RTC::basic_logstream< _CharT, _Traits >::strToLogLevel const std::string &  lv  )  [inline, static]
 


変数

template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
__ostream_type RTC::basic_logstream< _CharT, _Traits >::m_DummyStream
 


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