This document will help you port your applications from DriveWorks CGF 5.12 to DriveWorks CGF 5.14.
The enumerators of the enum class dw::framework::MetadataFlags
have been changed.
The members of the struct dw::framework::ChannelMetadata
have been changed.
The deprecated classes dw::framework::SimpleProcessNode
and dw::framework::SimpleProcessNodeT
have been removed, use dw::framework::SimpleNode
and dw::framework::SimpleNodeT
instead.
The type dw::framework::Node::Name_t
has been removed, use dw::core::FixedString<dw::framework::Node::MAX_NAME_LEN>
instead.
The constants dw::framework::Node::MAX_PORT_COUNT
and dw::framework::Node::MAX_PASS_COUNT
as well as the default constructor of dw::framework::SimpleNode
have been removed. Instead invoke the constructor with dw::framework::NodeAllocationParams
which should be initialized with the number of ports and passes of the concrete node.
The following changes also apply to subclasses of the mentioned classes.
The method dw::framework::Node::setInputChannel()
with a dw::framework::dwSerializationType
argument has been removed.
The functions dw::framework::SimpleNode::initInputArrayPort()
and dw::framework::SimpleNode::initOutputArrayPort()
as well as the macros NODE_INIT_INPUT_ARRAY_PORT()
and NODE_INIT_OUTPUT_ARRAY_PORT()
have been renamed with an additional trailing s
/S
to indicate that all ports in the array are being initialized.
The following deprecated methods have been removed:
dw::framework::SimpleNode::createSetupPass()
, dw::framework::SimpleNode::createTeardownPass()
, dw::framework::SimpleNode::make_pass()
, and dw::framework::SimpleNode::addPass()
dw::framework::SimpleNode::registerPass()
insteaddw::framework::SimpleNode::make_port()
, use one of the following methods instead
The following methods have been split into multiple separate methods:
dw::framework::Node::getErrorSignal()
replaced by
dw::framework::Node::getHealthSignal()
replaced by
DW_REGISTER_NODE()
only support a single argument. The previously necessary second argument to distinguish multiple invocations of the macro in the same translation unit is not needed anymore.
dw::framework::Pass
requires the pass name as an additional constructor argument.
dw::framework::ManagedPortBase
as well as all of its subclasses require the port name as an additional constructor argument.
The enumerator dw::framework::PortDirection::COUNT
was removed from the enum class.
The method dw::framework::SyncPortHelper::setSyncRetriever()
has been removed.
Previously individual ports, passes and parameters of a node were described by a tuple. Those have been replaced by (templated) structs:
dw::framework::PortDescriptorT
dw::framework::PassDescriptorT
dw::framework::ParameterDescriptorT
dw::framework::ParameterDescriptorWithDefaultT
Accordingly, all constants referring to indices within the tuples have been removed.
The following methods are deprecated and will be removed in a future release: