VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 Mon Feb 6 18:36:34 EST 2017 from SVN revision 173107
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)