VR-Link API Documentation for HLA 1516
List of all members | Public Member Functions | Protected Attributes
DtThreadStart Class Reference

The thread start object. More...

+ Collaboration diagram for DtThreadStart:

Public Member Functions

 DtThreadStart (DtRunnable *runnable)
 DtThreadStart (DtRunnableFunction function, void *data)
void execute (volatile bool *stopFlag)
 Execute the code.
void stop ()
 Attempt to signal the thread to stop, only works with DtRunnable objects.

Protected Attributes

DtRunnablemyRunnableObject
DtRunnableFunction myRunnableFunction
void * myInitializationData

Detailed Description

The thread start object.

Provides a thread starting point for either a DtRunnable object or a DtRunnableFunction C function.

Constructor & Destructor Documentation

DtThreadStart::DtThreadStart ( DtRunnable runnable)
DtThreadStart::DtThreadStart ( DtRunnableFunction  function,
void *  data 
)

Member Function Documentation

void DtThreadStart::execute ( volatile bool *  stopFlag)

Execute the code.

void DtThreadStart::stop ( )

Attempt to signal the thread to stop, only works with DtRunnable objects.

Member Data Documentation

void* DtThreadStart::myInitializationData
protected
DtRunnableFunction DtThreadStart::myRunnableFunction
protected
DtRunnable* DtThreadStart::myRunnableObject
protected

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

Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)