Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

# Lamp::Runnable Class Reference

実行可能 More...

`#include <Runnable.h>`

Inheritance diagram for Lamp::Runnable:

List of all members.

## Public Member Functions
| Runnable ()
| コンストラクタ
| Runnable (LockObject *lockObject, bool deleteLockObject)
| コンストラクタ
virtual | ~Runnable ()
| デストラクタ
bool | isStopRequested () const
| 停止を要求されているか
virtual void | run (Thread *thread)=0
| 実行
## Friends
class | Thread

## Detailed Description

実行可能

Definition at line 38 of file Runnable.h.

## Constructor & Destructor Documentation

Lamp::Runnable::Runnable | ( | LockObject * | lockObject,
|  | bool | deleteLockObject
| ) | `[inline]`

  | コンストラクタ Parameters:
  lockObject | ロックオブジェクト
  deleteLockObject | ロックオブジェクトをWaitSetが削除するならtrue
Definition at line 51 of file Runnable.h.

## Member Function Documentation

bool Lamp::Runnable::isStopRequested | ( |  | ) | const`[inline]`

| 停止を要求されているか Returns: 停止を要求されていればtrue Definition at line 63 of file Runnable.h. Referenced by Lamp::StreamPlayer::run(), and Lamp::BufferedInput::run().

virtual void Lamp::Runnable::run | ( | Thread * | thread | ) | `[pure virtual]`

  | 実行 Parameters:
  thread | 実行しているスレッド
isStopRequested()がtrueを返す場合は速やかに処理を終了させる Implemented in Lamp::Thread, Lamp::BufferedInput, and Lamp::StreamPlayer. Referenced by Lamp::Thread::executeWrapper().

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

- Runnable.h