<div dir="ltr">ndnSIM friends,<div><br></div><div>I am continuing a previous attempt at creating a Custom Strategy, for the primary purpose of recording information on Interests as they arrive at a router.</div><div><br></div><div>The three involved files, linked in my Google Drive are:</div><div><br></div><div>1. <b>The scenario file:</b>   (jpb-strategy1-test.cpp)</div><div>     <a href="https://drive.google.com/open?id=0By9ufeKqmJYYWXNpbEFYSEI2VWc">https://drive.google.com/open?id=0By9ufeKqmJYYWXNpbEFYSEI2VWc</a></div><div><br></div><div>2. <b>The PopularityStrategy.hpp file</b> with my custom strategy specification</div><div>     <a href="https://drive.google.com/open?id=0By9ufeKqmJYYQm5BQVRSQzNjSnc">https://drive.google.com/open?id=0By9ufeKqmJYYQm5BQVRSQzNjSnc</a></div><div><br></div><div>3.  <b>The PopularityStrategy.cpp file</b> with the implementation of the custom strategy class</div><div>      <a href="https://drive.google.com/open?id=0By9ufeKqmJYYcTFXc1ZUcnpfQTA">https://drive.google.com/open?id=0By9ufeKqmJYYcTFXc1ZUcnpfQTA</a></div><div><br></div><div><br></div><div>Notes:</div><div>- I have the scenario file in the <b>scenarios</b> directory (I'm using the template from GitHub)</div><div>- I have the PopularityStrategy.[hpp,cpp] files in the <b>extensions </b>directory</div><div>- I subclassed MulticastStrategy to create the PopularityStrategy</div><div>- I did call NFD_REGISTER_STRATEGY at the top of the PopularityStrategy.cpp file</div><div><br></div><div>Everything compiles just fine, but I get <b>no printout from the PopularityStrategy </b>class.  I have cout<< inside both the constructor and the afterReceiveInterest function.</div><div><br></div><div>It's as if it's not being used at all.  </div><div><br></div><div>I am very much at a loss, and would greatly appreciate assistance on this.  It's close.  I can feel it.  :)</div><div><br></div><div>Thanks,</div><div><br></div><div>John</div><div><br></div><div><br></div></div>