Home Units Hierarchy Routines All identifiers

Class TunadspFFTPipe

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TunadspFFTPipe = class(unavclInOutPipe)

Description

FFT Pipe

Hierarchy

Overview

Methods

Protected function applyFormat(data: pointer; len: uint; provider: unavclInOutPipe = nil; restoreActiveState: bool = false): bool; override;
Protected function doOpen(): bool; override;
Protected function doRead(data: pointer; len: uint): uint; override;
Protected function doWrite(data: pointer; len: uint; provider: pointer = nil): uint; override;
Protected function getAvailableDataLen(index: integer): uint; override;
Protected function getFormatExchangeData(out data: pointer): uint; override;
Protected function isActive(): bool; override;
Public procedure AfterConstruction(); override;
Public procedure BeforeDestruction(); override;
Protected procedure doClose(); override;

Properties

Public property channel: unsigned read f_channel write f_channel;
Public property fft: unadspFFT read f_fft;
Public property onFFTDone: tNotifyEvent read f_onFFTDone write f_onFFTDone;
Public property updateInterval: unsigned read getInterval write setInterval;

Description

Methods

Protected function applyFormat(data: pointer; len: uint; provider: unavclInOutPipe = nil; restoreActiveState: bool = false): bool; override;

Applies new format of the stream to the pipe.

Protected function doOpen(): bool; override;

Opens the pipe.

Protected function doRead(data: pointer; len: uint): uint; override;

Reads data from the pipe.

Protected function doWrite(data: pointer; len: uint; provider: pointer = nil): uint; override;

Writes data into the pipe.

Protected function getAvailableDataLen(index: integer): uint; override;

Returns available data size in the pipe.

Protected function getFormatExchangeData(out data: pointer): uint; override;

Fills the format of the pipe stream.

Protected function isActive(): bool; override;

Returns active state of the pipe.

Public procedure AfterConstruction(); override;
 
Public procedure BeforeDestruction(); override;
 
Protected procedure doClose(); override;

Closes the pipe.

Properties

Public property channel: unsigned read f_channel write f_channel;
 
Public property fft: unadspFFT read f_fft;
 
Public property onFFTDone: tNotifyEvent read f_onFFTDone write f_onFFTDone;
 
Public property updateInterval: unsigned read getInterval write setInterval;
 

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09