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 want a LabVIEW icon under my name!


Member
Posts: 3
Joined: 1-February 08
Member No.: 10650
Using LabVIEW Since:2001
LV:8.5 ,. ,.
United States Cameroon 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: 1169
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

Reply to this topicStart new topic

 




Time is now: 3rd December 2008 - 08:56 AM