#include <vrpn_Thread.h>

Public Types | |
| typedef pthread_t | thread_t |
Public Member Functions | |
| vrpn_Thread (vrpn_THREAD_FUNC pfThread, vrpn_ThreadData td) | |
| ~vrpn_Thread () | |
| bool | go () |
| bool | kill () |
| bool | running () |
| thread_t | pid () |
| void | userData (void *pvNewUserData) |
| void * | userData () |
Static Public Member Functions | |
| static bool | available () |
| static unsigned | number_of_processors () |
Static Protected Member Functions | |
| static void | threadFuncShell (void *pvThread) |
| static void * | threadFuncShellPosix (void *pvThread) |
Protected Attributes | |
| void(* | pfThread )(vrpn_ThreadData &ThreadData) |
| vrpn_ThreadData | td |
| thread_t | threadID |
Definition at line 185 of file vrpn_Thread.h.
| typedef pthread_t vrpn_Thread::thread_t |
Definition at line 198 of file vrpn_Thread.h.
| vrpn_Thread::vrpn_Thread | ( | vrpn_THREAD_FUNC | pfThread, |
| vrpn_ThreadData | td ) |
Definition at line 488 of file vrpn_Thread.C.
References pfThread, td, and threadID.
Referenced by threadFuncShell().
| vrpn_Thread::~vrpn_Thread | ( | ) |
Definition at line 606 of file vrpn_Thread.C.
References kill(), and running().

|
static |
Definition at line 571 of file vrpn_Thread.C.
Referenced by vrpn_test_threads_and_semaphores().
| bool vrpn_Thread::go | ( | ) |
Definition at line 496 of file vrpn_Thread.C.
References threadFuncShell(), threadFuncShellPosix(), and threadID.
Referenced by vrpn_test_threads_and_semaphores().

| bool vrpn_Thread::kill | ( | ) |
Definition at line 527 of file vrpn_Thread.C.
References kill(), and threadID.
Referenced by kill(), and ~vrpn_Thread().

|
static |
Definition at line 619 of file vrpn_Thread.C.
Referenced by vrpn_test_threads_and_semaphores().
| vrpn_Thread::thread_t vrpn_Thread::pid | ( | ) |
Definition at line 569 of file vrpn_Thread.C.
References threadID.
| bool vrpn_Thread::running | ( | ) |
|
staticprotected |
Definition at line 584 of file vrpn_Thread.C.
References pfThread, td, threadID, and vrpn_Thread().
Referenced by go(), and threadFuncShellPosix().

|
staticprotected |
Definition at line 600 of file vrpn_Thread.C.
References threadFuncShell().
Referenced by go().

| void * vrpn_Thread::userData | ( | ) |
Definition at line 582 of file vrpn_Thread.C.
References td.
| void vrpn_Thread::userData | ( | void * | pvNewUserData | ) |
Definition at line 580 of file vrpn_Thread.C.
References td.
Referenced by vrpn_test_threads_and_semaphores().
|
protected |
Definition at line 225 of file vrpn_Thread.h.
Referenced by threadFuncShell(), and vrpn_Thread().
|
protected |
Definition at line 226 of file vrpn_Thread.h.
Referenced by threadFuncShell(), userData(), userData(), vrpn_test_threads_and_semaphores(), and vrpn_Thread().
|
protected |
Definition at line 236 of file vrpn_Thread.h.
Referenced by go(), kill(), pid(), running(), threadFuncShell(), and vrpn_Thread().