1 |
pam-fi |
1.1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
2 |
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
3 |
|
|
<title>PamCut: Collections/SmartBlindCollection/SmartBlindCollection.h Source File</title> |
4 |
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"> |
5 |
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css"> |
6 |
|
|
</head><body> |
7 |
|
|
<!-- Generated by Doxygen 1.5.9 --> |
8 |
|
|
<div class="navigation" id="top"> |
9 |
|
|
<div class="tabs"> |
10 |
|
|
<ul> |
11 |
|
|
<li><a href="index.html"><span>Main Page</span></a></li> |
12 |
|
|
<li><a href="annotated.html"><span>Classes</span></a></li> |
13 |
|
|
<li class="current"><a href="files.html"><span>Files</span></a></li> |
14 |
|
|
</ul> |
15 |
|
|
</div> |
16 |
|
|
<div class="tabs"> |
17 |
|
|
<ul> |
18 |
|
|
<li><a href="files.html"><span>File List</span></a></li> |
19 |
|
|
<li><a href="globals.html"><span>File Members</span></a></li> |
20 |
|
|
</ul> |
21 |
|
|
</div> |
22 |
|
|
<h1>Collections/SmartBlindCollection/SmartBlindCollection.h</h1><a href="SmartBlindCollection_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> |
23 |
|
|
<a name="l00002"></a>00002 <span class="comment"> * SmartBlindCollection.h</span> |
24 |
|
|
<a name="l00003"></a>00003 <span class="comment"> *</span> |
25 |
|
|
<a name="l00004"></a>00004 <span class="comment"> * Created on: 16-mag-2009</span> |
26 |
|
|
<a name="l00005"></a>00005 <span class="comment"> * Author: Nicola Mori</span> |
27 |
|
|
<a name="l00006"></a>00006 <span class="comment"> */</span> |
28 |
|
|
<a name="l00007"></a>00007 |
29 |
|
|
<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> |
31 |
|
|
<a name="l00012"></a>00012 <span class="preprocessor"></span> |
32 |
|
|
<a name="l00013"></a>00013 <span class="preprocessor">#include "../BlindCutCollection/BlindCutCollection.h"</span> |
33 |
|
|
<a name="l00014"></a>00014 <span class="preprocessor">#include "../../CollectionActions/CollectionAction/CollectionAction.h"</span> |
34 |
|
|
<a name="l00015"></a>00015 |
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> { |
36 |
|
|
<a name="l00029"></a>00029 |
37 |
|
|
<a name="l00030"></a>00030 <span class="keyword">public</span>: |
38 |
|
|
<a name="l00031"></a>00031 |
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) : |
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) { |
41 |
|
|
<a name="l00038"></a>00038 } |
42 |
|
|
<a name="l00039"></a>00039 |
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>(){ |
44 |
|
|
<a name="l00042"></a>00042 } |
45 |
|
|
<a name="l00043"></a>00043 |
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); |
47 |
|
|
<a name="l00046"></a>00046 |
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); |
49 |
|
|
<a name="l00054"></a>00054 |
50 |
|
|
<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); |
51 |
|
|
<a name="l00064"></a>00064 |
52 |
|
|
<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>(); |
53 |
|
|
<a name="l00071"></a>00071 |
54 |
|
|
<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); |
55 |
|
|
<a name="l00080"></a>00080 |
56 |
|
|
<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); |
57 |
|
|
<a name="l00092"></a>00092 |
58 |
|
|
<a name="l00093"></a>00093 <span class="keyword">private</span>: |
59 |
|
|
<a name="l00094"></a>00094 |
60 |
|
|
<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>; |
61 |
|
|
<a name="l00096"></a>00096 |
62 |
|
|
<a name="l00097"></a>00097 }; |
63 |
|
|
<a name="l00098"></a>00098 |
64 |
|
|
<a name="l00099"></a>00099 <span class="preprocessor">#endif </span><span class="comment">/* SMARTBLINDCOLLECTION_H_ */</span> |
65 |
|
|
</pre></div></div> |
66 |
|
|
<hr size="1"><address style="text-align: right;"><small>Generated on Wed May 27 15:21:27 2009 for PamCut by |
67 |
|
|
<a href="http://www.doxygen.org/index.html"> |
68 |
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
69 |
|
|
</body> |
70 |
|
|
</html> |