|
commonlib
|
Basic source and target buffer interface and data transferring operation. More...
Go to the source code of this file.
Classes | |
| class | ISourceBuffer< T > |
| Basic source buffer interface. More... | |
| class | ITargetBuffer< T > |
| Basic target buffer interface. More... | |
Functions | |
| template<typename T , typename Locking = UseLock> | |
| size_t | transferBuffer (ISourceBuffer< T > &source, ITargetBuffer< T > &target, bool incrementPosition=true, size_t samplesCount=(std::numeric_limits< size_t >::max)()) |
| Transferring data from one buffer to another. More... | |
| template<typename S , typename T > | |
| size_t | transferBuffer (ISourceBuffer< S > &source, ITargetBuffer< T > &target, bool incrementPosition=true, size_t samplesCount=(std::numeric_limits< size_t >::max)()) |
| Transferring data of specific type between the buffer of the specific type and the raw buffer. More... | |
Basic source and target buffer interface and data transferring operation.
Reverse container view.
| size_t transferBuffer | ( | ISourceBuffer< T > & | source, |
| ITargetBuffer< T > & | target, | ||
| bool | incrementPosition = true, |
||
| size_t | samplesCount = (std::numeric_limits<size_t>::max)() |
||
| ) |
Transferring data from one buffer to another.
| source | source buffer |
| target | destination buffer |
| incrementPosition | an option if change position |
| samplesCount | a number of samples to be transferred |
| size_t transferBuffer | ( | ISourceBuffer< S > & | source, |
| ITargetBuffer< T > & | target, | ||
| bool | incrementPosition = true, |
||
| size_t | samplesCount = (std::numeric_limits<size_t>::max)() |
||
| ) |
Transferring data of specific type between the buffer of the specific type and the raw buffer.
Raw buffer type is generally byte. No conversion on data intended.
| source | source buffer |
| target | destination buffer |
| incrementPosition | an option if change position |
| samplesCount | a number of samples to be transferred |