SignalPath.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2009 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 #ifndef __dsp_SignalPath_h_
10 #define __dsp_SignalPath_h_
11 
12 #include "dsp/dspExtension.h"
13 
14 namespace dsp {
15 
16  class Operation;
17 
19  class SignalPath : public dspExtension {
20 
21  public:
22 
23  typedef std::vector< Reference::To<Operation, false> > List;
24 
26  SignalPath (const List& list);
27 
29  SignalPath (const std::vector< Reference::To<Operation> >&);
30 
32  dspExtension* clone () const;
33 
35  void combine (const SignalPath*);
36 
38  void reset ();
39 
41  void set_list (const List&);
42 
44  const List* get_list () const;
45 
47  void add (Operation*);
48 
49  protected:
50 
52  List list;
53 
54  };
55 
56 }
57 
58 #endif
void combine(const SignalPath *)
Combine information from another signal path.
Definition: SignalPath.C:47
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
Stores information about the signal path.
Definition: SignalPath.h:24
virtual void combine(const Operation *)
Combine accumulated results with another operation.
Definition: Operation.C:149
Extensions that can be added to the Extensions class.
Definition: dspExtension.h:23
std::string get_name() const
Return the unique name of this operation.
Definition: Operation.h:95
Defines the interface by which operations are performed on data.
Definition: Operation.h:37
SignalPath(const List &list)
Default constructor.
Definition: SignalPath.C:13
List list
The operations in the signal path.
Definition: SignalPath.h:57
void add(Operation *)
Add a component to the list of operations.
Definition: SignalPath.C:42
void reset()
Reset all of the components in the signal path.
Definition: SignalPath.C:73
static bool verbose
Global verbosity flag.
Definition: Operation.h:48
const List * get_list() const
Get the list of operations.
Definition: SignalPath.C:32
dspExtension * clone() const
Clone operator.
Definition: SignalPath.C:37
void set_list(const List &)
Set the list of operations.
Definition: SignalPath.C:27

Generated using doxygen 1.8.17