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 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 22 span.virtual_style 23 { 24 font-size : 8pt; 25 color : white; 26 font-weight : bold; 27 background : #0a0; 28 border-left : solid 1px #0f0; 29 border-top : solid 1px #0f0; 30 border-right : solid 1px #060; 31 border-bottom : solid 1px #060; 32 padding-left : 2px; 33 padding-right : 2px; 34 } 35 36 span.protected_style 37 { 38 font-size : 8pt; 39 color : white; 40 font-weight : bold; 41 background : #444; 42 border-left : solid 1px #ccc; 43 border-top : solid 1px #ccc; 44 border-right : solid 1px #222; 45 border-bottom : solid 1px #222; 46 padding-left : 2px; 47 padding-right : 2px; 48 } 49 --></style> 50<title>nn::boss::TaskPolicyConfig</title> 51 </head> 52 <body> 53<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/boss/Overview.html">boss</a>::TaskPolicyConfig</CODE> Structure</h1> 54<h2>Syntax</h2> 55 <div class="section"> 56<pre class="definition">struct TaskPolicyConfig 57{ 58 <a href="../../../nn_types/u8.html">u8</a> priority; 59 <a href="../../../nn/boss/SchedulingPolicy.html">SchedulingPolicy</a> schedulingPolicy; 60 <a href="../../../nn/boss/TaskPermission.html">TaskPermission</a> taskPermission; 61 <a href="../../../nn_types/u32.html">u32</a> targetDuration; 62 <a href="../../../nn_types/u32.html">u32</a> execInterval; 63 <a href="../../../nn_types/u32.html">u32</a> execCount; 64}; 65</pre> 66 </div> 67<h2>Description</h2> 68 <div class="section"> 69<p>Definition of an internal structure that maintains attribute information for the <CODE>TaskPolicy</CODE> class.</p> 70 </div> 71 <a name="variable" id="variable"> 72<h2>Member Variables</h2> 73 <div class="section"> 74 <table class="members"> 75 <tr> 76 <td width="100"> </td> 77 <th> 78<span class="argument">priority</span> 79 </th> 80<td width="100"><a href="../../../nn_types/u8.html">u8</a></td> 81<td>Task priority as set on task registration.</td> 82 </tr> 83 <tr> 84 <td width="100"> </td> 85 <th> 86<span class="argument">schedulingPolicy</span> 87 </th> 88<td width="100"><a href="../../../nn/boss/SchedulingPolicy.html"><CODE>SchedulingPolicy</CODE></a></td> 89<td>Scheduling policy of the task.</td> 90 </tr> 91 <tr> 92 <td width="100"> </td> 93 <th> 94<span class="argument">taskPermission</span> 95 </th> 96<td width="100"><a href="../../../nn/boss/TaskPermission.html"><CODE>TaskPermission</CODE></a></td> 97<td>Task execution restrictions as set by Parental Controls and EULA permissions.</td> 98 </tr> 99 <tr> 100 <td width="100"> </td> 101 <th> 102<span class="argument">targetDuration</span> 103 </th> 104<td width="100"><a href="../../../nn_types/u32.html">u32</a></td> 105<td>Targeted task execution time. (This is provided for future extensibility and cannot be used.)</td> 106 </tr> 107 <tr> 108 <td width="100"> </td> 109 <th> 110<span class="argument">execInterval</span> 111 </th> 112<td width="100"><a href="../../../nn_types/u32.html">u32</a></td> 113<td>Task execution interval. Units are seconds.</td> 114 </tr> 115 <tr> 116 <td width="100"> </td> 117 <th> 118<span class="argument">execCount</span> 119 </th> 120<td width="100"><a href="../../../nn_types/u32.html">u32</a></td> 121<td>Task execution count.</td> 122 </tr> </table> 123 </div> 124 </a> 125 <hr><p>CONFIDENTIAL</p></body> 126</html>