2017-04-13 13:59:16 -04:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2018-08-01 13:34:49 -04:00
< meta name = "generator" content = "Doxygen 1.8.14" / >
2017-04-13 13:59:16 -04:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > Crashpad: crashpad::test::WinMultiprocessWithTempDir Class Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< link href = "crashpad_doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectalign" style = "padding-left: 0.5em;" >
< div id = "projectname" > Crashpad
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2018-08-01 13:34:49 -04:00
<!-- Generated by Doxygen 1.8.14 -->
2017-04-13 13:59:16 -04:00
< script type = "text/javascript" >
2018-08-01 13:34:49 -04:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2017-04-13 13:59:16 -04:00
var searchBox = new SearchBox("searchBox", "search",false,'Search');
2018-08-01 13:34:49 -04:00
/* @license-end */
2017-04-13 13:59:16 -04:00
< / script >
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
2018-08-01 13:34:49 -04:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2017-04-13 13:59:16 -04:00
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
2018-08-01 13:34:49 -04:00
/* @license-end */< / script >
2017-04-13 13:59:16 -04:00
< div id = "main-nav" > < / div >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "namespacecrashpad.html" > crashpad< / a > < / li > < li class = "navelem" > < a class = "el" href = "namespacecrashpad_1_1test.html" > test< / a > < / li > < li class = "navelem" > < a class = "el" href = "classcrashpad_1_1test_1_1WinMultiprocessWithTempDir.html" > WinMultiprocessWithTempDir< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#nested-classes" > Classes< / a > |
< a href = "#pro-methods" > Protected Member Functions< / a > |
< a href = "classcrashpad_1_1test_1_1WinMultiprocessWithTempDir-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > crashpad::test::WinMultiprocessWithTempDir Class Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > Manages a multiprocess test on Windows with a parent-created temporary directory.
< a href = "classcrashpad_1_1test_1_1WinMultiprocessWithTempDir.html#details" > More...< / a > < / p >
< p > < code > #include " test/win/win_multiprocess_with_temp_dir.h" < / code > < / p >
< div class = "dynheader" >
Inheritance diagram for crashpad::test::WinMultiprocessWithTempDir:< / div >
< div class = "dyncontent" >
< div class = "center" >
< img src = "classcrashpad_1_1test_1_1WinMultiprocessWithTempDir.png" usemap = "#crashpad::test::WinMultiprocessWithTempDir_map" alt = "" / >
< map id = "crashpad::test::WinMultiprocessWithTempDir_map" name = "crashpad::test::WinMultiprocessWithTempDir_map" >
< area href = "classcrashpad_1_1test_1_1WinMultiprocess.html" title = "Manages a multiprocess test on Windows. " alt = "crashpad::test::WinMultiprocess" shape = "rect" coords = "0,0,260,24" / >
< / map >
< / div > < / div >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pro-methods" > < / a >
Protected Member Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a83df5b4f49d483fac9ab92e4bc509be9" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1test_1_1WinMultiprocessWithTempDir.html#a83df5b4f49d483fac9ab92e4bc509be9" > WinMultiprocessParentBeforeChild< / a > () override< / td > < / tr >
< tr class = "memdesc:a83df5b4f49d483fac9ab92e4bc509be9" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > The optional routine run in parent before the child is spawned. < a href = "#a83df5b4f49d483fac9ab92e4bc509be9" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a83df5b4f49d483fac9ab92e4bc509be9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a452d6845d2ee130ed70ae2593d774768" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1test_1_1WinMultiprocessWithTempDir.html#a452d6845d2ee130ed70ae2593d774768" > WinMultiprocessParentAfterChild< / a > (HANDLE child) override< / td > < / tr >
< tr class = "memdesc:a452d6845d2ee130ed70ae2593d774768" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > The optional routine run in parent after the child exits. < a href = "#a452d6845d2ee130ed70ae2593d774768" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a452d6845d2ee130ed70ae2593d774768" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aefc85f2324237a1404d8ee46cc522157" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "aefc85f2324237a1404d8ee46cc522157" > < / a >
base::FilePath  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1test_1_1WinMultiprocessWithTempDir.html#aefc85f2324237a1404d8ee46cc522157" > GetTempDirPath< / a > () const< / td > < / tr >
< tr class = "memdesc:aefc85f2324237a1404d8ee46cc522157" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns the path of the temp directory. < br / > < / td > < / tr >
< tr class = "separator:aefc85f2324237a1404d8ee46cc522157" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "inherit_header pro_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td colspan = "2" onclick = "javascript:toggleInherit('pro_methods_classcrashpad_1_1test_1_1WinMultiprocess')" > < img src = "closed.png" alt = "-" / >   Protected Member Functions inherited from < a class = "el" href = "classcrashpad_1_1test_1_1WinMultiprocess.html" > crashpad::test::WinMultiprocess< / a > < / td > < / tr >
< tr class = "memitem:a26a2a41fe6294ebc0d34c92e4f932356 inherit pro_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1test_1_1WinMultiprocess.html#a26a2a41fe6294ebc0d34c92e4f932356" > SetExpectedChildExitCode< / a > (unsigned int exit_code)< / td > < / tr >
< tr class = "memdesc:a26a2a41fe6294ebc0d34c92e4f932356 inherit pro_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Sets the expected exit code of the child process. < a href = "classcrashpad_1_1test_1_1WinMultiprocess.html#a26a2a41fe6294ebc0d34c92e4f932356" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a26a2a41fe6294ebc0d34c92e4f932356 inherit pro_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ab11e2ba1a50fe8c3be21517d167f9928 inherit pro_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "namespacecrashpad.html#a07f8e33c4fdeba3783277f9f2563e48a" > FileHandle< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1test_1_1WinMultiprocess.html#ab11e2ba1a50fe8c3be21517d167f9928" > ReadPipeHandle< / a > () const< / td > < / tr >
< tr class = "memdesc:ab11e2ba1a50fe8c3be21517d167f9928 inherit pro_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns the read pipe's file handle. < a href = "classcrashpad_1_1test_1_1WinMultiprocess.html#ab11e2ba1a50fe8c3be21517d167f9928" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ab11e2ba1a50fe8c3be21517d167f9928 inherit pro_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a34fd7345b612ccfb7efcfebfb4d8400f inherit pro_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "namespacecrashpad.html#a07f8e33c4fdeba3783277f9f2563e48a" > FileHandle< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1test_1_1WinMultiprocess.html#a34fd7345b612ccfb7efcfebfb4d8400f" > WritePipeHandle< / a > () const< / td > < / tr >
< tr class = "memdesc:a34fd7345b612ccfb7efcfebfb4d8400f inherit pro_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns the write pipe's file handle. < a href = "classcrashpad_1_1test_1_1WinMultiprocess.html#a34fd7345b612ccfb7efcfebfb4d8400f" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a34fd7345b612ccfb7efcfebfb4d8400f inherit pro_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:af569275d7c83a780319919c06ab7a3ab inherit pro_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1test_1_1WinMultiprocess.html#af569275d7c83a780319919c06ab7a3ab" > CloseReadPipe< / a > ()< / td > < / tr >
< tr class = "memdesc:af569275d7c83a780319919c06ab7a3ab inherit pro_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Closes the read pipe. < a href = "classcrashpad_1_1test_1_1WinMultiprocess.html#af569275d7c83a780319919c06ab7a3ab" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:af569275d7c83a780319919c06ab7a3ab inherit pro_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aab2cac6c2bd29bbb1fbac7de41f82fa5 inherit pro_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1test_1_1WinMultiprocess.html#aab2cac6c2bd29bbb1fbac7de41f82fa5" > CloseWritePipe< / a > ()< / td > < / tr >
< tr class = "memdesc:aab2cac6c2bd29bbb1fbac7de41f82fa5 inherit pro_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Closes the write pipe. < a href = "classcrashpad_1_1test_1_1WinMultiprocess.html#aab2cac6c2bd29bbb1fbac7de41f82fa5" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:aab2cac6c2bd29bbb1fbac7de41f82fa5 inherit pro_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a51bbd60b4e28ecca486c97f86601d480 inherit pro_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td class = "memItemLeft" align = "right" valign = "top" > HANDLE  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1test_1_1WinMultiprocess.html#a51bbd60b4e28ecca486c97f86601d480" > ChildProcess< / a > () const< / td > < / tr >
< tr class = "memdesc:a51bbd60b4e28ecca486c97f86601d480 inherit pro_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns a handle to the child process. < a href = "classcrashpad_1_1test_1_1WinMultiprocess.html#a51bbd60b4e28ecca486c97f86601d480" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a51bbd60b4e28ecca486c97f86601d480 inherit pro_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "inherited" > < / a >
Additional Inherited Members< / h2 > < / td > < / tr >
< tr class = "inherit_header pub_static_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_static_methods_classcrashpad_1_1test_1_1WinMultiprocess')" > < img src = "closed.png" alt = "-" / >   Static Public Member Functions inherited from < a class = "el" href = "classcrashpad_1_1test_1_1WinMultiprocess.html" > crashpad::test::WinMultiprocess< / a > < / td > < / tr >
< tr class = "memitem:a6bece6599f0ff54cdcc7a99550c4f1a6 inherit pub_static_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td class = "memTemplParams" colspan = "2" > template< class T > < / td > < / tr >
< tr class = "memitem:a6bece6599f0ff54cdcc7a99550c4f1a6 inherit pub_static_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td class = "memTemplItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1test_1_1WinMultiprocess.html#a6bece6599f0ff54cdcc7a99550c4f1a6" > Run< / a > ()< / td > < / tr >
< tr class = "memdesc:a6bece6599f0ff54cdcc7a99550c4f1a6 inherit pub_static_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Runs the test. < a href = "classcrashpad_1_1test_1_1WinMultiprocess.html#a6bece6599f0ff54cdcc7a99550c4f1a6" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a6bece6599f0ff54cdcc7a99550c4f1a6 inherit pub_static_methods_classcrashpad_1_1test_1_1WinMultiprocess" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > Manages a multiprocess test on Windows with a parent-created temporary directory. < / p >
< p > This class creates a temp directory in the parent process for the use of the subprocess and its children. To ensure a raceless rundown, it waits on the child process and any processes directly created by the child before deleting the temporary directory. < / p >
< / div > < h2 class = "groupheader" > Member Function Documentation< / h2 >
< a id = "a452d6845d2ee130ed70ae2593d774768" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a452d6845d2ee130ed70ae2593d774768" > ◆ < / a > < / span > WinMultiprocessParentAfterChild()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void crashpad::test::WinMultiprocessWithTempDir::WinMultiprocessParentAfterChild < / td >
< td > (< / td >
< td class = "paramtype" > HANDLE  < / td >
< td class = "paramname" > < em > child< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > override< / span > < span class = "mlabel" > protected< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > The optional routine run in parent after the child exits. < / p >
< p > Subclasses may implement this method to clean up the environment after the child process has exited.< / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > child< / td > < td > A handle to the exited child process. < / td > < / tr >
< / table >
< / dd >
< / dl >
< p > Reimplemented from < a class = "el" href = "classcrashpad_1_1test_1_1WinMultiprocess.html" > crashpad::test::WinMultiprocess< / a > .< / p >
< / div >
< / div >
< a id = "a83df5b4f49d483fac9ab92e4bc509be9" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a83df5b4f49d483fac9ab92e4bc509be9" > ◆ < / a > < / span > WinMultiprocessParentBeforeChild()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void crashpad::test::WinMultiprocessWithTempDir::WinMultiprocessParentBeforeChild < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > override< / span > < span class = "mlabel" > protected< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > The optional routine run in parent before the child is spawned. < / p >
< p > Subclasses may implement this method to prepare the environment for the child process. < / p >
< p > Reimplemented from < a class = "el" href = "classcrashpad_1_1test_1_1WinMultiprocess.html" > crashpad::test::WinMultiprocess< / a > .< / p >
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
< li > test/win/win_multiprocess_with_temp_dir.h< / li >
< li > test/win/win_multiprocess_with_temp_dir.cc< / li >
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
Generated by   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
2018-08-01 13:34:49 -04:00
< / a > 1.8.14
2017-04-13 13:59:16 -04:00
< / small > < / address >
< / body >
< / html >