GNSS-SDR_manual.pdf (v0.0.9) 下载地址: https://download.youkuaiyun.com/download/wmyan/10632255
目录
1.6.5 Computation of Position, Velocity and Time
GNU Radio's class gr::basic_block is the abstract base class for all signal processing blocks, a bare abstraction of an entity that has a name and a set of inputs and outputs. It is never instantiated directly; rather, this is the abstract parent class of both gr::hier_block2 , which is a recursive container that adds or removes processing or hierarchical blocks to the internal graph, and gr::block , which is the abstract base class for all the processing blocks.
- gr :: basic_block: 是所有信号处理块的抽象基类,是具有名称和一组输入和输出的实体的抽象, 永远不会直接被实例化;
- gr :: hier_block2: gr :: basic_block是它的的抽象父类,它是一个递归容器,用于向内部图形添加或删除处理或分层块;
- gr :: block: 它是所有处理块的抽象基类。
A signal processing flow is constructed by creating a tree of hierarchical blocks, which at any level may also contain terminal nodes that actually implement signal processing functions.
Class gr::top_block is the top-level hierarchical block representing a flowgraph. It defines GNU Radio runtime functions used during the execution of the program: run(), start(), stop(), wait(), etc. A a subclass called GNSSBlockInterface is the common interface for all the GNSS-SDR modules. It defines pure virtual methods, that are required to be implemented by a derived class.
Subclassing GNSSBlockInterface, we defined interfaces for the GNSS receiver blocks depicted in the figure above. This hierarchy provides the definition of different algorithms and different implementations, which will be instantiated according to the configuration. This strategy allows multiple implementations sharing a common interface, achieving the objective of decoupling interfaces from implementations: it defines a family of algorithms, encapsulates each one, and makes them interchangeable. Hence, we let the algorithm vary independently from the program that uses it.
- 通过创建分层块树来构造信号处理流程,该分层块树在任何级别也可以包含实际实现信号处理功能的终端节点;
- gr :: top_block类是表示流程图的顶级层次结构块。它定义了在程序执行期间使用的GNU Radio运行时函数:run(),start(),stop(),wait()等;
- GNSSBlockInterface子类是