LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

Tags
This content has not been tagged yet
 
Reply to this topic Start new topic
> Support for Java-style interfaces in LabVOOP
PatNN
post Mar 11 2008, 05:23 AM
Post #1


I've come back for more.


Member
Posts: 2
Joined: 1-February 08
Member No.: 10650
Using LabVIEW Since:2001
LV:8.5 ,. ,.
Cameroon United States Nothing Selected


Been working on a large project using by-reference classes (OpenG LabVOOP templates). Got into situations where I wished LabVOOP had native support for interfaces to reduce coupling between the different classes without having to create intermediate classes all the time; an approach one can only take so far since LabVOOP doesn't support multiple inheritance (which, btw, is fine by me: just gimme interfaces).


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
Ad
post Mar 11 2008, 05:23 AM
Post #















Tags
This content has not been tagged yet
Go to the top of the page
Quote Post
Tomi Maila
post Mar 11 2008, 07:10 AM
Post #2


Drawing Tool - LVOOP example application
*****

Premium Member
Posts: 1159
Joined: 29-January 06
From: Helsinki
Member No.: 4014
Using LabVIEW Since:2004
LV:8.5.1 ,8.2.1 ,7.1.1
Finland Nothing Selected Nothing Selected My Blog


I prefer getting Scala style traits and mixin class composition instead of Java style interfaces. Practically traits are similar to interfaces but they can have private data of their own and method implementations as well. In mixin class composition the traits are included into some class in very much the same way as in multiple inheritance, however avoiding most of the problems of multiple inheritance.

--------------------
Tomi Maila



Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   7 Norm Kirchner 2122 8th June 2004 - 02:02 AM
Last post by: Michael_Aivaliotis
No New Posts   2 sam 2384 18th October 2005 - 09:48 AM
Last post by: rolfk
No New Posts   2 keiran 1563 20th June 2004 - 11:30 AM
Last post by: keiran
No New Posts   1 nil 1039 29th July 2004 - 03:15 PM
Last post by: Michael_Aivaliotis


Reply to this topicStart new topic

 




Time is now: 7th October 2008 - 08:03 AM