<areahref="classcrashpad_1_1InitializationState.html"title="Tracks whether data are initialized. "alt="crashpad::InitializationState"shape="rect"coords="0,0,207,24"/>
<trclass="memdesc:a95838f8f91565ebec9b02b35e32937e9"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the object’s state. <ahref="#a95838f8f91565ebec9b02b35e32937e9">More...</a><br/></td></tr>
<trclass="memdesc:a7364973ff4a298d71c5d64d5ef2f5587"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Marks an uninitialized object as initializing. <ahref="#a7364973ff4a298d71c5d64d5ef2f5587">More...</a><br/></td></tr>
<trclass="memdesc:ab63bf042cd80b1a5b0aea1f96ef42b00"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Marks an initializing object as valid. <ahref="#ab63bf042cd80b1a5b0aea1f96ef42b00">More...</a><br/></td></tr>
<trclass="inherit_header pub_methods_classcrashpad_1_1InitializationState"><tdcolspan="2"onclick="javascript:toggleInherit('pub_methods_classcrashpad_1_1InitializationState')"><imgsrc="closed.png"alt="-"/> Public Member Functions inherited from <aclass="el"href="classcrashpad_1_1InitializationState.html">crashpad::InitializationState</a></td></tr>
<trclass="memdesc:ab4861661dbc0fa608adcde4fdd4c49dd inherit pub_methods_classcrashpad_1_1InitializationState"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns <code>true</code> if the object’s state is <aclass="el"href="classcrashpad_1_1InitializationState.html#a044ea6d40e23683d6d1bb5ce30dafd88ab86672ada53041ffcecfb379473bf353"title="The object has not yet been initialized. ">kStateUninitialized</a> and it is safe to begin initializing it. <br/></td></tr>
<trclass="memdesc:adb1ebe6fb06d227da363dad2174a8316 inherit pub_methods_classcrashpad_1_1InitializationState"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sets the object’s state to <aclass="el"href="classcrashpad_1_1InitializationState.html#a044ea6d40e23683d6d1bb5ce30dafd88afc9011e885f6b0a93151818010eefdfc"title="The object is being initialized. ">kStateInvalid</a>, marking initialization as being in process. <br/></td></tr>
<trclass="memdesc:ae3c6f5b858094249317f087317ceb5a0 inherit pub_methods_classcrashpad_1_1InitializationState"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sets the object’s state to <aclass="el"href="classcrashpad_1_1InitializationState.html#a044ea6d40e23683d6d1bb5ce30dafd88af8963ed6297bea7168911fe4ed87e163"title="The object has been initialized. ">kStateValid</a>, marking it initialized. <br/></td></tr>
<trclass="memdesc:ad069757fa4ef312ac2307111bdf3cccb inherit pub_methods_classcrashpad_1_1InitializationState"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns <code>true</code> if the the object’s state is <aclass="el"href="classcrashpad_1_1InitializationState.html#a044ea6d40e23683d6d1bb5ce30dafd88af8963ed6297bea7168911fe4ed87e163"title="The object has been initialized. ">kStateValid</a> and it has been fully initialized and may be used. <br/></td></tr>
<trclass="inherit_header pro_methods_classcrashpad_1_1InitializationState"><tdcolspan="2"onclick="javascript:toggleInherit('pro_methods_classcrashpad_1_1InitializationState')"><imgsrc="closed.png"alt="-"/> Protected Member Functions inherited from <aclass="el"href="classcrashpad_1_1InitializationState.html">crashpad::InitializationState</a></td></tr>
<p>Put an <aclass="el"href="classcrashpad_1_1InitializationStateDcheck.html"title="Tracks whether data are initialized, triggering a DCHECK assertion on an invalid data access...">InitializationStateDcheck</a> member into a class to help DCHECK that it’s in the right states at the right times. This is useful for classes with Initialize() methods. The chief advantage of <aclass="el"href="classcrashpad_1_1InitializationStateDcheck.html"title="Tracks whether data are initialized, triggering a DCHECK assertion on an invalid data access...">InitializationStateDcheck</a> over having a member variable to track state is that when the only use of the variable is to DCHECK, it wastes space (in memory and executable code) in non-DCHECK builds unless the code is also peppered with ugly <code>#ifdef</code>s.</p>
<p>This implementation concentrates the ugly <code>#ifdef</code>s in one location.</p>
<p>Marks an uninitialized object as initializing. </p>
<p>If the object is in the <aclass="el"href="classcrashpad_1_1InitializationState.html#a044ea6d40e23683d6d1bb5ce30dafd88ab86672ada53041ffcecfb379473bf353"title="The object has not yet been initialized. ">kStateUninitialized</a> state, changes its state to <aclass="el"href="classcrashpad_1_1InitializationState.html#a044ea6d40e23683d6d1bb5ce30dafd88afc9011e885f6b0a93151818010eefdfc"title="The object is being initialized. ">kStateInvalid</a> (initializing) and returns the previous (<aclass="el"href="classcrashpad_1_1InitializationState.html#a044ea6d40e23683d6d1bb5ce30dafd88ab86672ada53041ffcecfb379473bf353"title="The object has not yet been initialized. ">kStateUninitialized</a>) state. Otherwise, returns the object’s current state.</p>
<p>Consumers of this class should not call this method. Use the <aclass="el"href="initialization__state__dcheck_8h.html#a9f550b300c9c7d5214aa612adfdba40e"title="Checks that a crashpad::InitializationStateDcheck object is in the crashpad::InitializationState::kSt...">INITIALIZATION_STATE_SET_INITIALIZING()</a> macro instead. </p>
<p>If the object is in the <aclass="el"href="classcrashpad_1_1InitializationState.html#a044ea6d40e23683d6d1bb5ce30dafd88afc9011e885f6b0a93151818010eefdfc"title="The object is being initialized. ">kStateInvalid</a> (initializing) state, changes its state to <aclass="el"href="classcrashpad_1_1InitializationState.html#a044ea6d40e23683d6d1bb5ce30dafd88af8963ed6297bea7168911fe4ed87e163"title="The object has been initialized. ">kStateValid</a> and returns the previous (<aclass="el"href="classcrashpad_1_1InitializationState.html#a044ea6d40e23683d6d1bb5ce30dafd88afc9011e885f6b0a93151818010eefdfc"title="The object is being initialized. ">kStateInvalid</a>) state. Otherwise, returns the object’s current state.</p>
<p>Consumers of this class should not call this method. Use the <aclass="el"href="initialization__state__dcheck_8h.html#a079bd353351188e4819d9008b732bdce"title="Checks that a crashpad::InitializationStateDcheck object is in the initializing (crashpad::Initializa...">INITIALIZATION_STATE_SET_VALID()</a> macro instead. </p>
<p>Consumers of this class should not call this method. Use the <aclass="el"href="initialization__state__dcheck_8h.html#a9f550b300c9c7d5214aa612adfdba40e"title="Checks that a crashpad::InitializationStateDcheck object is in the crashpad::InitializationState::kSt...">INITIALIZATION_STATE_SET_INITIALIZING()</a>, <aclass="el"href="initialization__state__dcheck_8h.html#a079bd353351188e4819d9008b732bdce"title="Checks that a crashpad::InitializationStateDcheck object is in the initializing (crashpad::Initializa...">INITIALIZATION_STATE_SET_VALID()</a>, and <aclass="el"href="initialization__state__dcheck_8h.html#ad0cdf9da2bf4bb9c2318e100136782ee"title="Checks that a crashpad::InitializationStateDcheck object is in the crashpad::InitializationState::kSt...">INITIALIZATION_STATE_DCHECK_VALID()</a> macros instead. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>