RTXI 1.3
SigGen Class Reference

#include <siggen.h>

Inheritance diagram for SigGen:
DefaultGUIModel RT::Thread Plugin::Object Workspace::Instance Event::Handler RT::List< T >::Node Settings::Object IO::Block Settings::Object

List of all members.

Public Types

enum  mode_t {
  SINE, MONOSQUARE, BISQUARE, SAWTOOTH,
  ZAP
}

Public Member Functions

 SigGen (void)
virtual ~SigGen (void)
void execute (void)
void createGUI (DefaultGUIModel::variable_t *, int)

Protected Member Functions

virtual void update (DefaultGUIModel::update_flags_t)

Detailed Description

Definition at line 29 of file siggen.h.


Member Enumeration Documentation

Enumerator:
SINE 
MONOSQUARE 
BISQUARE 
SAWTOOTH 
ZAP 

Definition at line 45 of file siggen.h.


Constructor & Destructor Documentation

SigGen::SigGen ( void  )

Definition at line 63 of file siggen.cpp.

SigGen::~SigGen ( void  ) [virtual]

Definition at line 83 of file siggen.cpp.


Member Function Documentation

void SigGen::createGUI ( DefaultGUIModel::variable_t var,
int  size 
)

Function that builds the Qt GUI.

Parameters:
varThe structure defining the module's parameters, states, inputs, and outputs.
sizeThe size of the structure vars.
See also:
DefaultGUIModel::update_flags_t

Reimplemented from DefaultGUIModel.

Definition at line 248 of file siggen.cpp.

void SigGen::execute ( void  ) [virtual]

Function called periodically by the realtime task.

See also:
RT::System

Reimplemented from RT::Thread.

Definition at line 88 of file siggen.cpp.

void SigGen::update ( DefaultGUIModel::update_flags_t  flag) [protected, virtual]

Callback function that is called when the system state changes.

Parameters:
flagThe kind of update to signal.
See also:
DefaultGUIModel::update_flags_t

Reimplemented from DefaultGUIModel.

Definition at line 121 of file siggen.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines