Actor Framework Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing a launched object in Actor Framework

Solved!
Go to solution

First I think bypassing the Enqueuer is a bad idea,

 

However

 

You talk about inheritance and having a parent class. Couldn't you just have a private FGV counter in the parent class? It would be shared by all Actors that inherit from that class. It could increment in Actor Core before the call parent method and the decrement afterwards.


Simple. Doesn't break the communication path.

Sam Taggart
CLA, CPI, CTD, LabVIEW Champion
DQMH Trusted Advisor
Read about my thoughts on Software Development at sasworkshops.com/blog
GCentral
0 Kudos
Message 11 of 12
(354 Views)

Just continuing the thought experiment...

 

That might work but then you limit things so that your messaging/launching tree needs to exactly mirror your inheritance hierarchy which, in most cases, probably isn't desirable. 

CLA CLED AF Guild
0 Kudos
Message 12 of 12
(349 Views)