2017-02-22 23:28:15 -05: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-02-22 23:28:15 -05:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > Crashpad: crashpad::SessionEndWatcher 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-02-22 23:28:15 -05: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-02-22 23:28:15 -05:00
var searchBox = new SearchBox("searchBox", "search",false,'Search');
2018-08-01 13:34:49 -04:00
/* @license-end */
2017-02-22 23:28:15 -05: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-02-22 23:28:15 -05: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-02-22 23:28:15 -05: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 = "classcrashpad_1_1SessionEndWatcher.html" > SessionEndWatcher< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "#pro-methods" > Protected Member Functions< / a > |
< a href = "classcrashpad_1_1SessionEndWatcher-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > crashpad::SessionEndWatcher Class Reference< span class = "mlabels" > < span class = "mlabel" > abstract< / span > < / span > < / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > Creates a hidden window and waits for a < code > WM_ENDSESSION< / code > message, indicating that the session is ending and the application should terminate.
< a href = "classcrashpad_1_1SessionEndWatcher.html#details" > More...< / a > < / p >
< p > < code > #include " util/win/session_end_watcher.h" < / code > < / p >
< div class = "dynheader" >
Inheritance diagram for crashpad::SessionEndWatcher:< / div >
< div class = "dyncontent" >
< div class = "center" >
< img src = "classcrashpad_1_1SessionEndWatcher.png" usemap = "#crashpad::SessionEndWatcher_map" alt = "" / >
< map id = "crashpad::SessionEndWatcher_map" name = "crashpad::SessionEndWatcher_map" >
< area href = "classcrashpad_1_1Thread.html" title = "Basic thread abstraction. Users should derive from this class and implement ThreadMain(). " alt = "crashpad::Thread" shape = "rect" coords = "0,0,184,24" / >
< / map >
< / div > < / div >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a30bdff7ac9cb17ea8bd7cb35b1730a54" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1SessionEndWatcher.html#a30bdff7ac9cb17ea8bd7cb35b1730a54" > ~SessionEndWatcher< / a > () override< / td > < / tr >
< tr class = "separator:a30bdff7ac9cb17ea8bd7cb35b1730a54" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "inherit_header pub_methods_classcrashpad_1_1Thread" > < td colspan = "2" onclick = "javascript:toggleInherit('pub_methods_classcrashpad_1_1Thread')" > < img src = "closed.png" alt = "-" / >   Public Member Functions inherited from < a class = "el" href = "classcrashpad_1_1Thread.html" > crashpad::Thread< / a > < / td > < / tr >
< tr class = "memitem:a3a3659f578b8f5df8bd31b7d5af4a3b0 inherit pub_methods_classcrashpad_1_1Thread" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a3a3659f578b8f5df8bd31b7d5af4a3b0" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1Thread.html#a3a3659f578b8f5df8bd31b7d5af4a3b0" > Start< / a > ()< / td > < / tr >
< tr class = "memdesc:a3a3659f578b8f5df8bd31b7d5af4a3b0 inherit pub_methods_classcrashpad_1_1Thread" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Create a platform thread, and run ThreadMain() on that thread. Must be paired with a call to < a class = "el" href = "classcrashpad_1_1Thread.html#a955be81e744804474a126719f66bb3e6" title = "Block until ThreadMain() exits. This may be called from any thread. Must paired with a call to Start(..." > Join()< / a > . < br / > < / td > < / tr >
< tr class = "separator:a3a3659f578b8f5df8bd31b7d5af4a3b0 inherit pub_methods_classcrashpad_1_1Thread" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a955be81e744804474a126719f66bb3e6 inherit pub_methods_classcrashpad_1_1Thread" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a955be81e744804474a126719f66bb3e6" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classcrashpad_1_1Thread.html#a955be81e744804474a126719f66bb3e6" > Join< / a > ()< / td > < / tr >
< tr class = "memdesc:a955be81e744804474a126719f66bb3e6 inherit pub_methods_classcrashpad_1_1Thread" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Block until ThreadMain() exits. This may be called from any thread. Must paired with a call to < a class = "el" href = "classcrashpad_1_1Thread.html#a3a3659f578b8f5df8bd31b7d5af4a3b0" title = "Create a platform thread, and run ThreadMain() on that thread. Must be paired with a call to Join()..." > Start()< / a > . < br / > < / td > < / tr >
< tr class = "separator:a955be81e744804474a126719f66bb3e6 inherit pub_methods_classcrashpad_1_1Thread" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < 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:ad30b5dda44e9dfbd04e15d0a36ff8f38" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ad30b5dda44e9dfbd04e15d0a36ff8f38" > < / a >
HWND  < / td > < td class = "memItemRight" valign = "bottom" > < b > GetWindow< / b > () const< / td > < / tr >
< tr class = "separator:ad30b5dda44e9dfbd04e15d0a36ff8f38" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad345b69775b540ff0379a08790ee410d" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ad345b69775b540ff0379a08790ee410d" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > WaitForStart< / b > ()< / td > < / tr >
< tr class = "separator:ad345b69775b540ff0379a08790ee410d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a29ea5a1168c28cdbdf57137980a5905a" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a29ea5a1168c28cdbdf57137980a5905a" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > WaitForStop< / b > ()< / td > < / tr >
< tr class = "separator:a29ea5a1168c28cdbdf57137980a5905a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > Creates a hidden window and waits for a < code > WM_ENDSESSION< / code > message, indicating that the session is ending and the application should terminate. < / p >
< p > A dedicated thread will be created to run the < code > GetMessage()< / code > -based message loop required to monitor for this message.< / p >
< p > Users should subclass this class and receive notifications by implementing the SessionEndWatcherEvent() method. < / p >
< / div > < h2 class = "groupheader" > Constructor & Destructor Documentation< / h2 >
< a id = "a30bdff7ac9cb17ea8bd7cb35b1730a54" > < / a >
2017-02-22 23:37:31 -05:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a30bdff7ac9cb17ea8bd7cb35b1730a54" > ◆ < / a > < / span > ~SessionEndWatcher()< / h2 >
2017-02-22 23:28:15 -05:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > crashpad::SessionEndWatcher::~SessionEndWatcher < / 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 > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "section note" > < dt > Note< / dt > < dd > The destructor waits for the thread that runs the message loop to terminate. < / dd > < / dl >
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
< li > util/win/session_end_watcher.h< / li >
< li > util/win/session_end_watcher.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-02-22 23:28:15 -05:00
< / small > < / address >
< / body >
< / html >