VR-Link API Documentation for HLA Evolved
vlProcessControl.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00009 #pragma once
00010 
00011 #include "vlTime.h"
00012 #include "vlFilename.h"
00013 #include <vector>
00014 
00015 #ifdef DtUSE_UTILITIES_NAMESPACE
00016 namespace DtUSE_UTILITIES_NAMESPACE
00017 {
00018 #endif
00019 
00020 
00024 DT_DLL_VLUTIL void DtYield();
00025 
00030 DT_DLL_VLUTIL void DtSleep(DtTime sleep_period);
00031 
00032 typedef enum DtProcessInteractivity_enum
00033 {
00034    
00035    DtProcFullyDetached,  // No terminal/console, no keyboard input, 
00036                          // explicitly detached from parent.
00037    DtProcNonInteractive, // No terminal/console, no keyboard input
00038    DtProcFgInteractive,  // use existing terminal/console for input/output
00039    DtProcBgInteractive   // On Windows uses new fully interactive console
00040    // On Unix launched as background process as part of 
00041    // parent's process group. Can be brought to foreground
00042 } DtProcessInteractivityMode;
00043 
00048 bool DT_DLL_VLUTIL DtCreateProcess(const DtFilename & executableName, 
00049    const std::vector<char*>& args,  
00050    DtProcessInteractivityMode interactive = DtProcFgInteractive);
00051 
00052 #ifdef _WIN32
00053 bool DT_DLL_VLUTIL DtCreateProcessAndReturnHandles(const DtFilename & executableName, 
00054                                           const std::vector<char*>& args, 
00055                                           DtProcessInteractivityMode interactive,
00056                                           std::pair< void*, void* > & processInfo,
00057                                           const DtFilename& dir = DtFilename::nullFilename());
00058 #endif
00059 
00060 #ifdef PCFTP
00061 
00062 
00063 
00064 
00065 extern DtMaximumSocketNumber;
00066 #endif
00067 
00068 #ifdef DtUSE_UTILITIES_NAMESPACE
00069 } 
00070 #endif
00071 

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)