Migrate to New Agent API
This is a program that translates sc-machine usage from old API into new API.
Changed files include:
- cmake instructions that mention codegen;
- keynodes files with codegen;
- module files with codegen;
- agent files with codegen;
- in-line declarations of
SC_PROPERTY
; #include
statements with removed files;- outdated
scAgentsCommon::CoreKeynodes
usages; - outdated sc-events usages;
- deprecated methods usages;
- deprecated sc-types usages;
utils::AgentUtils
usages;- outdated agent registration and unregistration statements.
Example of usage:
There may be a situation when this program won't be able to replace code correctly, these places in code are marked with //todo(codegen-removal):