📄 iscope.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'iScope.pas' rev: 6.00
#ifndef iScopeHPP
#define iScopeHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Menus.hpp> // Pascal unit
#include <iScopeDisplay.hpp> // Pascal unit
#include <iScopeToolBar.hpp> // Pascal unit
#include <iScopeTrigger.hpp> // Pascal unit
#include <iScopeTimeBase.hpp> // Pascal unit
#include <iScopeChannel.hpp> // Pascal unit
#include <iScopePanelToolBar.hpp> // Pascal unit
#include <iScopePanelChannels.hpp> // Pascal unit
#include <iScopePanelTrigger.hpp> // Pascal unit
#include <iScopePanelTimeBase.hpp> // Pascal unit
#include <iScopeEditor.hpp> // Pascal unit
#include <iPlotAnnotation.hpp> // Pascal unit
#include <iPlotChannel.hpp> // Pascal unit
#include <iPlotChannelCustom.hpp> // Pascal unit
#include <iPlotAxis.hpp> // Pascal unit
#include <iPlotDataCursor.hpp> // Pascal unit
#include <iPlot.hpp> // Pascal unit
#include <iComponent.hpp> // Pascal unit
#include <iGPFunctions.hpp> // Pascal unit
#include <Printers.hpp> // Pascal unit
#include <iTypes.hpp> // Pascal unit
#include <ExtCtrls.hpp> // Pascal unit
#include <StdCtrls.hpp> // Pascal unit
#include <ComCtrls.hpp> // Pascal unit
#include <Controls.hpp> // Pascal unit
#include <Variants.hpp> // Pascal unit
#include <Classes.hpp> // Pascal unit
#include <Messages.hpp> // Pascal unit
#include <Types.hpp> // Pascal unit
#include <Clipbrd.hpp> // Pascal unit
#include <Dialogs.hpp> // Pascal unit
#include <Forms.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <TypInfo.hpp> // Pascal unit
#include <SysUtils.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <SysInit.hpp> // Pascal unit
#include <System.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Iscope
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TiScope;
class PASCALIMPLEMENTATION TiScope : public Controls::TCustomControl
{
typedef Controls::TCustomControl inherited;
private:
bool FCreationComplete;
Iplot::TiPlot* FPlot;
Iscopepanelchannels::TiScopePanelChannels* FPanelChannels;
Iscopepaneltimebase::TiScopePanelTimeBase* FPanelTimeBase;
Iscopepaneltrigger::TiScopePanelTrigger* FPanelTrigger;
Iscopepaneltoolbar::TiScopePanelToolBar* FPanelToolBar;
Iscopedisplay::TiScopeDisplay* FDisplay;
Iscopeeditor::TiScopeEditorForm* FScopeEditor;
bool FTransferringData;
Iscopetimebase::TiScopeTimeBase* FTimeBase;
Iscopetrigger::TiScopeTrigger* FTrigger;
Iscopetoolbar::TiScopeToolBar* FToolBar;
int FEditorControlPageIndex;
bool FHideControlPanels;
protected:
bool __fastcall GetAutoFrameRate(void);
int __fastcall GetUpdateFrameRate(void);
AnsiString __fastcall GetPrintDocumentName();
AnsiString __fastcall GetPrinterName();
double __fastcall GetPrintMarginBottom(void);
double __fastcall GetPrintMarginLeft(void);
double __fastcall GetPrintMarginRight(void);
double __fastcall GetPrintMarginTop(void);
Printers::TPrinterOrientation __fastcall GetPrintOrientation(void);
bool __fastcall GetPrintShowDialog(void);
int __fastcall GetSamplesPerSecond(void);
void __fastcall SetAutoFrameRate(const bool Value);
void __fastcall SetUpdateFrameRate(const int Value);
void __fastcall SetPrintDocumentName(const AnsiString Value);
void __fastcall SetPrinterName(const AnsiString Value);
void __fastcall SetPrintMarginBottom(const double Value);
void __fastcall SetPrintMarginLeft(const double Value);
void __fastcall SetPrintMarginRight(const double Value);
void __fastcall SetPrintMarginTop(const double Value);
void __fastcall SetPrintOrientation(const Printers::TPrinterOrientation Value);
void __fastcall SetPrintShowDialog(const bool Value);
void __fastcall SetSamplesPerSecond(const int Value);
void __fastcall SetHideControlPanels(const bool Value);
Iscopechannel::TiScopeChannel* __fastcall GetChannel(int Index);
int __fastcall GetChannelCount(void);
bool __fastcall GetNeedPacketsNow(void);
bool __fastcall GetDataBlockActive(void);
bool __fastcall GetDataBlockSynchronized(void);
Iplotdatacursor::TiPlotDataCursor* __fastcall GetDataCursor(void);
bool __fastcall GetTransferringActve(void);
void __fastcall DataCursorCustomizeHintEvent(int Index, AnsiString &AText);
void __fastcall LimitLine1PositionChangeEvent(int Index, double OldValue, double NewValue);
void __fastcall AnnotationCoordinatesChangeEvent(int Index);
void __fastcall ClickAnnotationEvent(int Index);
DYNAMIC void __fastcall Resize(void);
void __fastcall AdjustLayout(void);
virtual void __fastcall Loaded(void);
virtual void __fastcall DefineProperties(Classes::TFiler* Filer);
void __fastcall ReadFromStreamChannels(Classes::TReader* Reader);
void __fastcall ReadFromStreamDisplay(Classes::TReader* Reader);
void __fastcall ReadFromStreamTimeBase(Classes::TReader* Reader);
void __fastcall ReadFromStreamTrigger(Classes::TReader* Reader);
void __fastcall WriteToStreamChannels(Classes::TWriter* Writer);
void __fastcall WriteToStreamDisplay(Classes::TWriter* Writer);
void __fastcall WriteToStreamTimeBase(Classes::TWriter* Writer);
void __fastcall WriteToStreamTrigger(Classes::TWriter* Writer);
void __fastcall DoEditClick(System::TObject* Sender);
__property Iscopepanelchannels::TiScopePanelChannels* PanelChannels = {read=FPanelChannels};
__property Iscopepaneltimebase::TiScopePanelTimeBase* PanelTimeBase = {read=FPanelTimeBase};
__property Iscopepaneltrigger::TiScopePanelTrigger* PanelTrigger = {read=FPanelTrigger};
__property Iplot::TiPlot* Plot = {read=FPlot};
public:
__fastcall virtual TiScope(Classes::TComponent* AOwner);
__fastcall virtual ~TiScope(void);
void __fastcall PrintDisplay(void);
void __fastcall DataBlockBegin(void);
void __fastcall DataBlockEnd(void);
void __fastcall DataBlockClear(void);
void __fastcall AddChannelData(int Channel, double Y);
void __fastcall AddDataBlockChannel(int Index, const Variant &Data);
void __fastcall AddDataBlock(const Variant &Data);
int __fastcall AddChannel(void);
void __fastcall DeleteChannel(int Index);
void __fastcall RemoveAllChannels(void);
__property Iscopechannel::TiScopeChannel* Channel[int Index] = {read=GetChannel};
__property int ChannelCount = {read=GetChannelCount, nodefault};
__property Iscopetimebase::TiScopeTimeBase* TimeBase = {read=FTimeBase};
__property Iscopetrigger::TiScopeTrigger* Trigger = {read=FTrigger};
__property Iscopetoolbar::TiScopeToolBar* ToolBar = {read=FToolBar};
__property Iscopedisplay::TiScopeDisplay* Display = {read=FDisplay};
__property Iplotdatacursor::TiPlotDataCursor* DataCursor = {read=GetDataCursor};
__property bool TransferringActve = {read=GetTransferringActve, nodefault};
__property bool DataBlockActive = {read=GetDataBlockActive, nodefault};
__property bool DataBlockSynchronized = {read=GetDataBlockSynchronized, nodefault};
__property bool NeedPacketsNow = {read=GetNeedPacketsNow, nodefault};
__published:
__property Align = {default=0};
__property int SamplesPerSecond = {read=GetSamplesPerSecond, write=SetSamplesPerSecond, nodefault};
__property bool AutoFrameRate = {read=GetAutoFrameRate, write=SetAutoFrameRate, default=1};
__property int UpdateFrameRate = {read=GetUpdateFrameRate, write=SetUpdateFrameRate, default=20};
__property bool HideControlPanels = {read=FHideControlPanels, write=SetHideControlPanels, nodefault};
__property Printers::TPrinterOrientation PrintOrientation = {read=GetPrintOrientation, write=SetPrintOrientation, default=1};
__property double PrintMarginLeft = {read=GetPrintMarginLeft, write=SetPrintMarginLeft};
__property double PrintMarginTop = {read=GetPrintMarginTop, write=SetPrintMarginTop};
__property double PrintMarginRight = {read=GetPrintMarginRight, write=SetPrintMarginRight};
__property double PrintMarginBottom = {read=GetPrintMarginBottom, write=SetPrintMarginBottom};
__property bool PrintShowDialog = {read=GetPrintShowDialog, write=SetPrintShowDialog, default=1};
__property AnsiString PrintDocumentName = {read=GetPrintDocumentName, write=SetPrintDocumentName};
__property AnsiString PrinterName = {read=GetPrinterName, write=SetPrinterName};
__property Visible = {default=1};
__property Enabled = {default=1};
__property ShowHint ;
__property PopupMenu ;
__property OnClick ;
__property OnDblClick ;
__property OnDragDrop ;
__property OnDragOver ;
__property OnStartDrag ;
__property OnEndDrag ;
__property OnMouseDown ;
__property OnMouseMove ;
__property OnMouseUp ;
__property OnKeyDown ;
__property OnKeyPress ;
__property OnKeyUp ;
__property OnEnter ;
__property OnExit ;
public:
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TiScope(HWND ParentWindow) : Controls::TCustomControl(ParentWindow) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Iscope */
using namespace Iscope;
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // iScope
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -