Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

TestLinePlotData Class Reference

-- Derived class used for testing the TxLinePlotData class. More...

#include <TestLinePlotData.h>

Inheritance diagram for TestLinePlotData::

TxLinePlotData TxPlotData TxAttributeSet List of all members.

Public Methods

 TestLinePlotData ()
 default constructor. More...

 TestLinePlotData (const void *)
 default constructor. More...

virtual ~TestLinePlotData ()
 virtual destructor. More...

void setup ()
 method for various setup procedures required prior to calculation. More...

virtual TXSTD::string getClassID () const
 get class name. More...

virtual void paramChanged (int)
 method called to correctly set internal data when parameters are changed. More...

virtual int moreData ()
 Get more data points. More...


Private Methods

 TestLinePlotData (const TestLinePlotData &)
 prevent public use of the copy constructor. More...

const TestLinePlotData& operator= (const TestLinePlotData &)
 prevent public use of the assignment operator. More...


Private Attributes

int iNumPts
 integer for obtaining the number of data points from the option hash table. More...

TXSTD::string sNumPts
int ixmin
 integer to get minimum x value (horizontal axis) from parameter hash table. More...

TXSTD::string sxmin
int idx
 integer to get step size (horizontal axis) from parameter hash table. More...

TXSTD::string sdx
int iko2pi
 integer to get wavenumber/twopi = 1/wavelength from parameter hash table. More...

TXSTD::string sko2pi
int iamp
 integer to get function amplitude from parameter hash table. More...

TXSTD::string samp
int ix
 integer to get horizontal data points from plot hash table. More...

int isinx
 integer to get sine function data points from plot hash table. More...

int icosx
 integer to get cosine function data points from plot hash table. More...

double k
 wavenumber. More...

double* newValues
 temporary storage for each set of data values. More...


Detailed Description

-- Derived class used for testing the TxLinePlotData class.

Puts in the information needed to plot two sinusoidal functions.

Copyright 1997, 1998 by Tech-X Corporation

Author:
John R. Cary

Version:
Id:
TestLinePlotData.h,v 1.1 2001/09/21 21:35:29 kgl Exp

Definition at line 34 of file TestLinePlotData.h.


Constructor & Destructor Documentation

TestLinePlotData::TestLinePlotData ( )
 

default constructor.

TestLinePlotData::TestLinePlotData ( const void * )
 

default constructor.

TestLinePlotData::~TestLinePlotData ( ) [virtual]
 

virtual destructor.

TestLinePlotData::TestLinePlotData ( const TestLinePlotData & ) [private]
 

prevent public use of the copy constructor.


Member Function Documentation

TXSTD::string TestLinePlotData::getClassID ( ) const [inline, virtual]
 

get class name.

Reimplemented from TxLinePlotData.

Definition at line 61 of file TestLinePlotData.h.

int TestLinePlotData::moreData ( ) [virtual]
 

Get more data points.

Return nonzero if further data remains to be calculated. This approach is required because the GUI is not yet threaded.

Reimplemented from TxPlotData.

const TestLinePlotData & TestLinePlotData::operator= ( const TestLinePlotData & ) [private]
 

prevent public use of the assignment operator.

void TestLinePlotData::paramChanged ( int ) [virtual]
 

method called to correctly set internal data when parameters are changed.

void TestLinePlotData::setup ( )
 

method for various setup procedures required prior to calculation.


Member Data Documentation

int TestLinePlotData::iNumPts [private]
 

integer for obtaining the number of data points from the option hash table.

Definition at line 92 of file TestLinePlotData.h.

int TestLinePlotData::iamp [private]
 

integer to get function amplitude from parameter hash table.

Definition at line 109 of file TestLinePlotData.h.

int TestLinePlotData::icosx [private]
 

integer to get cosine function data points from plot hash table.

Definition at line 119 of file TestLinePlotData.h.

int TestLinePlotData::idx [private]
 

integer to get step size (horizontal axis) from parameter hash table.

Definition at line 101 of file TestLinePlotData.h.

int TestLinePlotData::iko2pi [private]
 

integer to get wavenumber/twopi = 1/wavelength from parameter hash table.

Definition at line 105 of file TestLinePlotData.h.

int TestLinePlotData::isinx [private]
 

integer to get sine function data points from plot hash table.

Definition at line 116 of file TestLinePlotData.h.

int TestLinePlotData::ix [private]
 

integer to get horizontal data points from plot hash table.

Definition at line 113 of file TestLinePlotData.h.

int TestLinePlotData::ixmin [private]
 

integer to get minimum x value (horizontal axis) from parameter hash table.

Definition at line 97 of file TestLinePlotData.h.

double TestLinePlotData::k [private]
 

wavenumber.

Definition at line 122 of file TestLinePlotData.h.

double * TestLinePlotData::newValues [private]
 

temporary storage for each set of data values.

Definition at line 125 of file TestLinePlotData.h.

TXSTD::string TestLinePlotData::sNumPts [private]
 

Definition at line 93 of file TestLinePlotData.h.

TXSTD::string TestLinePlotData::samp [private]
 

Definition at line 110 of file TestLinePlotData.h.

TXSTD::string TestLinePlotData::sdx [private]
 

Definition at line 102 of file TestLinePlotData.h.

TXSTD::string TestLinePlotData::sko2pi [private]
 

Definition at line 106 of file TestLinePlotData.h.

TXSTD::string TestLinePlotData::sxmin [private]
 

Definition at line 98 of file TestLinePlotData.h.


The documentation for this class was generated from the following file: Copyright Tech-X Corporation, all rights reserved.