ni / actor-framework

Open source repo for Actor Framework
MIT License
4 stars 1 forks source link

Cleanup #2

Closed niACS closed 2 weeks ago

niACS commented 2 weeks ago

This version is a major reorganization of the Actor Framework core libraries to facilitate PPL builds, with minimal changes to functionality.

  1. Almost all of the contents of AF Debug.lvlib have been moved into Actor Framework.lvlib. AF Debug.lvlib now only contains the code that sends traces to Desktop Execution Trace Toolkit and a few compatibility remnants. DETT trace code is now encapsulated in a class (DETT Format.lvclass) that inherits from an interface (Trace Format.lvlcass) that resides in Actor Framework.lvlib.

  2. Generate Trace.vi now dynamically loads a trace format. If no trace format is specified, Generate Trace.vi will load DETT Format.lvclass as the default. If users add the token AFDebugTraceFormat to their LabVIEW INI file, Generate Trace.vi will load that format instead. AFDebugTraceFormat is a path saved as a string.

  3. Actor registration has been streamlined; Actor.vi no longer has to send Register Actor Msg.lvclass to the new actor to complete registration. Registration is performed directly in Actor Core.vi, just before message handling starts.

  4. AF Debug.lvlib contains wrappers of the Protected Actor Handle and several utility VIs that exist to provide backward compatibility with existing toolkits.