SIMULINK_A7DAC  1.0
Control of A7_DAC device
Public Member Functions | Private Attributes | List of all members
TF_A7DacCtrl Class Reference

Source data base class. More...

#include <TF_A7DacCtrl.h>

Inheritance diagram for TF_A7DacCtrl:
TF_BaseSource

Public Member Functions

 TF_A7DacCtrl (int argc, BRDCHAR **argv)
 
virtual ~TF_A7DacCtrl ()
 
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...
 
void EventStartCycle (int flagChange, double *param)
 
int isCycleCompletion (void)
 
- Public Member Functions inherited from TF_BaseSource
 TF_BaseSource (int argc, BRDCHAR **argv)
 
virtual ~TF_BaseSource ()
 
virtual int GetData (U32 **ptr)
 Get buffer of data. More...
 

Private Attributes

TF_A7DacCtrl_TaskDatatd
 Internal data of TF_A7DacCtrl. More...
 

Detailed Description

Source data base class.

Definition at line 12 of file TF_A7DacCtrl.h.

Constructor & Destructor Documentation

◆ TF_A7DacCtrl()

TF_A7DacCtrl::TF_A7DacCtrl ( int  argc,
BRDCHAR **  argv 
)

Definition at line 45 of file TF_A7DacCtrl.cpp.

References td.

◆ ~TF_A7DacCtrl()

TF_A7DacCtrl::~TF_A7DacCtrl ( )
virtual

Definition at line 51 of file TF_A7DacCtrl.cpp.

References td.

Member Function Documentation

◆ EventStartCycle() [1/2]

void TF_A7DacCtrl::EventStartCycle ( void  )
virtual

Start of new data cycle.

Reimplemented from TF_BaseSource.

Definition at line 161 of file TF_A7DacCtrl.cpp.

Referenced by TF_SimulinkA7Dac::Execute().

◆ EventStartCycle() [2/2]

void TF_A7DacCtrl::EventStartCycle ( int  flagChange,
double *  param 
)

◆ isCycleCompletion()

int TF_A7DacCtrl::isCycleCompletion ( void  )

◆ Prepare()

int TF_A7DacCtrl::Prepare ( int  count)
virtual

◆ ReStartSession()

void TF_A7DacCtrl::ReStartSession ( void  )
virtual

Start new session of process data.

Reimplemented from TF_BaseSource.

Definition at line 153 of file TF_A7DacCtrl.cpp.

References TF_DDS::DacStart(), TF_A7DacCtrl_TaskData::dds, TF_A7DacCtrl_TaskData::flagStart, and td.

Referenced by TF_SimulinkA7Dac::Execute().

Member Data Documentation

◆ td

TF_A7DacCtrl_TaskData* TF_A7DacCtrl::td
private

Internal data of TF_A7DacCtrl.

Definition at line 16 of file TF_A7DacCtrl.h.

Referenced by EventStartCycle(), isCycleCompletion(), Prepare(), ReStartSession(), TF_A7DacCtrl(), and ~TF_A7DacCtrl().


The documentation for this class was generated from the following files: