This document will help you port your applications from DriveWorks CGF 5.14 to DriveWorks CGF 5.16.
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:
dw::framework::describeParameters()
-> dw::framework::describeNodeParameters()
dw::framework::describePasses()
-> dw::framework::describeNodePasses()
dw::framework::describeInputPorts()
-> dw::framework::describeNodeInputPorts()
dw::framework::describeOutputPorts()
-> dw::framework::describeNodeOutputPorts()
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.
Previously individual constructor arguments of a node were described by a tuple. They have been replaced by a (templated) struct:
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.
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.