| 718 | } |
| 719 | |
| 720 | void sDmLevelConfig::updateFrom(const sDmLevelConfig &orig) |
| 721 | { |
| 722 | T = orig.T; |
| 723 | frameSizeSec = orig.frameSizeSec; |
| 724 | lastFrameSizeSec = orig.lastFrameSizeSec; |
| 725 | nT = orig.nT; |
| 726 | lenSec = orig.lenSec; |
| 727 | basePeriod = orig.basePeriod; |
| 728 | blocksizeWriter = orig.blocksizeWriter; |
| 729 | blocksizeReader = orig.blocksizeReader; |
| 730 | minBlocksizeReader = orig.minBlocksizeReader; |
| 731 | isRb = orig.isRb; |
| 732 | noHang = orig.noHang; |
| 733 | growDyn = orig.growDyn; |
| 734 | finalised = orig.finalised; |
| 735 | blocksizeIsSet = orig.blocksizeIsSet; |
| 736 | namesAreSet = orig.namesAreSet; |
| 737 | N = orig.N; |
| 738 | Nf = orig.Nf; |
| 739 | fmeta = orig.fmeta; |
| 740 | if (name != NULL) { |
| 741 | free(name); |
| 742 | name = NULL; |
| 743 | } |
| 744 | if (orig.name != NULL) name = strdup(orig.name); |
| 745 | noTimeMeta = orig.noTimeMeta; |
| 746 | } |
| 747 | |
| 748 | void sDmLevelConfig::setName(const char *_name) { |
| 749 | if (_name != NULL) { |
no outgoing calls
no test coverage detected