qrk::Thread Class Reference

スレッド処理 More...

#include <Thread.h>

List of all members.

Public Types

enum  { Infinity = -1 }

Public Member Functions

bool isRunning (void) const
 スレッドが動作中かを返す
void run (int times=1)
 処理回数を指定してスレッドを起動
void stop (void)
 スレッドを停止
 Thread (int(*fn)(void *), void *args)
 コンストラクタ
int wait (void)
 スレッドの終了を待つ
 ~Thread (void)

Private Member Functions

Threadoperator= (const Thread &rhs)
 Thread (const Thread &rhs)
 Thread (void)

Private Attributes

const std::auto_ptr< pImpl > pimpl

Detailed Description

スレッド処理

Definition at line 21 of file Thread.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
Infinity 

Definition at line 31 of file Thread.h.


Constructor & Destructor Documentation

qrk::Thread::Thread ( void   )  [private]
qrk::Thread::Thread ( const Thread rhs  )  [private]
qrk::Thread::Thread ( int(*)(void *)  fn,
void *  args 
) [explicit]

コンストラクタ

Parameters:
[in,out] fn 関数ポインタ
[in,out] args スレッド関数への引数
qrk::Thread::~Thread ( void   ) 

Member Function Documentation

bool qrk::Thread::isRunning ( void   )  const

スレッドが動作中かを返す

Return values:
true 動作中
false 停止中
Thread& qrk::Thread::operator= ( const Thread rhs  )  [private]
void qrk::Thread::run ( int  times = 1  ) 

処理回数を指定してスレッドを起動

Parameters:
[in] times 処理回数
void qrk::Thread::stop ( void   ) 

スレッドを停止

int qrk::Thread::wait ( void   ) 

スレッドの終了を待つ

Returns:
スレッドの戻り値

Member Data Documentation

const std::auto_ptr<pImpl> qrk::Thread::pimpl [private]

Definition at line 27 of file Thread.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Defines


libhokuyo_urg
Author(s): Alexander Bubeck
autogenerated on Fri Jan 11 09:14:15 2013