0b608e857789185d9d61918f7845565dbe205a4d
[apps/agl-service-unicens.git] / ucs2-lib / doc / html / struct_ucs___rm___init_data__t_a68590d8712353f94f2e9ccec1e21baa5.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
6 <title>UNICENS: Ucs_Rm_InitData_t::debug_resource_status_fptr</title>
7 <link href="tabs.css" rel="stylesheet" type="text/css"/>
8 <link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
9 <script type="text/javascript" src="jquery.js"></script>
10 <script type="text/javascript" src="dynsections.js"></script>
11 <link href="navtree.css" rel="stylesheet" type="text/css"/>
12 <script type="text/javascript" src="resize.js"></script>
13 <script type="text/javascript" src="navtree.js"></script>
14 <script type="text/javascript">
15   $(document).ready(initResizable);
16 </script>
17 <link href="search/search.css" rel="stylesheet" type="text/css"/>
18 <script type="text/javascript" src="search/search.js"></script>
19 <script type="text/javascript">
20   $(document).ready(function() { searchBox.OnSelectItem(0); });
21 </script>
22 <link href="style_html.css" rel="stylesheet" type="text/css" />
23 <link href="inic.css" rel="stylesheet" type="text/css"/>
24 </head>
25 <body>
26 <div class="GlobalWrapper">
27 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
28 <div id="titlearea">
29 <table cellspacing="0" cellpadding="0">
30  <tbody>
31  <tr>
32   <td><a href="index.html"><img alt="Logo" src="logo.png"/></a></td>
33   <td>
34    <div id="projectname">UNICENS&#160;<span id="projectnumber">V2.1.0-3491</span></div>
35    <div id="projectbrief">User Manual and API Reference</div>
36     <div id="searchbox">        <div id="MSearchBox" class="MSearchBoxInactive">
37         <span class="left">
38           <img id="MSearchSelect" src="search/mag_sel.png"
39                onmouseover="return searchBox.OnSearchSelectShow()"
40                onmouseout="return searchBox.OnSearchSelectHide()"
41                alt=""/>
42           <input type="text" id="MSearchField" value="Search" accesskey="S"
43                onfocus="searchBox.OnSearchFieldFocus(true)" 
44                onblur="searchBox.OnSearchFieldFocus(false)" 
45                onkeyup="searchBox.OnSearchFieldChange(event)"/>
46           </span><span class="right">
47             <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
48           </span>
49         </div>
50 </div>
51   </td>
52  </tr>
53  </tbody>
54 </table>
55 </div>
56 <!-- end header part -->
57 <!-- Generated by Doxygen 1.8.2 -->
58 <script type="text/javascript">
59 var searchBox = new SearchBox("searchBox", "search",false,'Search');
60 </script>
61 </div><!-- top -->
62 <div id="side-nav" class="ui-resizable side-nav-resizable">
63   <div id="nav-tree">
64     <div id="nav-tree-contents">
65       <div id="nav-sync" class="sync"></div>
66     </div>
67   </div>
68   <div id="splitbar" style="-moz-user-select:none;" 
69        class="ui-resizable-handle">
70   </div>
71 </div>
72 <script type="text/javascript">
73 $(document).ready(function(){initNavTree('struct_ucs___rm___init_data__t.html','');});
74 </script>
75 <div id="doc-content">
76 <!-- window showing the filter options -->
77 <div id="MSearchSelectWindow"
78      onmouseover="return searchBox.OnSearchSelectShow()"
79      onmouseout="return searchBox.OnSearchSelectHide()"
80      onkeydown="return searchBox.OnSearchSelectKey(event)">
81 <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Pages</a></div>
82
83 <!-- iframe showing the search results (closed by default) -->
84 <div id="MSearchResultsWindow">
85 <iframe src="javascript:void(0)" frameborder="0" 
86         name="MSearchResults" id="MSearchResults">
87 </iframe>
88 </div>
89
90 <div class="contents">
91 <a class="anchor" id="a68590d8712353f94f2e9ccec1e21baa5"></a>
92 <div class="memitem">
93 <div class="memproto">
94       <table class="memname">
95         <tr>
96           <td class="memname"><a class="el" href="group___g___u_c_s___r_o_u_t_i_n_g_gaefde5a8fbaeb6e5937e94b9e74ae70cb.html#gaefde5a8fbaeb6e5937e94b9e74ae70cb">Ucs_Rm_XrmResDebugCb_t</a> debug_resource_status_fptr</td>
97         </tr>
98       </table>
99 </div><div class="memdoc">
100
101 <p>Callback function that acts as a debug interface for XRM resources. The user application has the possibility to monitor the specified XRM resources. </p>
102 <p><br/>
103  <b>Example</b> </p>
104 <div class="fragment"><div class="line"><a class="code" href="struct_ucs___init_data__t.html" title="UNICENS initialization structure used by function Ucs_Init().">Ucs_InitData_t</a> ucs_init_data;</div>
105 <div class="line">(void)<a class="code" href="group___g___u_c_s___i_n_i_t___a_n_d___s_r_v_ga64b50780725a0dc8693b5b73f8345ad6.html#ga64b50780725a0dc8693b5b73f8345ad6" title="Assigns default values to a provided UNICENS init structure.">Ucs_SetDefaultConfig</a>(&amp;ucs_init_data);</div>
106 <div class="line"></div>
107 <div class="line"><span class="comment">// Routing Management init section.</span></div>
108 <div class="line">ucs_init_data.<a class="code" href="struct_ucs___init_data__t_a8619aaf795810b7508046fbfef6d6907.html#a8619aaf795810b7508046fbfef6d6907" title="The initialization data of the Routing Management.">rm</a>.<a class="code" href="struct_ucs___rm___init_data__t_a68590d8712353f94f2e9ccec1e21baa5.html#a68590d8712353f94f2e9ccec1e21baa5" title="Callback function that acts as a debug interface for XRM resources. The user application has the poss...">debug_resource_status_fptr</a> = &amp;App_OnDebuggingXrmResources;</div>
109 <div class="line"></div>
110 <div class="line"><span class="comment">// Debug interface for the XRM resources</span></div>
111 <div class="line"><span class="keywordtype">void</span> App_OnDebuggingXrmResources (<a class="code" href="group___g___u_c_s___x_r_m___t_y_p_e_s_gac238d98be8f9df6340eb4ee72de36ccc.html#gac238d98be8f9df6340eb4ee72de36ccc" title="INIC resource types used by the Extended Resource Manager.">Ucs_Xrm_ResourceType_t</a> resource_type, <a class="code" href="group___g___u_c_s___x_r_m___t_y_p_e_s_ga74e06fedcde6bc971088b2cb21405173.html#ga74e06fedcde6bc971088b2cb21405173" title="INIC Resource Object used for Extended Resource Manager jobs.">Ucs_Xrm_ResObject_t</a> *resource_ptr, <a class="code" href="group___g___u_c_s___x_r_m___t_y_p_e_s_ga5299ac232aaeba37eb6fceb53e32b2ea.html#ga5299ac232aaeba37eb6fceb53e32b2ea" title="This enumerator specifies the type of resources information.">Ucs_Xrm_ResourceInfos_t</a> resource_infos, <a class="code" href="struct_ucs___rm___end_point__t.html" title="Configuration structure of a Connection EndPoint.">Ucs_Rm_EndPoint_t</a> * endpoint_inst_ptr, <span class="keywordtype">void</span> *user_ptr)</div>
112 <div class="line">{</div>
113 <div class="line">   <span class="keywordflow">switch</span> (resource_infos)</div>
114 <div class="line">   {</div>
115 <div class="line">       <span class="keywordflow">case</span> <a class="code" href="group___g___u_c_s___x_r_m___t_y_p_e_s_ga5299ac232aaeba37eb6fceb53e32b2ea.html#gga5299ac232aaeba37eb6fceb53e32b2eaaf17abdbe8fab65a069b6a8af1079066a" title="Signals that the resource is built.">UCS_XRM_INFOS_BUILT</a>:</div>
116 <div class="line">           <span class="comment">// Resource has been built</span></div>
117 <div class="line">           <span class="keywordflow">break</span>;</div>
118 <div class="line">       <span class="keywordflow">case</span> <a class="code" href="group___g___u_c_s___x_r_m___t_y_p_e_s_ga5299ac232aaeba37eb6fceb53e32b2ea.html#gga5299ac232aaeba37eb6fceb53e32b2eaa6e7faa32a0cb82c3fdf4450d80188262" title="Signals that the resource is destroyed.">UCS_XRM_INFOS_DESTROYED</a>:</div>
119 <div class="line">           <span class="comment">// resource has been destroyed</span></div>
120 <div class="line">           <span class="keywordflow">break</span>;</div>
121 <div class="line">       <span class="keywordflow">case</span> <a class="code" href="group___g___u_c_s___x_r_m___t_y_p_e_s_ga5299ac232aaeba37eb6fceb53e32b2ea.html#gga5299ac232aaeba37eb6fceb53e32b2eaac57d4f29bbfd2f62eefddc4e31a7ad81" title="Signals that XRM fails to build the resource.">UCS_XRM_INFOS_ERR_BUILT</a>:</div>
122 <div class="line">           <span class="comment">//Resource cannot be built</span></div>
123 <div class="line">           <span class="keywordflow">break</span>;</div>
124 <div class="line">       <span class="keywordflow">default</span>:</div>
125 <div class="line">           <span class="comment">// Resource cannot be destroyed</span></div>
126 <div class="line">           <span class="keywordflow">break</span>;</div>
127 <div class="line">   }</div>
128 <div class="line">}</div>
129 </div><!-- fragment --> 
130 </div>
131 </div>
132 </div><!-- contents -->
133 </div><!-- doc-content -->
134 <!-- start footer part -->
135 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
136   <ul>
137     <li class="navelem"><a class="el" href="struct_ucs___rm___init_data__t.html">Ucs_Rm_InitData_t</a></li>
138     <li class="footer">&copy; 2017 Microchip Technology Inc. All rights reserved. <a href="http://www.microchip.com" target="_blank">www.microchip.com</a></li>
139   </ul>
140 </div>
141 </body>
142 <!--
143 Generated on Mon Apr 3 2017 13:53:01 for UNICENS by
144 Doxygen 1.8.2
145 -->
146 <script language="javascript">
147 <!--
148 $('#MSearchResults').wrap('<div style="position: absolute; margin-left: 444px;"></div>');
149 -->
150 </script>
151 </html>