Programmer Guide/Macro Library: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(71 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'''
|-
|-
| ||&mdash;
|[[/BUTIL|BUtil]] ||misc. utility functions
|-
|-
| ||'''application management''' || &rarr;
|[[/UM|UM or EM]] ||simple message boxes to display user- and error-messages
|[[/StdLib#AppLoad|AppLoad]] &mdash; [[/StdLib#AppMain|AppMain]] &middot; [[/StdLib#AppCleanup|AppCleanup]] &middot; [[/StdLib#AppHelp|AppHelp]]
|-
|-
| ||&mdash;
|[[/CONLOG|ConLog]] ||write messages to [[User_Guide/STX_Console|script console]] and/or [[User_Guide/Log_Window|Log-window]]
|-
|-
| ||'''message handling''' ||&rarr;
|[[/LOGWINDOW|LogWindow]] || [[User_Guide/Log_Window|Log-window]] control functions
|[[/StdLib#PostMessage|PostMessage]] &middot; [[/StdLib#SetMsgHandler|SetMsgHandler]] &middot; [[/StdLib#DispatchMsg|DispatchMsg]] &middot; [[/StdLib#MsgQueue|MsgQueue]] &middot; [[/StdLib#MsgFilter|MsgFilter]] &middot; [[/StdLib#GetMessage|GetMessage]]
|-
|-
| ||&mdash;
|[[/SHOWITEM|ShowItem]] ||show [[Programmer_Guide/Shell_Items|shell item]] properties and/or data
|-
|-
| ||'''utilities for standard<BR>{{STX}} applications''' ||&rarr;
|[[/BSF|BSF]] ||soundfile management functions
|[[/StdLib#ExtSetup|ExtSetup]] &middot; [[/StdLib#PlayCursor|PlayCursor]] &middot; [[/StdLib#GenerateScaleParams|GenerateScaleParams]] &middot; [[/StdLib#MetaSegment|MetaSegment]]
|-
|-
| ||&mdash;
|[[/DataSetCmd|DataSetCmd]] ||interface to the main application (Workspace) and its GUI
|-
|}
| ||'''file functions''' ||&rarr;
 
|[[/StdLib#stxFileTypeList|stxFileTypeList]] &middot; [[/StdLib#stxFileType|stxFileType]] &middot; [[/StdLib#SectionFile|SectionFile]] &middot; [[/StdLib#FileToolBox|FileToolBox]]
;Classes
|-
{|class="keinrahmen"
| ||&mdash;
|'''Name''' ||'''Description''' ||'''Parent-Class'''  
|-
| ||'''display functions''' ||&rarr;
|[[/StdLib#LogWindow|LogWindow]] &middot; [[/StdLib#ConLog|ConLog]] &middot; [[/StdLib#UM and EM|UM and EM]] &middot; [[/StdLib#ShowItem|ShowItem]]
|-
| ||&mdash;
|-
| ||'''dialog and window functions''' ||&rarr;
|[[/StdLib#CreateMenu|CreateMenu]] &middot; [[/StdLib#DoModalDialog|DoModalDialog]] &middot; [[/StdLib#SetModalWindow|SetModalWindow]] &middot; [[/StdLib#GetWindowPos|GetWindowPos]] &middot; [[/StdLib#SetWindowPos|SetWindowPos]] &middot; [[/StdLib#WindowSizeDlg|WindowSizeDlg]] &middot; [[/StdLib#GetMonitor|GetMonitor]] &middot; [[/StdLib#GetDesktop|GetDesktop]] &middot; [[/StdLib#ProgressBox|ProgressBox]] &middot; [[/StdLib#InitDialogItem|InitDialogItem]] &middot; [[/StdLib#SetControlMode|SetControlMode]]
|-
| ||&mdash;
|-
| ||'''[[Programmer_Guide/Shell_Items/SPU|SPU]] and [[Programmer_Guide/Shell_Items/Graph|graph]] functions''' ||&rarr;
|[[/StdLib#SetGraphXScale|SetGraphXScale]] &middot; [[/StdLib#GetOutputValue|GetOutputValue]]
|-
| ||&mdash;
|-
| ||'''[[Programmer_Guide/Shell_Items/SPU|SPUs]]''' ||&rarr;
|[[/StdLib#XScaleLinear|XScaleLinear]] &middot; [[/StdLib#XScaleBark|XScaleBark]] &middot; [[/StdLib#Table2Output|Table2Output]] &middot; [[/StdLib#Wave2output|Wave2output]]
|-
| ||&mdash;
|-
|[[/BSF|BSF.stx]]
|-
| ||&mdash;
|-
| ||'''macro BSF<BR>soundfile handling ||&rarr;
|[[/BSF#NewDialog|NewDialog]] &middot; [[/BSF#OpenDialog|OpenDialog]] &middot; [[/BSF#Open|Open]] &middot; [[/BSF#Close|Close]] &middot; [[/BSF#CloseAll|CloseAll]] &middot; [[/BSF#Select|Select]] &middot; [[/BSF#Truncate|Truncate]]
|-
| ||&mdash;
|-
|[[/BUTIL|BUTIL.stx]]
|-
| ||&mdash;
|-
| || '''macro BUTIL<BR>misc. utility functions ||&rarr;
|[[/BUTIL#MsgBox|MsgBox]] &middot; [[/BUTIL#EditBox|EditBox]] &middot; [[/BUTIL#FileDialog|FileDialog]] &middot; [[/BUTIL#FileCommands|Copy/Move/DeleteFile]] &middot; [[/BUTIL#DirectoryDialog|DirectoryDialog]] &middot; [[/BUTIL#GetDirectory|GetDirectory]] &middot; [[/BUTIL#Directory|Directory]] &middot; [[/BUTIL#GetSwitch|GetSwitch]] &middot; [[/BUTIL#GetKeyWord|GetKeyWord]] &middot; [[/BUTIL#GetKeyIndex|GetKeyIndex]] &middot; [[/BUTIL#SelectTable|SelectTable]]
|-
| ||&mdash;
|-
|[[/Classes|Classes.stx]]
|-
| ||&mdash;
|-
| ||'''CObj<BR>the base class''' || &rarr;
|[[/CObj#...|...]] &middot; ...
|-
| ||&mdash;
|-
| ||'''CObjEx<BR>extension class for scripts''' ||&rarr;
|[[/CObjEx#...|...]] &middot; ...
|-
| ||&mdash;
|-
| ||'''ModalDialog<BR>a modal dialog''' ||&rarr;
|[[/ModalDialog#...|...]] &middot; ...
|-
| ||&mdash;
|-
| ||'''SetupSheet<BR>property sheets''' ||&rarr;
|[[/SetupSheet#...|...]] &middot; ...
|-
| ||&mdash;
|-
| ||'''PlayWave<BR>general play class''' ||&rarr;
|[[/PlayWave#...|...]] &middot; ...
|-
| ||&mdash;
|-
| ||'''SetWaveIO<BR>wave device setup''' ||&rarr;
|[[/SetWaveIO#...|...]] &middot; ...
|-
|-
| ||&mdash;
|[[/COBJ|CObj]] ||the base class for all {{STX}} classes ||
|-
|-
| ||'''CalibSig<BR>signal calibration''' ||&rarr;
|[[/BSeq|BSeq]] ||create, configure and manage a signal sequence ||CObj
|[[/CalibSig#...|...]] &middot; ...
|-
|-
| ||&mdash;
|[[/BXMLDoc|BXMLDoc]] ||general xml document ||CObj
|-
|-
| ||'''CAppQueue<BR>application queue for batch processing''' ||&rarr;
|[[/BSTXIni|BSTXIni]] ||the workspace document ||BXMLDoc
|[[/CAppQueue#...|...]] &middot; ...
|-
| ||&mdash;
|-
| ||'''BSignal<BR>signal processing controller''' ||&rarr;
|[[/BSignal#...|...]] &middot; ...
|-
| ||&mdash;
|-
| ||'''CDlgMap<BR>enhanced modal dialog''' ||&rarr;
|[[/CDlgMap#...|...]] &middot; ...
|-
| ||&mdash;
|-
| ||'''CMenu<BR>menu handling class''' ||&rarr;
|[[/CMenu#...|...]] &middot; ...
|-
| ||&mdash;
|-
| ||'''XWave<BR>enhanced wave object''' ||&rarr;
|[[/XWave#...|...]] &middot; ...
|-
| ||&mdash;
|-
| ||'''XPlot<BR>general function plot''' ||&rarr;
|[[/XPlot#...|...]] &middot; ...
|-
| ||&mdash;
|-
| ||'''XGraph<BR>a graph in a XPlot display''' ||&rarr;
|[[/XGraph#...|...]] &middot; ...
|-
| ||&mdash;
|-
| ||'''CTemplates<BR>manage XML templates''' ||&rarr;
|[[/XGraph#...|...]] &middot; ...
|-
| ||&mdash;
|-
| ||'''NDLib<BR>signal processing, audio descriptors, ...''' ||&rarr;
|[[/NDLib#...|...]] &middot; ...
|-
| ||&mdash;
|-
| ||'''TBMGR<BR>toolbox manager and base class''' ||&rarr;
|[[/TBMGR#...|...]] &middot; ...
|-
| ||&mdash;
|-
| ||'''KlattSyn<BR>formant speech synthesis''' ||&rarr;
|[[/KlattSyn#...|...]] &middot; ...
|-
| ||&mdash;
|-
|-
|[[/BDataSet|BDataSet]] ||project document and project management ||BXMLDoc
|}
|}
==See also==
[[/Kernal|Macros and Classes of the STx Kernal]]

Latest revision as of 10:41, 7 March 2018

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.

Alphabetical List of Macros and Classes

Quick Overview

Macros
Name Description
BUtil misc. utility functions
UM or EM simple message boxes to display user- and error-messages
ConLog write messages to script console and/or Log-window
LogWindow Log-window control functions
ShowItem show shell item properties and/or data
BSF soundfile management functions
DataSetCmd interface to the main application (Workspace) and its GUI
Classes
Name Description Parent-Class
CObj the base class for all STx classes
BSeq create, configure and manage a signal sequence CObj
BXMLDoc general xml document CObj
BSTXIni the workspace document BXMLDoc
BDataSet project document and project management BXMLDoc

See also

Macros and Classes of the STx Kernal

Navigation menu

Personal tools