<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic One Session can include in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/When-should-we-release-the-instance/m-p/1098395#M67716</link>
    <description>&lt;P&gt;One Session can include multiple&amp;nbsp;SenseManager and SenseManger will include device, projection and multiple impl(MW). We recommend you create the SenseManager first and release SenseManager at the end. When you release SenseManager, it will help you release all the instances it belongs. If you did not use create Session instead of SneseManager, you need release all the instances by yourself. Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 07 Dec 2015 20:38:50 GMT</pubDate>
    <dc:creator>Xusheng_L_Intel</dc:creator>
    <dc:date>2015-12-07T20:38:50Z</dc:date>
    <item>
      <title>When should we release the instance ?</title>
      <link>https://community.intel.com/t5/Software-Archive/When-should-we-release-the-instance/m-p/1098394#M67715</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;There're several functions that we could call to get a instance, for example:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;CreateInstance()

CreateDevice()

CreateImpl&amp;lt;&amp;gt;()

CreateProjection()&lt;/PRE&gt;

&lt;P&gt;I would like to know when we should release the returned instance or not ?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;If I created a session instance and use session to create capture and sensemanager, what are the relationship between these instances ?&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;session = PXCSession::CreateInstance();

session-&amp;gt;CreateImpl&amp;lt;PXCCapture&amp;gt;(&amp;amp;capture);

device = capture-&amp;gt;CreateDevice(0);

pm = session-&amp;gt;CreateSenseManager()

// what are the relationships between session and other instances ? 
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Can you provide a simple streaming example without using SenseManager ?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2015 13:04:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/When-should-we-release-the-instance/m-p/1098394#M67715</guid>
      <dc:creator>Hui_L_3</dc:creator>
      <dc:date>2015-12-07T13:04:20Z</dc:date>
    </item>
    <item>
      <title>One Session can include</title>
      <link>https://community.intel.com/t5/Software-Archive/When-should-we-release-the-instance/m-p/1098395#M67716</link>
      <description>&lt;P&gt;One Session can include multiple&amp;nbsp;SenseManager and SenseManger will include device, projection and multiple impl(MW). We recommend you create the SenseManager first and release SenseManager at the end. When you release SenseManager, it will help you release all the instances it belongs. If you did not use create Session instead of SneseManager, you need release all the instances by yourself. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2015 20:38:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/When-should-we-release-the-instance/m-p/1098395#M67716</guid>
      <dc:creator>Xusheng_L_Intel</dc:creator>
      <dc:date>2015-12-07T20:38:50Z</dc:date>
    </item>
  </channel>
</rss>

