|
TOBI Interface A
0.1
|
| void tia::DataPacket3Impl::insertDataBlock | ( | std::vector< double > | v, |
| boost::uint32_t | signal_flag, | ||
| boost::uint16_t | blocks, | ||
| bool | prepend = false |
||
| ) | [virtual] |
Insert data (only one signal type) from a hardware device into the DataPacket (will be automatically placed correct).
| [in] | v | Vector containing homogenous samples (only one signal type). |
| [in] | signal_flag | The flag specifiying the inserted signal. |
| [in] | blocks | The number of blocks, the vector contains. |
| [in] | prepend | Prepend the data, otherwise append (default), if Signaltype already inserted. |
| std::logic_error | if flags in the DataPacket on not OK, if flag already defined or if more than on flag passed |
This mehtod inserts a homogenous sample vector (consiting of only ONE single signal type) into the DataPacket. The vector is automatically correctly placed in the Packet, respective to its signal type.
Implements tia::DataPacket.
Definition at line 225 of file data_packet_3_impl.cpp.
Here is the call graph for this function: