|
|
(68 intermediate revisions by 5 users not shown) |
Line 1: |
Line 1: |
| {{DISPLAYTITLE:{{SUBPAGENAME}}}} | | {{DISPLAYTITLE:Macros and Classes of the Standard Library}} |
| | | This section describes the {{STX}} standard macros and classes. They are all linked into the library file '''stx.lib''', which is part of the standard installation, and loaded on program start. A detailed description is only given for the most useful macros and classes. For a description of all other macros and classes not described here, you must look to the source files. |
| This section describes the {{STX}} standard macros and classes. They are all linked into the library file '''stx.lib''', which is part of the standard installation, and loaded on program start. | |
| | |
| ===alphabetical list of macros===
| |
|
| |
|
| | ==Alphabetical List of Macros and Classes== |
| <splist | | <splist |
| parent= | | parent=Programmer_Guide/Macro_Library |
| sort=asc | | sort=asc |
| sortby=title | | sortby=title |
Line 14: |
Line 12: |
| /> | | /> |
|
| |
|
| | | ==Quick Overview== |
| :{|class="keinrahmen"
| | ;Macros |
| |[[/StdLib|StdLib.stx]] ||— | | {|class=keinrahmen |
| | |'''Name''' ||'''Description''' |
| |- | | |- |
| | ||'''application management''' || →
| | |[[/BUTIL|BUtil]] ||misc. utility functions |
| |[[/StdLib#AppLoad|AppLoad]] — [[/StdLib#AppMain|AppMain]] · [[/StdLib#AppCleanup|AppCleanup]] · [[/StdLib#AppHelp|AppHelp]] | |
| |- | | |- |
| | ||— | | |[[/UM|UM or EM]] ||simple message boxes to display user- and error-messages |
| |- | | |- |
| | ||'''message handling''' ||→
| | |[[/CONLOG|ConLog]] ||write messages to [[User_Guide/STX_Console|script console]] and/or [[User_Guide/Log_Window|Log-window]] |
| |[[/StdLib#PostMessage|PostMessage]] · [[/StdLib#SetMsgHandler|SetMsgHandler]] · [[/StdLib#DispatchMsg|DispatchMsg]] · [[/StdLib#MsgQueue|MsgQueue]] · [[/StdLib#MsgFilter|MsgFilter]] · [[/StdLib#GetMessage|GetMessage]] | |
| |- | | |- |
| | ||— | | |[[/LOGWINDOW|LogWindow]] || [[User_Guide/Log_Window|Log-window]] control functions |
| |- | | |- |
| | ||'''utilities for standard<BR>{{STX}} applications''' ||→
| | |[[/SHOWITEM|ShowItem]] ||show [[Programmer_Guide/Shell_Items|shell item]] properties and/or data |
| |[[/StdLib#ExtSetup|ExtSetup]] · [[/StdLib#PlayCursor|PlayCursor]] · [[/StdLib#GenerateScaleParams|GenerateScaleParams]] · [[/StdLib#MetaSegment|MetaSegment]] | |
| |- | | |- |
| | ||— | | |[[/BSF|BSF]] ||soundfile management functions |
| |- | | |- |
| | ||'''file functions''' ||→ | | |[[/DataSetCmd|DataSetCmd]] ||interface to the main application (Workspace) and its GUI |
| |[[/StdLib#stxFileTypeList|stxFileTypeList]] · [[/StdLib#stxFileType|stxFileType]] · [[/StdLib#SectionFile|SectionFile]] · [[/StdLib#FileToolBox|FileToolBox]]
| | |} |
| |-
| | |
| | ||—
| | ;Classes |
| |-
| | {|class="keinrahmen" |
| | ||'''display functions''' ||→
| | |'''Name''' ||'''Description''' ||'''Parent-Class''' |
| |[[/StdLib#LogWindow|LogWindow]] · [[/StdLib#ConLog|ConLog]] · [[/StdLib#UM and EM|UM and EM]] · [[/StdLib#ShowItem|ShowItem]]
| |
| |- | |
| | ||—
| |
| |-
| |
| | ||'''dialog and window functions''' ||→
| |
| |[[/StdLib#CreateMenu|CreateMenu]] · [[/StdLib#DoModalDialog|DoModalDialog]] · [[/StdLib#SetModalWindow|SetModalWindow]] · [[/StdLib#GetWindowPos|GetWindowPos]] · [[/StdLib#SetWindowPos|SetWindowPos]] · [[/StdLib#WindowSizeDlg|WindowSizeDlg]] · [[/StdLib#GetMonitor|GetMonitor]] · [[/StdLib#GetDesktop|GetDesktop]] · [[/StdLib#ProgressBox|ProgressBox]] · [[/StdLib#InitDialogItem|InitDialogItem]] · [[/StdLib#SetControlMode|SetControlMode]] | |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''[[Programmer_Guide/Shell_Items/SPU|SPU]] and [[Programmer_Guide/Shell_Items/Graph|graph]] functions''' ||→
| |
| |[[/StdLib#SetGraphXScale|SetGraphXScale]] · [[/StdLib#GetOutputValue|GetOutputValue]]
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''[[Programmer_Guide/Shell_Items/SPU|SPUs]]''' ||→
| |
| |[[/StdLib#XScaleLinear|XScaleLinear]] · [[/StdLib#XScaleBark|XScaleBark]] · [[/StdLib#Table2Output|Table2Output]] · [[/StdLib#Wave2output|Wave2output]]
| |
| |-
| |
| | ||—
| |
| |-
| |
| |[[/BSF|BSF.stx]]
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''macro BSF<BR>soundfile handling ||→
| |
| |[[/BSF#NewDialog|NewDialog]] · [[/BSF#OpenDialog|OpenDialog]] · [[/BSF#Open|Open]] · [[/BSF#Close|Close]] · [[/BSF#CloseAll|CloseAll]] · [[/BSF#Select|Select]] · [[/BSF#Truncate|Truncate]]
| |
| |-
| |
| | ||—
| |
| |-
| |
| |[[/BUTIL|BUTIL.stx]]
| |
| |-
| |
| | ||—
| |
| |-
| |
| | || '''macro BUTIL<BR>misc. utility functions ||→
| |
| |[[/BUTIL#MsgBox|MsgBox]] · [[/BUTIL#EditBox|EditBox]] · [[/BUTIL#FileDialog|FileDialog]] · [[/BUTIL#FileCommands|Copy/Move/DeleteFile]] · [[/BUTIL#DirectoryDialog|DirectoryDialog]] · [[/BUTIL#GetDirectory|GetDirectory]] · [[/BUTIL#Directory|Directory]] · [[/BUTIL#GetSwitch|GetSwitch]] · [[/BUTIL#GetKeyWord|GetKeyWord]] · [[/BUTIL#GetKeyIndex|GetKeyIndex]] · [[/BUTIL#SelectTable|SelectTable]]
| |
| |-
| |
| | ||—
| |
| |-
| |
| |[[/Classes|Classes.stx]]
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''class CObj<BR>the base class''' || →
| |
| |[[/CObj#...|...]] · ...
| |
| |- | | |- |
| | ||— | | |[[/COBJ|CObj]] ||the base class for all {{STX}} classes || |
| |- | | |- |
| | ||'''class CObjEx<BR>extension class for scripts''' ||→
| | |[[/BSeq|BSeq]] ||create, configure and manage a signal sequence ||CObj |
| |[[/CObjEx#...|...]] · ... | |
| |- | | |- |
| | ||— | | |[[/BXMLDoc|BXMLDoc]] ||general xml document ||CObj |
| |- | | |- |
| | ||'''class ModalDialog<BR>a modal dialog''' ||→
| | |[[/BSTXIni|BSTXIni]] ||the workspace document ||BXMLDoc |
| |[[/ModalDialog#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''class SetupSheet<BR>property sheets''' ||→
| |
| |[[/SetupSheet#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''class PlayWave<BR>general play class''' ||→
| |
| |[[/PlayWave#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''class SetWaveIO<BR>wave device setup''' ||→
| |
| |[[/SetWaveIO#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''class CalibSig<BR>signal calibration''' ||→
| |
| |[[/CalibSig#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''class CAppQueue<BR>application queue for batch processing''' ||→
| |
| |[[/CAppQueue#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''class BSignal<BR>signal processing controller''' ||→
| |
| |[[/BSignal#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''class CDlgMap<BR>enhanced modal dialog''' ||→
| |
| |[[/CDlgMap#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''class CMenu<BR>menu handling class''' ||→
| |
| |[[/CMenu#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''class XWave<BR>enhanced wave object''' ||→
| |
| |[[/XWave#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''class XPlot<BR>general function plot''' ||→
| |
| |[[/XPlot#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''class XGraph<BR>a graph in a XPlot display''' ||→
| |
| |[[/XGraph#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''class CTemplates<BR>manage XML templates''' ||→
| |
| |[[/XGraph#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''class NDLib<BR>signal processing, audio descriptors, ...''' ||→
| |
| |[[/NDLib#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''class TBMGR<BR>toolbox manager and base class''' ||→
| |
| |[[/TBMGR#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''class KlattSyn<BR>formant speech synthesis''' ||→
| |
| |[[/KlattSyn#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |-
| |
| |[[/BXMLDoc|BXMLDoc.stx]]
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''class BXMLDoc<BR>xml document''' || →
| |
| |[[/BXMLDoc#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |-
| |
| |[[/BSTXIni|BSTXIni.stx]] | |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''class BSTXIni<BR>workspace document''' || →
| |
| |[[/BSTXIni#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |-
| |
| |[[/BDataSet|BDataSet.stx]]
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''class BDataSet<BR>project document''' || →
| |
| |[[/BDataSet#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |-
| |
| |[[/DataSetCmd|DataSet.stx]]
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''macro DataSetCmd<BR>execute dataset command''' || →
| |
| |[[/DataSetCmd#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |-
| |
| |[[/CGraphSetup|CGraphSetup.stx]]
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''class CGraphSetup<BR>graphics profile''' || →
| |
| |[[/CGraphSetup#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''class SGraphColors<BR>graph settings''' || →
| |
| |[[/SGraphColors#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |-
| |
| |[[/CAppSetup|CAppSetup.stx]]
| |
| |-
| |
| | ||—
| |
| |-
| |
| | ||'''class CAppSetup<BR>viewer setup and control''' || →
| |
| |[[/CAppSetup#...|...]] · ...
| |
| |-
| |
| | ||—
| |
| |- | | |- |
| | |[[/BDataSet|BDataSet]] ||project document and project management ||BXMLDoc |
| |} | | |} |
| | |
| | ==See also== |
| | [[/Kernal|Macros and Classes of the STx Kernal]] |