SIMULINK_ADC
1.0
Приём данных от АЦП
|
Имитатор данных More...
#include <TF_SourceImit.h>
Public Member Functions | |
TF_SourceImit (int argc, BRDCHAR **argv) | |
virtual | ~TF_SourceImit () |
virtual int | Prepare (int count) |
Prepare function. More... | |
virtual void | ReStartSession (void) |
Start new session of process data. More... | |
virtual void | EventStartCycle (void) |
Start of new data cycle. More... | |
virtual int | GetData (U32 **ptr) |
Get buffer of data. More... | |
![]() | |
TF_BaseSource (int argc, BRDCHAR **argv) | |
virtual | ~TF_BaseSource () |
Private Attributes | |
TF_SourceImit_TaskData * | td |
Internal data of TF_SourceImit. More... | |
Имитатор данных
Класс формирует синусоиду. Класс предназначен для проверки взаимодействия с Simulink
Definition at line 18 of file TF_SourceImit.h.
TF_SourceImit::TF_SourceImit | ( | int | argc, |
BRDCHAR ** | argv | ||
) |
Definition at line 34 of file TF_SourceImit.cpp.
References td.
|
virtual |
Definition at line 41 of file TF_SourceImit.cpp.
References td.
|
virtual |
Start of new data cycle.
Reimplemented from TF_BaseSource.
Definition at line 63 of file TF_SourceImit.cpp.
|
virtual |
Get buffer of data.
ptr | pointer of pointer of data, output |
Reimplemented from TF_BaseSource.
Definition at line 72 of file TF_SourceImit.cpp.
References TF_SourceImit_TaskData::data, TF_SourceImit_TaskData::data_out_size, TF_SourceImit_TaskData::index, TF_SourceImit_TaskData::period, and td.
|
virtual |
Prepare function.
Reimplemented from TF_BaseSource.
Definition at line 47 of file TF_SourceImit.cpp.
|
virtual |
Start new session of process data.
Reimplemented from TF_BaseSource.
Definition at line 58 of file TF_SourceImit.cpp.
|
private |
Internal data of TF_SourceImit.
Definition at line 22 of file TF_SourceImit.h.
Referenced by GetData(), TF_SourceImit(), and ~TF_SourceImit().