Click here to Skip to main content
15,886,757 members
Articles / Programming Languages / C++

A Generic Pipeline Framework for C++

Rate me:
Please Sign up or sign in to vote.
4.70/5 (11 votes)
23 Sep 2006CPOL11 min read 73.3K   1.6K   38  
Presentation of a generic, extendable C++ pipeline framework
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Generic C++ Pipeline Framework: C:/My_Workspace/PipeLine/PipeSegmentBaseAdapter.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.6-NO -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li><a href="annotated.html"><span>Classes</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul></div>
<h1>C:/My_Workspace/PipeLine/PipeSegmentBaseAdapter.h</h1><a href="_pipe_segment_base_adapter_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00032"></a>00032 <span class="preprocessor">#ifndef PIPESEGMENTBASEADAPTER_H</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#define PIPESEGMENTBASEADAPTER_H</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span>
<a name="l00035"></a>00035 <span class="preprocessor">#include "<a class="code" href="_i_pipe_segment_base_8h.html">IPipeSegmentBase.h</a>"</span>
<a name="l00036"></a>00036 
<a name="l00037"></a>00037 <span class="keyword">namespace </span>PipeLineProcessing
<a name="l00038"></a>00038 {
<a name="l00039"></a>00039 
<a name="l00040"></a><a class="code" href="class_pipe_line_processing_1_1_pipe_segment_base_adapter.html">00040</a> <span class="keyword">class </span><a class="code" href="class_pipe_line_processing_1_1_pipe_segment_base_adapter.html">PipeSegmentBaseAdapter</a> : <span class="keyword">public</span> PipeLineProcessing::<a class="code" href="class_pipe_line_processing_1_1_i_pipe_segment_base.html">IPipeSegmentBase</a>
<a name="l00041"></a>00041 {
<a name="l00042"></a>00042 <span class="keyword">protected</span>:
<a name="l00043"></a><a class="code" href="class_pipe_line_processing_1_1_pipe_segment_base_adapter.html#9b580c7443324aa4b6bc7d22ecc53e2d">00043</a>         <a class="code" href="class_pipe_line_processing_1_1_pipe_segment_base_adapter.html#9b580c7443324aa4b6bc7d22ecc53e2d">PipeSegmentBaseAdapter</a>() {};
<a name="l00044"></a>00044 
<a name="l00045"></a><a class="code" href="class_pipe_line_processing_1_1_pipe_segment_base_adapter.html#4a4ab93c860c7c2fb0527da92bac8cde">00045</a>         <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_pipe_line_processing_1_1_pipe_segment_base_adapter.html#4a4ab93c860c7c2fb0527da92bac8cde">addOutputHandler</a>(<a class="code" href="class_pipe_line_processing_1_1_i_pipe_segment_base.html">IPipeSegmentBase</a> *output) { <span class="keywordflow">return</span> <span class="keyword">true</span>; };
<a name="l00046"></a><a class="code" href="class_pipe_line_processing_1_1_pipe_segment_base_adapter.html#11cfc1f4f797ea035f9b54d69fcb1af2">00046</a>         <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_pipe_line_processing_1_1_pipe_segment_base_adapter.html#11cfc1f4f797ea035f9b54d69fcb1af2">removeOutputHandler</a>(<a class="code" href="class_pipe_line_processing_1_1_i_pipe_segment_base.html">IPipeSegmentBase</a> *output) { <span class="keywordflow">return</span> <span class="keyword">true</span>; };
<a name="l00047"></a><a class="code" href="class_pipe_line_processing_1_1_pipe_segment_base_adapter.html#c247ab1141fd04b817dea8c6147fb9c8">00047</a>         <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_pipe_line_processing_1_1_pipe_segment_base_adapter.html#c247ab1141fd04b817dea8c6147fb9c8">removeAllOutputHandlers</a>() { <span class="keywordflow">return</span> <span class="keyword">true</span>; };
<a name="l00048"></a>00048 
<a name="l00049"></a>00049 <span class="keyword">public</span>:
<a name="l00050"></a>00050 
<a name="l00051"></a><a class="code" href="class_pipe_line_processing_1_1_pipe_segment_base_adapter.html#a7f96dbcabcd8e675f9d332018ee6cab">00051</a>         <span class="keyword">virtual</span> <a class="code" href="class_pipe_line_processing_1_1_pipe_segment_base_adapter.html#a7f96dbcabcd8e675f9d332018ee6cab">~PipeSegmentBaseAdapter</a>() {};
<a name="l00052"></a>00052 };
<a name="l00053"></a>00053 
<a name="l00054"></a>00054 }
<a name="l00055"></a>00055 
<a name="l00056"></a>00056 <span class="preprocessor">#endif </span><span class="comment">/*PIPESEGMENTBASEADAPTER_H*/</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu May 25 17:42:39 2006 for Generic C++ Pipeline Framework by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address>
</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions