Main Page Class Hierarchy Compound List File List Compound Members File Members

# Athread Class Reference

`#include <thread.h>`

Inheritance diagram for Athread::

List of all members.

## Public Types
enum | { priorityIDLE, priorityLOW, priorityNORMAL, priorityHIGHT, prioritySPEED }
## Public Methods
ADLL | Athread ()
virtual ADLL | ~Athread ()
ADLL bool | start ()
ADLL bool | stop ()
ADLL bool | isRunning ()
ADLL void | sleep (int millis)
ADLL void | setPriority (int level)
ADLL int | getPriority ()
virtual void | run ()=0
## Static Public Methods
int | getTickCount ()
## Public Attributes
HANDLE | hThread
int | priority

## Member Enumeration Documentation

anonymous enum

  | Enumeration values:
  priorityIDLE |
  priorityLOW |
  priorityNORMAL |
  priorityHIGHT |
  prioritySPEED |

## Constructor & Destructor Documentation

ADLL Athread::Athread | ( |  | ) |

virtual ADLL Athread::~Athread | ( |  | ) | `[virtual]`

## Member Function Documentation

ADLL int Athread::getPriority | ( |  | ) |

int Athread::getTickCount | ( |  | ) | `[inline, static]`

ADLL bool Athread::isRunning | ( |  | ) |

virtual void Athread::run | ( |  | ) | `[pure virtual]`

| Reimplemented in Atable.

ADLL void Athread::setPriority | ( | int | level | ) |

ADLL void Athread::sleep | ( | int | millis | ) |

ADLL bool Athread::start | ( |  | ) |

ADLL bool Athread::stop | ( |  | ) |

| Reimplemented in Atable.

## Member Data Documentation

HANDLE Athread::hThread

int Athread::priority

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

- thread.h