CPIndicator

Superclass: CPObject

Other Subclasses:

 
 

CPIndicator


#ifdef USE_SH_POOLS
 public:
  // Overload new/delete to use a SmartHeap pool
  void *operator new(size_t size) { return MemAllocPtr(gCockMemPool,size,FALSE); };
  void operator delete(void *mem) { if (mem) MemFreePtr(mem); };
#endif
public:

 //====================================================//
 // Tape Properties
 //====================================================//

 int mNumTapes;
 float mMinVal;
 float mMaxVal;
 int mOrientation;

 float *mPixelSlope;
 float *mPixelIntercept;

 //====================================================//
 // Dimensions and Locations
 //====================================================//

 RECT    *mpDestRects;
 RECT    *mpDestLocs;
 RECT    *mpSrcLocs;
 RECT    *mpSrcRects;

 int    *mHeightTapeRect;
 int    *mWidthTapeRect;

 //====================================================//
 // Dimensions and Locations
 //====================================================//

 float    *mpTapeValues;
 int    mCalibrationVal;

 //====================================================//
 // Pointers to Runtime Member Functions
 //====================================================//

 virtual void Exec(SimBaseClass*);
 virtual void DisplayBlit(void);

 //====================================================//
 // Constructors and Destructors
 //====================================================//

 CPIndicator(ObjectInitStr*, IndicatorInitStr*);
 virtual ~CPIndicator();