1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../css/manpage.css" type="text/css" /> 7 <title>CreateSlot</title> 8 </head> 9 <body> 10 <h1>nw::ut::CreateSlot Function</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14template <typename TSlot, typename TFunction> 15TSlot * CreateSlot( 16 <a href="../../nw/os/IAllocator/Overview.html">os::IAllocator</a> * allocator, 17 TFunction function 18); 19</pre> 20 </div> 21 <h2>Template Arguments</h2> 22 <div class="section"> 23 <table class="arguments"> 24 <thead> 25 <tr> 26 <th>Name</th> 27 <td>Description</td> 28 </tr> 29 </thead> 30 <tr> 31 <th>TSlot</th> 32 <td>Slot type.</td> 33 </tr> 34 <tr> 35 <th><CODE>TFunction</CODE></th> 36 <td>Type of function pointer or function object.</td> 37 </tr> </table> 38 </div> 39 <h2>Arguments</h2> 40 <div class="section"> 41 <table class="arguments"> 42 <thead> 43 <tr> 44 <td width="15" /> 45 <th>Name</th> 46 <td>Description</td> 47 </tr> 48 </thead> 49 <tr> 50 <td>in</td> 51 <th>allocator</th> 52 <td>Allocator.</td> 53 </tr> 54 <tr> 55 <td>in</td> 56 <th>function</th> 57 <td>Function or function object.</td> 58 </tr> </table> 59 </div> 60 <h2>Return Values</h2> 61 <div class="section">The created slot. </div> 62 <h2>Description</h2> 63 <div class="section"> 64 <p>Creates a slot.</p> 65 </div> 66 <hr><p>CONFIDENTIAL</p></body> 67</html>