../../uvmc/examples/field_types/sc_main.cpp">Consumer</a></h2><div class=CBody><p>Defines a simple consumer of <a href="#Packet" class=LClass id=link32 onMouseOver="ShowTip(event, 'tt1', 'link32')" onMouseOut="HideTip('tt1')">Packets</a>.&nbsp; Each packet it gets is printed and sent out its <i>analysis_out</i> port.</p><blockquote><pre>using namespace sc_core;
using namespace tlm;

class Consumer : public sc_module,
                 public tlm_blocking_put_if&lt;Packet&gt; {

  public:
  sc_export&lt;tlm_b