My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::util::Runnable Class Reference
Inheritance diagram for gcp::util::Runnable:
gcp::antenna::control::GpsIntHandler gcp::util::Client gcp::util::RunnableTask gcp::util::RunnableTestClass gcp::util::Server gcp::util::SshClient gcp::util::TerminalServer Ssh

Public Member Functions

 Runnable (bool spawnThread, RUN_FN(*runFn))
 
 Runnable (bool spawnThread, RUN_FN(*runFn), int priority)
 
virtual ~Runnable ()
 
void blockForever ()
 
void spawn ()
 

Static Public Member Functions

static THREAD_START (startUp)
 

Protected Member Functions

virtual void broadcastReady ()
 
void spawn (void *arg)
 

Protected Attributes

ThreadspawnedThread_
 
bool spawned_
 
RUN_FN * runFn_
 

Constructor & Destructor Documentation

Runnable::Runnable ( bool  spawnThread,
RUN_FN *  runFn 
)

Constructor.

....................................................................... Constructor.

Runnable::~Runnable ( )
virtual

Destructor.

....................................................................... Destructor.

Member Function Documentation

static gcp::util::Runnable::THREAD_START ( startUp  )
static

A startup function for the spawned thread.

Member Data Documentation

bool gcp::util::Runnable::spawned_
protected

True if this object is spawned in a separate thread.

Thread* gcp::util::Runnable::spawnedThread_
protected

If this object is spawned in its own thread, we will use a Thread container to manage it.


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