Owning Palette: Commonly Overridden Methods (Actor Framework)
Requires: Base Development System
(Filename: Actor Framework.lvlib:Actor.lvclass:Pre Launch Init.vi)
Defines behavior that occurs after the Launch Nested Actor method is invoked but before the actor's Actor Core method begins running.
By default, this method does nothing. A descendant class may override it to define behavior.
Caution Do not use the Pre Launch Init method to call the Launch Root Actor method or the Launch Nested Actor method. Doing so causes this method to hang. Only use the Launch Root Actor VI from outside all Actor Framework VIs, and use the Launch Nested Actor VI from the Actor Core method. |
Actor in specifies the actor. | |
Actor out returns the actor. | |
error out contains error information. This output provides standard error out functionality. |
The Pre Launch Init method is guaranteed to finish before the Launch Nested Actor method returns to its caller and before the actor itself receives any messages. Any references that the Pre Launch Init method obtains are guaranteed to have the same lifetime as the actor itself. Any errors that the Pre Launch Init method returns will abort the launch.
Overrides of the Pre Launch Init method can use the actor's to-caller and to-self enqueuer.