CARMA C++
pipelineUtils.h
1 #ifndef CARMA_PIPELINE_PIPELINEUTILS_H
2 #define CARMA_PIPELINE_PIPELINEUTILS_H
3 
4 #include "carma/monitor/CorrDesignation.h"
5 
6 #include <string>
7 #include <utility>
8 
9 namespace carma {
10 namespace pipeline {
11 
12 //@ TODO Replace with carma::util::CorrelatorType? - MWP
13 enum PipelineType {WB, SL, C3G23, C3G8};
14 
18 std::string
19 pipelineTypeToString( enum PipelineType );
20 
24 enum PipelineType
25 stringToPipelineType( std::string str );
26 
32 std::string
33 getDefaultCatchDataIpqName( enum PipelineType pt );
34 
38 unsigned int
39 getDefaultCatchDataIpqElementBytes( enum PipelineType pt );
40 
45 typedef std::pair< unsigned int, unsigned int > AstrobandRange;
46 AstrobandRange
47 getAstrobandRange( enum PipelineType pt );
48 
53 unsigned int
54 getAstrobandCount( enum PipelineType pt );
55 
59 MonitorCorrelatorDesignation
60 getMonCorrDes( enum PipelineType pt );
61 
62 }} // namespace carma::pipeline
63 #endif