^ What's the point?
^ Usage
^ Functions

Download :: Topics on this subject on the Forum :: Top
Sledge Process Library

Sledge Process Library is a component for Delphi (Win32, Win64) based on Graphics32 that provides a powerful user configurable process construction.
That package consists of a base, 'root' component, task components that perform the work within the process and a visual process editor component. The app. implements the tasks and the user can construct a custom process from these tasks.
There are 3 different task objects: a simple 'task' item, that receives an input, performs a work, and returns an output, a 'case' item that receives an input and decides at which output to forward the input class object and continue the process, and a 'result' item, that can be used to perform an ending stage for the process. All these items' pins can be connected visually with the mouse.
The component also allows saving and loading of the process configuration with a preset system.

Features:
  • The user can construct a custom process to run from the available task components
  • 'Task' (worker), 'Case' (conditional branching with unlimited output cases) and 'Results' items
  • Powerful visual editor for the user to define the process
  • Inputs can have multiple sources and outputs can have multiple destinations
  • Task items accept a defined input class and output a defined output class, task items that are compatible can be only conected in editor
  • Preset system for loading and saving of the defined process
  • Completely configurable editor appearance: colors, fonts, item sizes, icons
  • Very easy to implement Delphi style design
This is the first beta release of the component, please contact me if You find any bugs.

A FireMonkey version of the visual aditor is planned.

You should see the included example program tutorials' source codes for example of how to use the components in your own programs.


Requirements

Delphi 2009 and above with Graphics32 installed.


Installation

If Graphics32 is not already installed, install it - Graphics32 is a great component you might want to decide to use it.

Extract the .zip archives ('graphics32-code-2197-trunk.zip') from where you installed/extracted Sledge Process Library files to a folder.

Create a new package, menu: File/New/Package - Delphi, save it with a new name, menu: File/Save Project As.... for example 'PackageSledgeProcess.bpl'.
On the upper-right corner of the Delphi window right mouse click on the package name you saved as, and click on 'Add' from the pop-up menu and add 'SledgeProcess.pas', 'SledgeProcessEditor.pas' and 'SledgeProcessEditorPresets.pas'.
Add the directories to the all required .pas files to the search path too - Menu: Project/Options, select 'Delphi compiler', in the upper part of the window select 'All configuration', below click on 'Search path' and add the paths where you installed/extracted Graphics32 and Sledge Process Library files.
Right mouse click again on the package name and select 'Build', if successfull, again right mouse click and select 'Install'.

If everything went smooth the Sledge Process components will show up on the '3delite's Sledge Process' tab.


Hints

Image lists have 2 fixed icon indexes: Index 0 is for the 'Remove' and Index 1 is for the 'Clear all' tool button's icons.

'AutoFree' properties, if set to True, frees the input and output object classes accordingly after the connected task's worker function returns. Design Your implementation precisely if You wish to use this feature.



Sledge Process Library in shareware and commercial software?

The component is free for use in free software. If you like it and use it in a shareware or commercial (or any other money making - advertising, in app. selling, etc.) product you need one of the licenses.


Useful information


[Top]