diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-03-17 20:32:31 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-03-17 20:32:54 +0100 |
commit | d9b78bb885ff8ff0f8bf6dd8e28e657d0a277db8 (patch) | |
tree | a5bd40137217b1590c997892c78be28848318a2a /src | |
parent | 1e3675d126e6712e164f06e3701e56776c624cd0 (diff) | |
download | dabmux-d9b78bb885ff8ff0f8bf6dd8e28e657d0a277db8.tar.gz dabmux-d9b78bb885ff8ff0f8bf6dd8e28e657d0a277db8.tar.bz2 dabmux-d9b78bb885ff8ff0f8bf6dd8e28e657d0a277db8.zip |
Explain the usage of these iterators
Diffstat (limited to 'src')
-rw-r--r-- | src/DabMux.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp index bf5bf59..4c92d90 100644 --- a/src/DabMux.cpp +++ b/src/DabMux.cpp @@ -609,21 +609,23 @@ int main(int argc, char *argv[]) printOutputs(outputs); - - /* Each iteration of the main loop creates one ETI frame */ - - /* Used for FIG0/2 insertion */ + /* These iterators are used to fill the respective FIG. + * It is necessary to cycle through all the FIGs that have + * to be transmitted because they do not fit in a single + * FIB. + * + * ETSI EN 300 799 Clauses 5.2 and 8.1 + */ serviceProgFIG0_2 = ensemble->services.end(); serviceDataFIG0_2 = ensemble->services.end(); - componentProgFIG0_8 = ensemble->components.end(); componentDataFIG0_8 = ensemble->components.end(); serviceFIG0_17 = ensemble->services.end(); - - /* used for FIG0/1 insertion */ subchannelFIG0_1 = ensemble->subchannels.end(); + /* Each iteration of the main loop creates one ETI frame */ + for (currentFrame = 0; running; currentFrame++) { if ((limit > 0) && (currentFrame >= limit)) { break; |