29 |
<a name="l00010"></a>00010 <span class="preprocessor">#ifndef SMARTBLINDCOLLECTION_H_</span> |
<a name="l00010"></a>00010 <span class="preprocessor">#ifndef SMARTBLINDCOLLECTION_H_</span> |
30 |
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define SMARTBLINDCOLLECTION_H_</span> |
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define SMARTBLINDCOLLECTION_H_</span> |
31 |
<a name="l00012"></a>00012 <span class="preprocessor"></span> |
<a name="l00012"></a>00012 <span class="preprocessor"></span> |
32 |
<a name="l00013"></a>00013 <span class="preprocessor">#include "../BlindCutCollection/BlindCutCollection.h"</span> |
<a name="l00013"></a>00013 <span class="preprocessor">#include "../SmartCollection/SmartCollection.h"</span> |
33 |
<a name="l00014"></a>00014 <span class="preprocessor">#include "../../CollectionActions/CollectionAction/CollectionAction.h"</span> |
<a name="l00014"></a>00014 |
34 |
<a name="l00015"></a>00015 |
<a name="l00025"></a><a class="code" href="classSmartBlindCollection.html">00025</a> <span class="keyword">class </span><a class="code" href="classSmartBlindCollection.html" title="A blind collection class designed to use CollectionAction objects.">SmartBlindCollection</a>: <span class="keyword">public</span> <a class="code" href="classSmartCollection.html" title="A collection class designed to use CollectionAction objects.">SmartCollection</a> { |
35 |
<a name="l00028"></a><a class="code" href="classSmartBlindCollection.html">00028</a> <span class="keyword">class </span><a class="code" href="classSmartBlindCollection.html" title="A blind collection class designed to use CollectionAction objects.">SmartBlindCollection</a>: <span class="keyword">public</span> <a class="code" href="classBlindCutCollection.html" title="A cut collection which applies all the cuts.">BlindCutCollection</a> { |
<a name="l00026"></a>00026 |
36 |
<a name="l00029"></a>00029 |
<a name="l00027"></a>00027 <span class="keyword">public</span>: |
37 |
<a name="l00030"></a>00030 <span class="keyword">public</span>: |
<a name="l00028"></a>00028 |
38 |
<a name="l00031"></a>00031 |
<a name="l00033"></a><a class="code" href="classSmartBlindCollection.html#6db06d0395be553d8a47c35dd2e073d8">00033</a> <a class="code" href="classSmartBlindCollection.html#6db06d0395be553d8a47c35dd2e073d8" title="Constructor.">SmartBlindCollection</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* collectionName) : |
39 |
<a name="l00036"></a><a class="code" href="classSmartBlindCollection.html#6db06d0395be553d8a47c35dd2e073d8">00036</a> <a class="code" href="classSmartBlindCollection.html#6db06d0395be553d8a47c35dd2e073d8" title="Constructor.">SmartBlindCollection</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* collectionName) : |
<a name="l00034"></a>00034 <a class="code" href="classSmartCollection.html" title="A collection class designed to use CollectionAction objects.">SmartCollection</a>(collectionName){ |
40 |
<a name="l00037"></a>00037 <a class="code" href="classBlindCutCollection.html" title="A cut collection which applies all the cuts.">BlindCutCollection</a>(collectionName), <a class="code" href="classSmartBlindCollection.html#9b4458101732d32cb9262bffcb075007">_actions</a>(0) { |
<a name="l00035"></a>00035 } |
41 |
<a name="l00038"></a>00038 } |
<a name="l00036"></a>00036 |
42 |
<a name="l00039"></a>00039 |
<a name="l00038"></a><a class="code" href="classSmartBlindCollection.html#d7ec9e9dbbf154715793be1fd67da38f">00038</a> <a class="code" href="classSmartBlindCollection.html#d7ec9e9dbbf154715793be1fd67da38f" title="Destructor.">~SmartBlindCollection</a>() { |
43 |
<a name="l00041"></a><a class="code" href="classSmartBlindCollection.html#d7ec9e9dbbf154715793be1fd67da38f">00041</a> <a class="code" href="classSmartBlindCollection.html#d7ec9e9dbbf154715793be1fd67da38f" title="Destructor.">~SmartBlindCollection</a>(){ |
<a name="l00039"></a>00039 } |
44 |
<a name="l00042"></a>00042 } |
<a name="l00040"></a>00040 |
45 |
<a name="l00043"></a>00043 |
<a name="l00048"></a>00048 <span class="keywordtype">int</span> <a class="code" href="classSmartBlindCollection.html#1eb231a8a437018bfd966644c7b18ba4">ApplyCut</a>(PamLevel2 *event); |
46 |
<a name="l00045"></a>00045 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classSmartBlindCollection.html#7b542909955a91fd5c5389ac45da4b95" title="Adds an action to the SmartCollection.">AddAction</a>(<a class="code" href="classCollectionAction.html" title="An abstract class that defines the interface of a generic collection action.">CollectionAction</a>& action); |
<a name="l00049"></a>00049 }; |
47 |
<a name="l00046"></a>00046 |
<a name="l00050"></a>00050 |
48 |
<a name="l00053"></a>00053 <a class="code" href="classCollectionAction.html" title="An abstract class that defines the interface of a generic collection action.">CollectionAction</a> *<a class="code" href="classSmartBlindCollection.html#c0b0207c004fc4c04833a55e01535b8b" title="Returns the iAction-th action.">GetAction</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> iAction); |
<a name="l00051"></a>00051 <span class="preprocessor">#endif </span><span class="comment">/* SMARTBLINDCOLLECTION_H_ */</span> |
|
<a name="l00054"></a>00054 |
|
|
<a name="l00063"></a>00063 <span class="keywordtype">void</span> <a class="code" href="classSmartBlindCollection.html#e59d373921df00a54a8a8401a1ae2baf" title="The pre-analysis task definition.">Setup</a>(PamLevel2 *events); |
|
|
<a name="l00064"></a>00064 |
|
|
<a name="l00070"></a>00070 <span class="keywordtype">void</span> <a class="code" href="classSmartBlindCollection.html#a78ee7b18b0913554e64b4e560453167" title="The post-analysis task definition.">Finalize</a>(); |
|
|
<a name="l00071"></a>00071 |
|
|
<a name="l00079"></a>00079 <span class="keywordtype">void</span> <a class="code" href="classSmartBlindCollection.html#d56853747b6484dec74fef529388ea28" title="Post-selection tasks.">OnGood</a>(PamLevel2 *event); |
|
|
<a name="l00080"></a>00080 |
|
|
<a name="l00091"></a>00091 <span class="keywordtype">void</span> <a class="code" href="classSmartBlindCollection.html#f91282918f2ac3966b8ca491ef0ef634" title="Post-selection tasks.">OnBad</a>(PamLevel2 *event, <span class="keywordtype">int</span> selectionResult); |
|
|
<a name="l00092"></a>00092 |
|
|
<a name="l00093"></a>00093 <span class="keyword">private</span>: |
|
|
<a name="l00094"></a>00094 |
|
|
<a name="l00095"></a><a class="code" href="classSmartBlindCollection.html#9b4458101732d32cb9262bffcb075007">00095</a> std::vector<CollectionAction*> <a class="code" href="classSmartBlindCollection.html#9b4458101732d32cb9262bffcb075007">_actions</a>; |
|
|
<a name="l00096"></a>00096 |
|
|
<a name="l00097"></a>00097 }; |
|
|
<a name="l00098"></a>00098 |
|
|
<a name="l00099"></a>00099 <span class="preprocessor">#endif </span><span class="comment">/* SMARTBLINDCOLLECTION_H_ */</span> |
|
49 |
</pre></div></div> |
</pre></div></div> |
50 |
<hr size="1"><address style="text-align: right;"><small>Generated on Wed May 27 15:21:27 2009 for PamCut by |
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 15:08:58 2009 for PamCut by |
51 |
<a href="http://www.doxygen.org/index.html"> |
<a href="http://www.doxygen.org/index.html"> |
52 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
53 |
</body> |
</body> |