This class samples and mixes a signal and outputs it to a file for processing with extern software receivers, e.g. in Matlab. More...
#include <snSignalOutputBinary.h>
Public Types | |
| enum | output_type { SIGNED_CHAR, DOUBLE } |
Public Member Functions | |
| snSignalOutputBinary (libconfig::Setting &Settings, SNSignal pSNSignal, snWidget *psnw, ConcBuf *pConcBuf1) | |
| ~snSignalOutputBinary () | |
| void | run () |
Public Member Functions inherited from snBlock | |
| snBlock (SNSignal pSNSignal) | |
| snBlock constructor More... | |
| Blocks_Type | getBlks () |
| returns current block number which is being processed More... | |
| Blocks_Type | getOutputBlks () |
| returns processed block number of a signal sink More... | |
| Blocks_Type | getTotalBlks () |
| returns total amount of blocks to be processed More... | |
| double | get_time_per_block () |
| double | get_blks_simulation_time () |
| returns current simulation time dependent on current block number More... | |
| bool | isActive () |
| returns snBlock status. will return true after requestStop() was called. More... | |
| void | requestStop () |
| requests to stop processing and return the snBlock main program in run() More... | |
Private Attributes | |
| output_type | ot |
| std::fstream * | oFile |
| snWidget * | snw |
| snCurveReal * | curve |
| ConcBuf * | ConcBuf1 |
| int | PlotBufSize |
| int | BufSize |
Additional Inherited Members | |
Signals inherited from snBlock | |
| void | snLogSignal (const QString &mess) |
| is connected in snMainWindow to the log text widget. More... | |
| void | snLogSignalDebug (const QString &mess, int d) |
| is connected in snMainWindow to the log text widget. More... | |
Protected Member Functions inherited from snBlock | |
| void | snLog (QString mess) |
| can be used by snBlocks to log data to log text widget. More... | |
| void | snLogErr (QString mess) |
| void | snLogDeb (QString mess, int DebugLevel) |
| can be used by snBlocks to log data to log text widget. More... | |
| void | increaseBlks () |
| has to be called by snBlocks after processing of the actual concbuf block More... | |
| void | increaseOutputBlks () |
| has to be called by the sink snBlocks after processing of the actual concbuf block More... | |
| void | printSummary (std::string caller) |
| This member function prints a summary of how much data was processed after the calling snBlock's exit. More... | |
Protected Attributes inherited from snBlock | |
| SNSignal | Sig |
| holds the simulation parameters which are common to all snBlocks More... | |
| unsigned int | plot_x_max |
| double | max_simulation_length |
| Blocks_Type | max_blocks |
This class samples and mixes a signal and outputs it to a file for processing with extern software receivers, e.g. in Matlab.
| snSignalOutputBinary::snSignalOutputBinary | ( | libconfig::Setting & | Settings, |
| SNSignal | pSNSignal, | ||
| snWidget * | psnw, | ||
| ConcBuf * | pConcBuf1 | ||
| ) |
| snSignalOutputBinary::~snSignalOutputBinary | ( | ) |
| void snSignalOutputBinary::run | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.5