<trclass="memitem:ab05ec12517c51952960dd4f324499b44"><tdclass="memItemLeft"align="right"valign="top"> </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classKatabatic_1_1Observer.html#ab05ec12517c51952960dd4f324499b44">Observer</a> (const T *owner)</td></tr>
<trclass="inherit_header pub_methods_classKatabatic_1_1BaseObserver"><tdcolspan="2"onclick="javascript:toggleInherit('pub_methods_classKatabatic_1_1BaseObserver')"><imgsrc="closed.png"alt="-"/> Public Member Functions inherited from <aclass="el"href="classKatabatic_1_1BaseObserver.html">BaseObserver</a></td></tr>
<trclass="memitem:a52e577fb0c4f2e3650928334fb621c2f inherit pub_methods_classKatabatic_1_1BaseObserver"><tdclass="memItemLeft"align="right"valign="top">virtual void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classKatabatic_1_1BaseObserver.html#a52e577fb0c4f2e3650928334fb621c2f">notify</a> (unsigned int flags)</td></tr>
<p><b>First, a warning about names:</b> although this class is named <aclass="el"href="classKatabatic_1_1Observer.html"title="Observer Design Pattern, Observer part. ">Observer</a>, it is intended to be an attribute nested inside the whole object which is indeed, the true <aclass="el"href="classKatabatic_1_1Observer.html"title="Observer Design Pattern, Observer part. ">Observer</a>. This nesting object is called, most of the time the <b>owner</b> in the following. But sometimes, for simplification it may also be called the <aclass="el"href="classKatabatic_1_1Observer.html"title="Observer Design Pattern, Observer part. ">Observer</a>.</p>
<h1><aclass="anchor"id="secImplObserver"></a>
Observer Implementation Notes</h1>
<p>To retrieve the <em>owner</em> from the <aclass="el"href="classKatabatic_1_1Observer.html"title="Observer Design Pattern, Observer part. ">Observer</a> attribute, we uses the offset from the attribute in the <em>owner</em>. This offset is computed once and for all the first time the template constructor is called. </p>
</div><h2class="groupheader">Constructor & Destructor Documentation</h2>
<p>The owner of the oberver is needed to compute, on the first creation only, the offset of the <aclass="el"href="classKatabatic_1_1Observer.html"title="Observer Design Pattern, Observer part. ">Observer</a> attribute inside the <code>owner</code> complete object. </p>
</div>
</div>
<h2class="groupheader">Member Function Documentation</h2>