LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

goop abstract function

Anybody with GOOP experience, are virtual or pure virtual functions
possible?

I have a classical application for abstraction very very similar to the
classic example of Instrument::play() where I want to put the definition in
instrument.flute, instrument.violin, etc. I only list such a cheesy example
because the real one is so much more boring and hard to understand.

I would most likely do this as a pure virtual in C++ so the correct function
executes and it modifies the correct data. Has anybody tried something like
that?

Likewise, has anybody seen much published about OO LV except the Timer
example I saw in a previous newsgroup thread? I'm a little bit lost on
getting anything done except encapsulation. Supposedly 6i has polymo
rphism
but I'm still using 5.1.1

-joey
0 Kudos
Message 1 of 1
(2,481 Views)