|
vrpn
07.33
Virtual Reality Peripheral Network
|
#include <vrpn_Shared.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 558 of file vrpn_Shared.h.
| typedef pthread_t vrpn_Thread::thread_t |
Definition at line 571 of file vrpn_Shared.h.
| vrpn_Thread::vrpn_Thread | ( | vrpn_THREAD_FUNC | pfThread, |
| vrpn_ThreadData | td | ||
| ) |
Definition at line 1229 of file vrpn_Shared.C.
| vrpn_Thread::~vrpn_Thread | ( | ) |
Definition at line 1347 of file vrpn_Shared.C.
References kill(), and running().

|
static |
Definition at line 1312 of file vrpn_Shared.C.
| bool vrpn_Thread::go | ( | ) |
Definition at line 1237 of file vrpn_Shared.C.
References threadFuncShell(), threadFuncShellPosix(), and threadID.
Referenced by vrpn_Imager_Stream_Buffer::handle_got_first_connection().

| bool vrpn_Thread::kill | ( | ) |
Definition at line 1268 of file vrpn_Shared.C.
References threadID.
Referenced by vrpn_Imager_Stream_Buffer::handle_got_first_connection(), vrpn_Imager_Stream_Buffer::stop_logging_thread(), and ~vrpn_Thread().
|
static |
Definition at line 1360 of file vrpn_Shared.C.
| vrpn_Thread::thread_t vrpn_Thread::pid | ( | ) |
Definition at line 1310 of file vrpn_Shared.C.
References threadID.
| bool vrpn_Thread::running | ( | ) |
Definition at line 1308 of file vrpn_Shared.C.
References threadID.
Referenced by vrpn_Imager_Stream_Buffer::handle_got_first_connection(), vrpn_Imager_Stream_Buffer::stop_logging_thread(), and ~vrpn_Thread().
|
staticprotected |
Definition at line 1325 of file vrpn_Shared.C.
References pfThread, td, and threadID.
Referenced by go(), and threadFuncShellPosix().
|
staticprotected |
Definition at line 1341 of file vrpn_Shared.C.
References threadFuncShell().
Referenced by go().

| void vrpn_Thread::userData | ( | void * | pvNewUserData | ) |
Definition at line 1321 of file vrpn_Shared.C.
References vrpn_ThreadData::pvUD, and td.
| void * vrpn_Thread::userData | ( | ) |
Definition at line 1323 of file vrpn_Shared.C.
References vrpn_ThreadData::pvUD, and td.
|
protected |
Definition at line 598 of file vrpn_Shared.h.
Referenced by threadFuncShell().
|
protected |
Definition at line 599 of file vrpn_Shared.h.
Referenced by threadFuncShell(), userData(), and vrpn_test_threads_and_semaphores().
|
protected |
Definition at line 609 of file vrpn_Shared.h.
Referenced by go(), kill(), pid(), running(), and threadFuncShell().