Compute Graph Framework SDK Reference  5.16
Porting Guide from CGF 5.14 to CGF 5.16

This document will help you port your applications from DriveWorks CGF 5.14 to DriveWorks CGF 5.16.

Node API

The method dw::framework::Node::getPasses(VectorFixed<Pass*>&, dwProcessorType) has been removed, use the same named function with only one argument instead and filter the returned collection.

The interfaces dw::framework::IAsyncResetable and dw::framework::IResetable have been removed.

The interface dw::framework::SimpleSensorNode has been removed, use dw::framework::ISensorNode instead.

The following global functions have been renamed to avoid ambiguity with the static functions of concrete nodes:

NodeFactory

The NodeFactory doesn't report registration errors in dw::framework::registerNode() anymore, which is commonly invoked at library load time. Instead an application should call dw::framework::hasRegistrationErrors() at runtime to check for registration errors.

Descriptors

Previously individual constructor arguments of a node were described by a tuple. They have been replaced by a (templated) struct:

Parameter Provider

The protected interface of dw::framework::JsonParameterProvider has been refactored for stricter type checking. User defined subclasses using that API will need to updated accordingly.

Miscellaneous

The enum class dw::framework::dwSerializationType and the related function dw:framework::dwSerializationTypeStringToEnumMap() have been removed from CGF since it was only used by a single node.