VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vlProcessControl.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
9 #pragma once
10 
11 #include "vlTime.h"
12 #include "vlFilename.h"
13 #include <vector>
14 
15 #ifdef DtUSE_UTILITIES_NAMESPACE
16 namespace DtUSE_UTILITIES_NAMESPACE
17 {
18 #endif
19 
20 
24 DT_DLL_VLUTIL void DtYield();
25 
30 DT_DLL_VLUTIL void DtSleep(DtTime sleep_period);
31 
33 {
34 
35  DtProcFullyDetached, // No terminal/console, no keyboard input,
36  // explicitly detached from parent.
37  DtProcNonInteractive, // No terminal/console, no keyboard input
38  DtProcFgInteractive, // use existing terminal/console for input/output
39  DtProcBgInteractive // On Windows uses new fully interactive console
40  // On Unix launched as background process as part of
41  // parent's process group. Can be brought to foreground
43 
48 bool DT_DLL_VLUTIL DtCreateProcess(const DtFilename & executableName,
49  const std::vector<char*>& args,
51 
52 #ifdef _WIN32
53 bool DT_DLL_VLUTIL DtCreateProcessAndReturnHandles(const DtFilename & executableName,
54  const std::vector<char*>& args,
55  DtProcessInteractivityMode interactive,
56  std::pair< void*, void* > & processInfo,
57  const DtFilename& dir = DtFilename::nullFilename());
58 #endif
59 
60 #ifdef PCFTP
61 
62 
63 
64 
65 extern DtMaximumSocketNumber;
66 #endif
67 
68 #ifdef DtUSE_UTILITIES_NAMESPACE
69 }
70 #endif
71 

Document ID: Generated on Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)