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. More...
 
void stop ()
 Attempt to signal the thread to stop, only works with DtRunnable objects. More...
 

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 Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)