Back to index

unity  6.0.0
Functions
TestThreadHelper.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

nux::WindowThread * createThread (void)
void runThread (nux::WindowThread *thread)
void stopThread (nux::WindowThread *thread)

Function Documentation

nux::WindowThread* createThread ( void  )

Definition at line 34 of file TestMain.cpp.

{
  nux::WindowThread* thread = NULL;

  nux::NuxInitialize(0);
  thread = nux::CreateGUIThread(TEXT("Unit-Test Dummy Window"),
                                320,
                                240,
                                0,
                                NULL,
                                0);
  return thread;
}

Here is the caller graph for this function:

void runThread ( nux::WindowThread *  thread)

Definition at line 49 of file TestMain.cpp.

{
  thread->Run(NULL);
}
void stopThread ( nux::WindowThread *  thread)

Definition at line 55 of file TestMain.cpp.

{
  thread->ExitMainLoop();
  delete thread;
}

Here is the caller graph for this function: