Compute Graph Framework SDK Reference  5.16
Porting Guide from CGF 5.10 to CGF 5.12

This document will help you port your applications from DriveWorks CGF 5.10 to DriveWorks CGF 5.12.

Catching Exceptions

A new public class dw::framework::ExceptionGuard has been introduced in dwcgf/Exception.hpp to provide the functionality of catching various exception types and converting them into error codes. This is replacing functionality previously provided by transitive includes of internal headers.

ChannelFactory

The function dw::framework::ChannelFactory::getEvent() was renamed to dw::framework::ChannelFactory::popError() and has a different signature.

Node API

The following (mostly deprecated) constants, members, methods, and types have been removed from the node classes:

The following methods have been renamed:

The following method has new required arguments:

The following methods have removed some arguments:

Parameter Description

The signatures of the following functions have changed, taking the array size as a template argument instead of a function argument:

Parameter Provider

API to retrieve parameters of type std::string have been removed from dw::framework::JsonParameterProvider.

Enum Type

dw::framework::dwSerializationType has been changed from an enum to an enum class.