GDS(Goop Development Suite)

cancel
Showing results for 
Search instead for 
Did you mean: 

Idea:Add Class Event In GOOP

One class has three parts. Property,method,event.Class event is delegate in C# class and it is function pointer in C++ class.But I can not find it in GOOP.I think it can be implemented in labview used VI Ref and by ref class(See my file) . The class event can decouple 2 class and used frequency in OO.So I think it should be supported in GOOP Class.

0 Kudos
Message 1 of 4
(6,461 Views)

Hi,

I saw this post first now. All notifications was gone when NI updated the forum 😞

It's a bit like the observer pattern, does anybody else thing this would be useful?
I normally use interfaces (that OpenGDS supports), to solves notifications like this.
Any more thoughts about this feature?

Message 2 of 4
(6,306 Views)

Mikael,

 

I think this would be great if were implemented in GDS having it as one more of the design pattern options in there!

 

thanks

0 Kudos
Message 3 of 4
(6,271 Views)

Here is just a simple way to implement Events.

But this quick solution only works for ByRef classes.

 

0 Kudos
Message 4 of 4
(6,260 Views)