LVOOP - HGF Base Class Library and Design Patterns [message #6902] |
Wed, 11 June 2008 13:20 |
|
Brand
Messages: 180 Registered: January 2004 Location: GSI - SB2 2.256
|
first-grade participant |
From: *gsi.de
|
|
Object oriented programming became available in LabVIEW with version 8.2.
I started a project to create a LVOOP base class library that can serve as a base for LVOOP projects. HGF is an abbreviation for Helmholz, GSI, FAIR.
Main focus of this library
- How to deal with LabVIEW objects as entities?
---> Factory
------> Named objects
------> Constructor and destructor
- How to prevent unintended object wire forks?
---> Reference, Singleton
---> Object Manager
---> Functional Global Variable & Visitor
- How to deal with Agents?
---> Separation of passive object data and active threads –> Thread Pool
---> Event handling
- How to overcome some technical restrictions?
---> Missing class information
---> Missing overloading -> Variant
---> Missing Multiple Inheritance -> Aggregation
---> Missing Interfaces -> Delegation
A first Version is available. The sources are published with GNU Public License (GPL) and can be downloaded here:
http://wiki.gsi.de/cgi-bin/view/NIUser/HGFBaseClassLibrary
Maybe you like it.
Regards Holger
|
|
|