Namespaces | |
semantic_parameter_types | |
Data Structures | |
class | Buffer |
class | BufferBase |
class | BufferCPU |
class | BufferCUDA |
struct | BufferProperties |
class | ChannelConnector |
class | ChannelFactory |
class | ChannelNvSciPacketDefault |
class | ChannelNvSciStreamParams |
class | ChannelObject |
class | ChannelPacket |
class | ChannelPacketBase |
class | ChannelPacketDefault |
class | ChannelPacketDefaultBase |
struct | ChannelPacketFingerprint |
class | ChannelParams |
class | ChannelSocketPacketBase |
class | ChannelSocketParams |
struct | ChannelTracePoint |
This struct records the info relating to a single event on a channel. More... | |
struct | ChannelTraceProcessParam |
class | ComputeGraph |
class | ComputeGraphImpl |
class | ContextParameterProvider |
A parameter provider for the dwContextHandle_t. More... | |
struct | dwGraphHealthSignal |
Basic health signal that describes the health status of the graph. More... | |
struct | dwGraphHealthSignalArray |
struct | dwKeyValuePair |
Defines a pair of a key and value used to provide additional debugging information to the dwGraphHealthSignal. More... | |
struct | EnumDescription |
class | Exception |
class | ExceptionSafeProcessNode |
class | ExceptionSafeSensorNode |
class | GenericData |
struct | GenericDataReference |
class | IAsyncResetable |
class | IChannelDebugConsumer |
class | IChannelDebugProducer |
class | IChannelPacket |
class | IChannelPacketFactory |
class | IContainsPreShutdownAction |
For nodes require extra actions to be taken before shutdown should implement this interface. More... | |
class | ITypeBasedParameterProviderChild |
The additional interface a ParameterProvider can implement so it can be registered at a TypeBasedParameterProvider. More... | |
struct | ITypeInformation |
class | JsonParameterProvider |
A parameter provider which retrieves parameter values from JSON data. More... | |
class | ManagedPortBase |
class | ManagedPortInput |
Derived ManagedPortInput<T> provides type-specific interfaces for accessing buffers. More... | |
class | ManagedPortInputBase |
Base class encapsulates ownership of buffers and interactions with channel in type-agnostic way. More... | |
class | ManagedPortOutput |
Derived ManagedPortOutput<T> provides type-specific interfaces for accessing buffers. More... | |
class | ManagedPortOutputBase |
Base class encapsulates ownership of buffers and interactions with channel in type-agnostic way. More... | |
class | Node |
struct | NodeAllocationParams |
class | NodeConcept |
The class only exists for documentation. More... | |
struct | packet_traits |
struct | parameter_traits |
class | ParameterCollectionDescriptor |
A collection of parameter descriptors. More... | |
class | ParameterDescriptor |
The description of a parameter. More... | |
class | ParameterDescriptorWithDefault |
The description of a parameter with a default value. More... | |
class | ParameterProvider |
The interface to access parameter values identified by name and/or (semantic) type. More... | |
class | Pass |
Pass is a runnable describes the metadata of a pass. More... | |
class | PassCollectionDescriptor |
A collection of pass descriptors. More... | |
class | PassDescriptor |
The description of a pass. More... | |
class | PassImpl |
PassImpl contains the function to invoke on run(). More... | |
class | Port |
class | PortBase |
class | PortCollectionDescriptor |
class | PortDescriptor |
class | PortInput |
PortInput mimics an Output Block. More... | |
class | PortOutput |
PortOutput mimics an Output Block. More... | |
class | ProcessNode |
struct | RegisteredPort |
class | RegisteredPortInput |
A specialization of PortInput that contains the port id. More... | |
class | RegisteredPortOutput |
A specialization of PortOutput that contains the port id. More... | |
class | SensorNode |
class | SimpleNode |
class | SimpleNodeT |
class | SimpleProcessNode |
class | SimpleProcessNodeT |
class | SimpleSensorNode |
class | SimpleSensorNodeT |
struct | SyncedPacketPayload |
struct | SyncPortHelper |
class | SyncPortHelperInput |
class | SyncPortHelperOutput |
class | TypeBasedParameterProvider |
A parameter provider which dispatches the retrieval of the parameter value to registered handlers which are selected based on the name, size, and optional array index of the parameter. More... | |
struct | TypeInformation |
Typedefs | |
using | BufferFlags = uint32_t |
using | ChannelOnRegisterTraceReader = dw::core::Function< ChannelTraceReadCallback(const char *channelID)> |
Callback used by channel to register its need to read trace points. More... | |
using | ChannelOnRegisterTraceWriter = dw::core::Function< ChannelTraceWriteCallback(const char *channelID)> |
Callback used by channel to register its need to write trace points. More... | |
using | ChannelPacketConstructor = dw::core::Function< std::unique_ptr< IChannelPacket >(GenericData dataSpecimen, dwContextHandle_t context)> |
using | ChannelPacketConstructorRegistration = std::pair< ChannelPacketConstructorSignature, ChannelPacketConstructor > |
using | ChannelPacketConstructorSignature = std::pair< ChannelPacketTypeID, ChannelType > |
using | ChannelPacketFactoryPtr = std::shared_ptr< IChannelPacketFactory > |
using | ChannelPacketTypeID = uint32_t |
using | ChannelParamStr = dw::core::FixedString< MAX_CHANNEL_PARAM_SIZE > |
using | ChannelTraceReadCallback = dw::core::Function< bool(ChannelTracePoint &)> |
Callback used by channel to read a tracepoint. More... | |
using | ChannelTraceWriteCallback = dw::core::Function< void(ChannelTracePoint)> |
Callback used by channel to write a tracepoint. More... | |
using | ChannelType = enum ChannelType :uint8_t { DW_CHANNEL_TYPE_SHMEM_LOCAL=0, DW_CHANNEL_TYPE_SHMEM_REMOTE=1, DW_CHANNEL_TYPE_EGLSTREAM=2, DW_CHANNEL_TYPE_SOCKET=3, DW_CHANNEL_TYPE_DDS=4, DW_CHANNEL_TYPE_NVSCI=5, } |
using | Connection = struct Connection { uint64_t srcNodeId |
using | CycleCountFetcher = dw::core::Function< uint32_t(void)> |
using | OnSetSyncAttrs = dw::core::Function< void(NvSciSyncAttrList)> |
Function signature to call back to the application to set the sync attributes when needed. More... | |
template<typename T > | |
using | UniquePacketPtr = typename ManagedPortInput< T >::UniquePacketPtr |
Functions | |
bool | BufferFlagsBackendEnabled (BufferFlags flags, BufferBackendType type) |
void | BufferFlagsEnableBackend (BufferFlags &flags, BufferBackendType type) |
uint32_t | ChannelTraceHashId (const char *id) |
void | ChannelTraceProcess (dw::core::span< ChannelTraceProcessParam > traces) |
Process recorded traces from a set of interconnected producers/consumers into a replayable format. More... | |
dwGraphHealthSignal | convertToGraphHealthSignal (const dwHealthSignal &signal) |
dwGraphHealthSignalArray | convertToGraphHealthSignalArray (const dwHealthSignalArray &signalArray) |
dwGraphState | convertToGraphState (dwHealthState state) |
dwGraphStateLevel | convertToGraphStateLevel (dwSeverityLevel level) |
template<typename NodeT > | |
auto | create (const ParameterProvider &provider) -> std::unique_ptr< NodeT > |
Instantiate a node using parameters from the passed provider. More... | |
template<typename NodeT > | |
NodeAllocationParams | createAllocationParams () |
template<typename NodeT > | |
auto | createConstructorArguments () |
Create a tuple of constructor argument needed by the constructor of the passed node. More... | |
static Connection | createInputOnly (uint64_t dstNodeId, uint8_t dstPortId, uint64_t channelId) |
std::unique_ptr< Node > | createNode (const dw::core::StringView &className, ParameterProvider &provider) |
static Connection | createOutputOnly (uint64_t srcNodeId, uint8_t srcPortId, uint64_t channelId) |
template<typename NodeT > | |
static ParameterCollectionDescriptor | createParameterCollectionDescriptor () |
Create a parameter collection descriptor for a give node. More... | |
template<typename NodeT > | |
static PassCollectionDescriptor | createPassCollectionDescriptor () |
Create a pass collection descriptor for a give node. More... | |
template<typename NodeT , PortDirection Direction, typename std::enable_if_t< Direction==PortDirection::INPUT, void > * = nullptr> | |
static PortCollectionDescriptor | createPortCollectionDescriptor () |
template<typename T > | |
constexpr auto | describeAbstractArrayParameter (dw::core::StringView const &&typeName, dw::core::StringView const &¶meterName, size_t arraySize) |
Describe an abstract array parameter. More... | |
template<typename T > | |
constexpr auto | describeAbstractParameter (dw::core::StringView const &&typeName, dw::core::StringView const &¶meterName) |
Describe an abstract parameter. More... | |
template<typename T , typename S , typename... MemberPointers> | |
constexpr auto | describeArrayParameter (dw::core::StringView const &&typeName, dw::core::StringView const &¶meterName, size_t arraySize, const MemberPointers &&... memberPointers) |
Describe an array parameter. More... | |
template<typename T , typename S , size_t ArraySize, typename... MemberPointers> | |
constexpr auto | describeArrayParameterWithDefault (dw::core::StringView const &&typeName, dw::core::StringView const &¶meterName, std::array< T, ArraySize > defaultValue, const MemberPointers &&... memberPointers) |
Describe an array parameter with a default value. More... | |
template<typename... Args> | |
constexpr auto | describeConstructorArgument (const Args &&... args) |
Describe a specific constructor argument of a node. More... | |
constexpr std::tuple | describeConstructorArguments () |
Describe the constructor arguments of a node. More... | |
template<typename Argument1T , typename Arg1 > | |
constexpr auto | describeConstructorArguments (const Arg1 &&arg1) |
Describe the constructor arguments of a node. More... | |
template<typename Argument1T , typename Argument2T , typename Arg1 , typename Arg2 > | |
constexpr auto | describeConstructorArguments (const Arg1 &&arg1, const Arg2 &&arg2) |
Describe the constructor arguments of a node. More... | |
template<typename Argument1T , typename Argument2T , typename Argument3T , typename Arg1 , typename Arg2 , typename Arg3 > | |
constexpr auto | describeConstructorArguments (const Arg1 &&arg1, const Arg2 &&arg2, const Arg3 &&arg3) |
Describe the constructor arguments of a node. More... | |
template<typename Argument1T , typename Argument2T , typename Argument3T , typename Argument4T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 > | |
constexpr auto | describeConstructorArguments (const Arg1 &&arg1, const Arg2 &&arg2, const Arg3 &&arg3, const Arg4 &&arg4) |
Describe the constructor arguments of a node. More... | |
template<typename Argument1T , typename Argument2T , typename Argument3T , typename Argument4T , typename Argument5T , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 > | |
constexpr auto | describeConstructorArguments (const Arg1 &&arg1, const Arg2 &&arg2, const Arg3 &&arg3, const Arg4 &&arg4, const Arg5 &&arg5) |
Describe the constructor arguments of a node. More... | |
template<typename EnumT > | |
constexpr auto | describeEnumerator (dw::core::StringView const &&name, EnumT value) |
Describe an enumerator. More... | |
template<typename EnumT , typename... Args> | |
constexpr auto | describeEnumeratorCollection (Args const &&... args) |
Describe the enumerators. More... | |
template<typename T , typename S , typename... MemberPointers> | |
constexpr auto | describeIndexParameter (dw::core::StringView const &&typeName, dw::core::StringView const &¶meterName, const MemberPointers &&... memberPointers) |
Describe an index parameter. More... | |
template<typename Node > | |
constexpr auto | describeInputPorts () |
template<typename Node > | |
constexpr auto | describeOutputPorts () |
template<typename T , typename S , typename... MemberPointers> | |
constexpr auto | describeParameter (dw::core::StringView const &&typeName, dw::core::StringView const &¶meterName, const MemberPointers &&... memberPointers) |
Describe a parameter. More... | |
template<typename NodeT > | |
constexpr auto | describeParameters () |
Get described parameters for the passed node. More... | |
template<typename T , typename S , typename... MemberPointers> | |
constexpr auto | describeParameterWithDefault (dw::core::StringView const &&typeName, dw::core::StringView const &¶meterName, T defaultValue, const MemberPointers &&... memberPointers) |
Describe a parameter with a default value. More... | |
constexpr std::tuple< dw::core::StringView, dwProcessorType > | describePass (dw::core::StringView const &&name, dwProcessorType processorType) |
Describe a specific pass of a node. More... | |
template<typename DependenciesT > | |
constexpr auto | describePass (dw::core::StringView const &&name, dwProcessorType processorType, DependenciesT dependencies) -> std::tuple< dw::core::StringView, dwProcessorType, DependenciesT > |
Describe a specific pass of a node with custom inter-pass dependencies. More... | |
template<typename... Args> | |
constexpr auto | describePassCollection (const Args &&... args) |
Describe the passes of a node. More... | |
template<typename... Args> | |
constexpr auto | describePassDependencies (const Args &&... args) -> std::array< dw::core::StringView, sizeof...(Args)> |
Describe the custom inter-pass dependencies of a pass. More... | |
template<typename Node > | |
constexpr auto | describePasses () |
Get described passes for the passed node. More... | |
template<typename PortType > | |
constexpr auto | describePort (dw::core::StringView typeName, dw::core::StringView name, PortBinding binding=PortBinding::OPTIONAL, dw::core::StringView comment=""_sv) |
template<typename PortType > | |
constexpr auto | describePort (dw::core::StringView typeName, dw::core::StringView name, dw::core::StringView comment) |
template<typename PortType , size_t ArraySize, typename std::enable_if_t< ArraySize !=0, void > * = nullptr> | |
constexpr auto | describePortArray (dw::core::StringView typeName, dw::core::StringView name, PortBinding binding=PortBinding::OPTIONAL, dw::core::StringView comment=""_sv) |
template<typename PortType , size_t ArraySize, typename std::enable_if_t< ArraySize !=0, void > * = nullptr> | |
constexpr auto | describePortArray (dw::core::StringView typeName, dw::core::StringView name, dw::core::StringView comment) |
template<typename... Args> | |
constexpr auto | describePortCollection (Args &&... args) |
template<typename Node , PortDirection Direction, typename std::enable_if_t< Direction==PortDirection::INPUT, void > * = nullptr> | |
constexpr auto | describePorts () |
template<typename T , typename S , typename... MemberPointers> | |
constexpr auto | describeUnnamedArrayParameter (dw::core::StringView const &&typeName, size_t arraySize, const MemberPointers &&... memberPointers) |
Describe an unnamed array parameter. More... | |
template<typename T , typename S , typename... MemberPointers> | |
constexpr auto | describeUnnamedParameter (dw::core::StringView const &&typeName, const MemberPointers &&... memberPointers) |
Describe an unnamed parameter. More... | |
template<typename Node , PortDirection Direction, size_t PortIndex> | |
constexpr size_t | descriptorIndex () |
template<typename Node , PortDirection Direction, size_t DescriptorIndex> | |
constexpr bool | descriptorPortArray () |
template<typename Node , PortDirection Direction, size_t DescriptorIndex> | |
constexpr PortBinding | descriptorPortBinding () |
template<typename Node , PortDirection Direction, size_t DescriptorIndex> | |
constexpr dw::core::StringView | descriptorPortComment () |
template<typename Node , PortDirection Direction, size_t DescriptorIndex> | |
constexpr size_t | descriptorPortSize () |
SyncedPacketPayload * | extractSyncPacket (GenericData packet) |
const PortCollectionDescriptor & | getInputPorts (const dw::core::StringView &className) |
dw::core::HeapVectorFixed< dw::core::StringView > | getNodeNames () |
const PortCollectionDescriptor & | getOutputPorts (const dw::core::StringView &className) |
const ParameterCollectionDescriptor & | getParameters (const dw::core::StringView &className) |
const PassCollectionDescriptor & | getPasses (const dw::core::StringView &className) |
template<typename Node , size_t Index> | |
constexpr bool | hasPassDependencies () |
Check if a pass specifies explicit dependencies. More... | |
constexpr bool | IsConsumer (ChannelRole role) |
constexpr bool | IsProducer (ChannelRole role) |
template<typename Node > | |
constexpr bool | isValidPass (std::size_t passID) |
Check if pass index is valid. More... | |
template<typename Node > | |
constexpr bool | isValidPass (dw::core::StringView identifier) |
Check if given string is a valid pass name. More... | |
template<typename Node , PortDirection Direction> | |
constexpr bool | isValidPort (std::size_t portID) |
template<typename Node , PortDirection Direction> | |
constexpr bool | isValidPort (StringView identifier) |
template<typename T > | |
static GenericDataReference | make_specimen (typename parameter_traits< T >::SpecimenT *specimen) |
template<typename NodeT , class ConstructorArguments > | |
auto | makeUniqueFromTuple (const ConstructorArguments &&constructorArguments) -> std::unique_ptr< NodeT > |
Instantiate a node using the passed constructor arguments. More... | |
template<typename EnumT > | |
auto | mapEnumNameToValue (dw::core::StringView const &name) -> EnumT |
Get the enumerator value based on the name. More... | |
template<typename EnumT > | |
dw::core::StringView | mapEnumValueToName (EnumT value) |
Get the enumerator name based on the value. More... | |
const char * | nvSciGetErrorName (uint32_t error) |
const char * | nvSciGetEventName (uint32_t event) |
constexpr ChannelNvSciStreamEnabledComponents | operator & (ChannelNvSciStreamEnabledComponents a, ChannelNvSciStreamEnabledComponents b) |
std::ostream & | operator<< (std::ostream &os, dwGraphState state) |
std::ostream & | operator<< (std::ostream &os, dwGraphStateLevel level) |
std::ostream & | operator<< (std::ostream &os, const dwGraphHealthSignal &signal) |
constexpr ChannelNvSciStreamEnabledComponents | operator| (ChannelNvSciStreamEnabledComponents a, ChannelNvSciStreamEnabledComponents b) |
template<typename NodeT > | |
constexpr std::size_t | parameterSize () |
Get the number of parameters for a given node. More... | |
template<typename... Others> | |
static void | ParseAllChannelParameters (const ChannelParamStr &channelParams, Others &&... others) |
template<typename T > | |
static T | ParseChannelParameter (const ChannelParamStr &value) |
template<> | |
ChannelNvSciStreamEnabledComponents | ParseChannelParameter (const ChannelParamStr &value) |
template<> | |
ChannelConnectionType | ParseChannelParameter (const ChannelParamStr &value) |
template<> | |
ChannelReach | ParseChannelParameter (const ChannelParamStr &value) |
template<> | |
int64_t | ParseChannelParameter (const ChannelParamStr &value) |
template<> | |
size_t | ParseChannelParameter (const ChannelParamStr &value) |
template<> | |
uint32_t | ParseChannelParameter (const ChannelParamStr &value) |
template<> | |
uint16_t | ParseChannelParameter (const ChannelParamStr &value) |
template<> | |
bool | ParseChannelParameter (const ChannelParamStr &value) |
template<> | |
ChannelRole | ParseChannelParameter (const ChannelParamStr &value) |
template<> | |
ChannelType | ParseChannelParameter (const ChannelParamStr &value) |
template<> | |
ChannelMode | ParseChannelParameter (const ChannelParamStr &value) |
template<typename T > | |
void | ParseChannelParameter (const ChannelParamStr &value, T &result) |
template<size_t Size> | |
void | ParseChannelParameter (const ChannelParamStr &value, dw::core::FixedString< Size > &result) |
template<typename T , size_t N> | |
void | ParseChannelParameter (const ChannelParamStr &value, dw::core::VectorFixed< T, N > &result) |
static void | ParseChannelParameters (const ChannelParamStr &, const ChannelParamStr &) |
template<typename T , typename... Others> | |
static void | ParseChannelParameters (const ChannelParamStr &key, const ChannelParamStr &value, const char *staticKey, T &result, Others &&... others) |
template<typename Node , size_t Index, typename std::enable_if_t< hasPassDependencies< Node, Index >(), void > * = nullptr> | |
constexpr auto | passDependencies () |
Get the dependencies of a pass. More... | |
template<typename Node > | |
constexpr size_t | passIndex (dw::core::StringView identifier) |
Get the the pass index for a pass identified by name. More... | |
template<typename Node , size_t Index> | |
constexpr dw::core::StringView | passName () |
Get the name of a pass. More... | |
template<typename Node , size_t Index> | |
constexpr dwProcessorType | passProcessorType () |
Get the processor type of a pass. More... | |
template<typename Node > | |
constexpr std::size_t | passSize () |
Get the number of passes of the passed node. More... | |
template<typename NodeT , class ConstructorArguments , typename std::enable_if_t< std::tuple_size< ConstructorArguments >()==1, void > * = nullptr> | |
void | populateParameters (ConstructorArguments &constructorArguments, const ParameterProvider &provider) |
Populate the constructor arguments using values from the parameter provider. More... | |
template<typename Node , PortDirection Direction> | |
constexpr size_t | portArraySize (StringView identifier) |
template<typename Node , PortDirection Direction> | |
constexpr size_t | portDescriptorIndex (StringView identifier) |
template<typename Node , PortDirection Direction> | |
constexpr std::size_t | portDescriptorSize () |
template<typename Node , PortDirection Direction, size_t DescriptorIndex> | |
constexpr auto | portDescriptorType () |
template<typename Node , PortDirection Direction> | |
constexpr size_t | portIndex (StringView identifier) |
template<typename Node , PortDirection Direction> | |
constexpr std::size_t | portSize () |
template<typename Node , PortDirection Direction, size_t PortIndex> | |
constexpr auto | portType () |
template<typename NodeT > | |
void | registerNode (const char *className) |
static const char * | ToParam (ChannelType channelType) |
Variables | |
uint64_t | channelId |
static constexpr dwTime_t | CHN_WAIT_TIMEOUT_US = 50'000'000 |
const uint64_t | CONNECTION_DISCONNECTED = static_cast<uint64_t>(-1) |
uint64_t | dstNodeId |
uint8_t | dstPortId |
static const uint32_t | DW_NODE_STATE_MAX_ERROR_COUNT = 16 |
static const uint32_t | DW_NODE_STATE_MAX_ERROR_STRING_LENGTH = 256 |
static const uint32_t | DW_NODE_STATE_MAX_KEY_VALUE_PAIR = 16 |
constexpr ChannelPacketTypeID | DWFRAMEWORK_PACKET_ID_DEFAULT = 0U |
constexpr uint32_t | DWFRAMEWORK_SYNCED_PACKET_TYPE_ID_OFFSET = 0x80000000 |
static constexpr uint16_t | MAX_CHANNEL_ALL_PARAMS_SIZE = 256 |
static constexpr uint16_t | MAX_CHANNEL_CONSUMERS_COUNT = 256 |
static constexpr uint16_t | MAX_CHANNEL_PARAM_SIZE = 256 |
static constexpr uint16_t | MAX_CHANNEL_PRODUCERS_COUNT = 1024 |
static constexpr size_t | MAX_PORT_DESCRIPTOR_PER_COLLECTION = 256U |
static constexpr size_t | PARAMETER_ARRAY_SIZE {5U} |
static constexpr size_t | PARAMETER_CONSTRUCTOR_ARGUMENT_DESCRIPTOR {1U} |
static constexpr size_t | PARAMETER_CONSTRUCTOR_ARGUMENT_TYPE {0U} |
static constexpr size_t | PARAMETER_DEFAULT_VALUE {7U} |
static constexpr size_t | PARAMETER_IS_INDEX {4U} |
static constexpr size_t | PARAMETER_MEMBER_PTRS {6U} |
static constexpr size_t | PARAMETER_NAME {1U} |
static constexpr size_t | PARAMETER_SEMANTIC_TYPE {3U} |
static constexpr size_t | PARAMETER_TYPE {2U} |
static constexpr size_t | PARAMETER_TYPE_NAME {0U} |
static constexpr size_t | PASS_DEPENDENCIES {2U} |
static constexpr size_t | PASS_NAME {0U} |
static constexpr size_t | PASS_PROCESSOR_TYPE {1U} |
static constexpr size_t | PORT_ARRAY_SIZE = 3 |
static constexpr size_t | PORT_BINDING = 4 |
static constexpr size_t | PORT_COMMENT = 5 |
static constexpr size_t | PORT_NAME = 1 |
static constexpr size_t | PORT_TYPE = 2 |
static constexpr size_t | PORT_TYPE_NAME = 0 |
uint8_t | srcPortId |
struct dw::framework::BufferProperties |
Data Fields | ||
---|---|---|
size_t | byteSize | |
BufferFlags | enabledBackends |
struct dw::framework::ChannelPacketFingerprint |
struct dw::framework::ChannelTracePoint |
Data Fields | ||
---|---|---|
ChannelTraceEventType | eventType | The type of the event recorded in this trace point. |
ChannelPacketFingerprint | packetFingerprint | The fingerprint of the packet involved in the event. |
dwStatus | status | The status returned to the client (for events involving client interaction) |
struct dw::framework::ChannelTraceProcessParam |
Data Fields | ||
---|---|---|
uint32_t | channelID | The trace ID of the channel to be processed. |
ChannelTraceReadCallback | input | Iterator to read the recorded traces of the channel to be processed. |
ChannelTraceWriteCallback | output | Iterator to write the replayable traces of the channel to be processed. |
struct dw::framework::dwGraphHealthSignal |
Data Fields | ||
---|---|---|
uint32_t | nValues | |
dwGraphStateLevel | severity | |
char | source[DW_NODE_STATE_MAX_ERROR_STRING_LENGTH] | |
dwGraphState | state | |
dwTime_t | timestamp | |
dwKeyValuePair | values[DW_NODE_STATE_MAX_KEY_VALUE_PAIR] |
struct dw::framework::dwGraphHealthSignalArray |
Data Fields | ||
---|---|---|
uint32_t | count | |
dwGraphHealthSignal | signal[DW_NODE_STATE_MAX_ERROR_COUNT] |
struct dw::framework::dwKeyValuePair |
Data Fields | ||
---|---|---|
char | key[DW_NODE_STATE_MAX_ERROR_STRING_LENGTH] | |
char | value[DW_NODE_STATE_MAX_ERROR_STRING_LENGTH] |
struct dw::framework::GenericDataReference |
Data Fields | ||
---|---|---|
GenericData | data | |
ChannelPacketTypeID | packetTypeID | |
shared_ptr< void > | pCopy | |
OnSetSyncAttrs | setSignalerAttributes | |
OnSetSyncAttrs | setWaiterAttributes | |
size_t | typeSize |
struct dw::framework::NodeAllocationParams |
struct dw::framework::packet_traits |
struct dw::framework::SyncedPacketPayload |
Data Fields | ||
---|---|---|
GenericData | data | |
uint32_t | syncCount |
using dw::framework::BufferFlags = typedef uint32_t |
Definition at line 52 of file Buffer.hpp.
using dw::framework::ChannelOnRegisterTraceReader = typedef dw::core::Function<ChannelTraceReadCallback(const char* channelID)> |
Callback used by channel to register its need to read trace points.
[in] | channelID | - the id of the channel requesting a callback to read tracepoints. |
Definition at line 165 of file ChannelTrace.hpp.
using dw::framework::ChannelOnRegisterTraceWriter = typedef dw::core::Function<ChannelTraceWriteCallback(const char* channelID)> |
Callback used by channel to register its need to write trace points.
[in] | channelID | - the id of the channel requesting a callback to write tracepoints. |
Definition at line 158 of file ChannelTrace.hpp.
using dw::framework::ChannelPacketConstructor = typedef dw::core::Function<std::unique_ptr<IChannelPacket>(GenericData dataSpecimen, dwContextHandle_t context)> |
Definition at line 44 of file ChannelFactory.hpp.
using dw::framework::ChannelPacketConstructorRegistration = typedef std::pair<ChannelPacketConstructorSignature, ChannelPacketConstructor> |
Definition at line 46 of file ChannelFactory.hpp.
using dw::framework::ChannelPacketConstructorSignature = typedef std::pair<ChannelPacketTypeID, ChannelType> |
Definition at line 45 of file ChannelFactory.hpp.
using dw::framework::ChannelPacketFactoryPtr = typedef std::shared_ptr<IChannelPacketFactory> |
Definition at line 261 of file IChannelPacket.hpp.
using dw::framework::ChannelPacketTypeID = typedef uint32_t |
Definition at line 129 of file ChannelPacketTypes.hpp.
using dw::framework::ChannelParamStr = typedef dw::core::FixedString<MAX_CHANNEL_PARAM_SIZE> |
Definition at line 112 of file ChannelParameters.hpp.
using dw::framework::ChannelTraceReadCallback = typedef dw::core::Function<bool(ChannelTracePoint&)> |
Callback used by channel to read a tracepoint.
Upstream application must implement this callback uniquely for each channel to replay traces.
Definition at line 151 of file ChannelTrace.hpp.
using dw::framework::ChannelTraceWriteCallback = typedef dw::core::Function<void(ChannelTracePoint)> |
Callback used by channel to write a tracepoint.
Upstream application must implement this callback uniquely for each channel to record traces.
Definition at line 144 of file ChannelTrace.hpp.
using dw::framework::ChannelType = typedef enum ChannelType : uint8_t { DW_CHANNEL_TYPE_SHMEM_LOCAL = 0, DW_CHANNEL_TYPE_SHMEM_REMOTE = 1, DW_CHANNEL_TYPE_EGLSTREAM = 2, DW_CHANNEL_TYPE_SOCKET = 3, DW_CHANNEL_TYPE_DDS = 4, DW_CHANNEL_TYPE_NVSCI = 5, } |
Definition at line 57 of file ChannelParameters.hpp.
using dw::framework::Connection = typedef struct Connection { uint64_t srcNodeId |
Definition at line 45 of file Connection.hpp.
using dw::framework::CycleCountFetcher = typedef dw::core::Function<uint32_t(void)> |
Definition at line 42 of file SyncPortHelper.hpp.
using dw::framework::OnSetSyncAttrs = typedef dw::core::Function<void(NvSciSyncAttrList)> |
Function signature to call back to the application to set the sync attributes when needed.
Definition at line 174 of file ChannelPacketTypes.hpp.
using dw::framework::UniquePacketPtr = typedef typename ManagedPortInput<T>::UniquePacketPtr |
Definition at line 506 of file ManagedPort.hpp.
|
strong |
Enumerator | |
---|---|
CPU | |
CUDA |
Definition at line 45 of file Buffer.hpp.
|
strong |
Enumerator | |
---|---|
CONNECTION_TYPE_NONE | |
CONNECTION_TYPE_STATIC | |
CONNECTION_TYPE_DYNAMIC |
Definition at line 140 of file ChannelParameters.hpp.
|
strong |
Enumerator | |
---|---|
FIFO | |
MAILBOX | |
SINGLETON |
Definition at line 114 of file ChannelParameters.hpp.
|
strong |
Enumerator | |
---|---|
COMPONENT_NONE | |
COMPONENT_CPU | |
COMPONENT_EGL | |
COMPONENT_CUDA | |
COMPONENT_PVA | |
COMPONENT_DLA | |
COMPONENT_NVMEDIA |
Definition at line 127 of file ChannelParameters.hpp.
|
strong |
Enumerator | |
---|---|
REACH_NONE | |
REACH_THREAD | |
REACH_PROCESS | |
REACH_VM | |
REACH_CHIP |
Definition at line 150 of file ChannelParameters.hpp.
|
strong |
Enumerator | |
---|---|
DW_CHANNEL_ROLE_UNKNOWN | |
DW_CHANNEL_ROLE_PRODUCER | |
DW_CHANNEL_ROLE_CONSUMER | |
DW_CHANNEL_ROLE_COMPOSITE |
Definition at line 89 of file ChannelParameters.hpp.
|
strong |
Enumerator | |
---|---|
WAIT | |
RECV | |
RELEASE | |
DROP | |
GET | |
SEND | |
RETURN |
Definition at line 43 of file ChannelTrace.hpp.
|
strong |
A channel is created with a particular mode for these traces.
Definition at line 109 of file ChannelTrace.hpp.
|
strong |
Enumerator | |
---|---|
TRAVERSAL_ORDER_BREADTH_FIRST | |
TRAVERSAL_ORDER_DEPTH_FIRST |
Definition at line 195 of file ComputeGraphImpl.hpp.
|
strong |
Enumerator | |
---|---|
DEFAULT | |
NUM_TYPES |
Definition at line 158 of file ChannelPacketTypes.hpp.
Enumerated levels describing the status of the graph.
Enumerator | |
---|---|
DW_GRAPH_STATE_UNKNOWN | |
DW_GRAPH_STATE_OK | |
DW_GRAPH_STATE_WARN | |
DW_GRAPH_STATE_ERROR |
Definition at line 47 of file GraphHealthSignal.hpp.
Enumerated levels of severity describing the consequence of the graph signal on the entire system.
Enumerator | |
---|---|
DW_GRAPH_STATE_LEVEL_UNKNOWN | |
DW_GRAPH_STATE_LEVEL_LOW | |
DW_GRAPH_STATE_LEVEL_MEDIUM | |
DW_GRAPH_STATE_LEVEL_HIGH | |
DW_GRAPH_STATE_LEVEL_CRITICAL |
Definition at line 57 of file GraphHealthSignal.hpp.
|
strong |
Enumerator | |
---|---|
OPTIONAL | |
REQUIRED |
Definition at line 64 of file PortDescriptor.hpp.
enum dw::framework::PortDirection : uint8_t |
|
inline |
Definition at line 54 of file Buffer.hpp.
Referenced by dw::framework::Buffer::Buffer().
|
inline |
Definition at line 59 of file Buffer.hpp.
uint32_t dw::framework::ChannelTraceHashId | ( | const char * | id | ) |
void dw::framework::ChannelTraceProcess | ( | dw::core::span< ChannelTraceProcessParam > | traces | ) |
Process recorded traces from a set of interconnected producers/consumers into a replayable format.
For every SEND event: find the corresponding RECV events. When replaying, place the corresponding RECV events for a SEND event immediately before the SEND event. Also, replace the channelID field of the RECV packet fingerprints with the channelID of the corresponding trace log it appears. For example: If producer A sends packet 0 and 1 to consumers B and C. B receives 0 and 1, C receives only 1. The recording of the trace events will look like so: In A's trace record: SEND, A, 0 SEND, A, 1
In B's trace replay: RECV, A, 0 RECV, A, 1
In C's trace replay: RECV, A, 1
After processing with this function, replaying the trace will look like so In A's trace replay: RECV, B, 0 SEND, A, 0 RECV, B, 1 RECV, C, 1 SEND, A, 1
In B's trace replay: RECV, A, 0 RECV, A, 1
In C's trace replay: RECV, A, 1
This allows replay channel to set mask of which consumers a packet should be sent to.
RECV,GET,RELEASE event: copy it to the replay.
DROPS are removed as they are ignored in replay.
[in,out] | traces | the traces to be processed into replay state |
dwGraphHealthSignal dw::framework::convertToGraphHealthSignal | ( | const dwHealthSignal & | signal | ) |
dwGraphHealthSignalArray dw::framework::convertToGraphHealthSignalArray | ( | const dwHealthSignalArray & | signalArray | ) |
dwGraphState dw::framework::convertToGraphState | ( | dwHealthState | state | ) |
dwGraphStateLevel dw::framework::convertToGraphStateLevel | ( | dwSeverityLevel | level | ) |
auto dw::framework::create | ( | const ParameterProvider & | provider | ) | -> std::unique_ptr<NodeT> |
Instantiate a node using parameters from the passed provider.
Syntactic sugar chaining the following calls:
Definition at line 1000 of file ParameterDescriptor.hpp.
References parameterSize().
NodeAllocationParams dw::framework::createAllocationParams | ( | ) |
Definition at line 68 of file SimpleNode.hpp.
References dw::framework::NodeAllocationParams::maxInputPortCount, dw::framework::NodeAllocationParams::maxOutputPortCount, and dw::framework::NodeAllocationParams::maxPassCount.
auto dw::framework::createConstructorArguments | ( | ) |
Create a tuple of constructor argument needed by the constructor of the passed node.
Definition at line 966 of file ParameterDescriptor.hpp.
References makeUniqueFromTuple().
|
static |
Definition at line 50 of file Connection.hpp.
References channelId, CONNECTION_DISCONNECTED, dstNodeId, and dstPortId.
std::unique_ptr<Node> dw::framework::createNode | ( | const dw::core::StringView & | className, |
ParameterProvider & | provider | ||
) |
|
static |
Definition at line 63 of file Connection.hpp.
References channelId, CONNECTION_DISCONNECTED, and srcPortId.
|
static |
Create a parameter collection descriptor for a give node.
Definition at line 286 of file ParameterCollectionDescriptor.hpp.
References dw::framework::ParameterCollectionDescriptor::addDescriptors().
|
static |
Create a pass collection descriptor for a give node.
Definition at line 161 of file PassCollectionDescriptor.hpp.
|
static |
Definition at line 150 of file PortCollectionDescriptor.hpp.
constexpr auto dw::framework::describeAbstractArrayParameter | ( | dw::core::StringView const && | typeName, |
dw::core::StringView const && | parameterName, | ||
size_t | arraySize | ||
) |
Describe an abstract array parameter.
The values aren't stored anywhere automatically but the nodes create() function should retrieve the parameters from the provider and use custom logic to use the values.
Definition at line 308 of file ParameterDescriptor.hpp.
constexpr auto dw::framework::describeAbstractParameter | ( | dw::core::StringView const && | typeName, |
dw::core::StringView const && | parameterName | ||
) |
Describe an abstract parameter.
The value isn't stored anywhere automatically but the nodes create() function should retrieve the parameter from the provider and use custom logic to use the value.
Definition at line 290 of file ParameterDescriptor.hpp.
constexpr auto dw::framework::describeArrayParameter | ( | dw::core::StringView const && | typeName, |
dw::core::StringView const && | parameterName, | ||
size_t | arraySize, | ||
const MemberPointers &&... | memberPointers | ||
) |
Describe an array parameter.
Regarding the member pointers see describeParameter().
Definition at line 385 of file ParameterDescriptor.hpp.
constexpr auto dw::framework::describeArrayParameterWithDefault | ( | dw::core::StringView const && | typeName, |
dw::core::StringView const && | parameterName, | ||
std::array< T, ArraySize > | defaultValue, | ||
const MemberPointers &&... | memberPointers | ||
) |
Describe an array parameter with a default value.
Definition at line 525 of file ParameterDescriptor.hpp.
constexpr auto dw::framework::describeConstructorArgument | ( | const Args &&... | args | ) |
Describe a specific constructor argument of a node.
The function is used to create the arguments for describeConstructorArguments(). Each argument of the function is created by one of the describe parameter functions below.
Definition at line 190 of file ParameterDescriptor.hpp.
constexpr std::tuple dw::framework::describeConstructorArguments | ( | ) |
Describe the constructor arguments of a node.
The function is used to implement NodeConcept::describeParameters(). Each argument of the function is created by describeConstructorArgument().
Definition at line 58 of file ParameterDescriptor.hpp.
constexpr auto dw::framework::describeConstructorArguments | ( | const Arg1 && | arg1 | ) |
Describe the constructor arguments of a node.
The function is used to implement NodeConcept::describeParameters(). Each argument of the function is created by describeConstructorArgument().
Definition at line 73 of file ParameterDescriptor.hpp.
constexpr auto dw::framework::describeConstructorArguments | ( | const Arg1 && | arg1, |
const Arg2 && | arg2 | ||
) |
Describe the constructor arguments of a node.
The function is used to implement NodeConcept::describeParameters(). Each argument of the function is created by describeConstructorArgument().
Definition at line 91 of file ParameterDescriptor.hpp.
constexpr auto dw::framework::describeConstructorArguments | ( | const Arg1 && | arg1, |
const Arg2 && | arg2, | ||
const Arg3 && | arg3 | ||
) |
Describe the constructor arguments of a node.
The function is used to implement NodeConcept::describeParameters(). Each argument of the function is created by describeConstructorArgument().
Definition at line 112 of file ParameterDescriptor.hpp.
constexpr auto dw::framework::describeConstructorArguments | ( | const Arg1 && | arg1, |
const Arg2 && | arg2, | ||
const Arg3 && | arg3, | ||
const Arg4 && | arg4 | ||
) |
Describe the constructor arguments of a node.
The function is used to implement NodeConcept::describeParameters(). Each argument of the function is created by describeConstructorArgument().
Definition at line 136 of file ParameterDescriptor.hpp.
constexpr auto dw::framework::describeConstructorArguments | ( | const Arg1 && | arg1, |
const Arg2 && | arg2, | ||
const Arg3 && | arg3, | ||
const Arg4 && | arg4, | ||
const Arg5 && | arg5 | ||
) |
Describe the constructor arguments of a node.
The function is used to implement NodeConcept::describeParameters(). Each argument of the function is created by describeConstructorArgument().
Definition at line 163 of file ParameterDescriptor.hpp.
constexpr auto dw::framework::describeEnumerator | ( | dw::core::StringView const && | name, |
EnumT | value | ||
) |
Describe an enumerator.
This function is used to create arguments for describeEnumeratorCollection(). To avoid having to specify both explicitly - the enumerator name as well as the value - the macro DW_DESCRIBE_ENUMERATOR() is used.
[in] | name | The enumerator name |
[in] | value | The enumerator value |
Definition at line 123 of file EnumDescriptor.hpp.
constexpr auto dw::framework::describeEnumeratorCollection | ( | Args const &&... | args | ) |
Describe the enumerators.
This function is used in specializations of EnumDescription::get() to describe all enumerators.
args | Each argument describes an enumerator created by describeEnumerator() |
Definition at line 105 of file EnumDescriptor.hpp.
constexpr auto dw::framework::describeIndexParameter | ( | dw::core::StringView const && | typeName, |
dw::core::StringView const && | parameterName, | ||
const MemberPointers &&... | memberPointers | ||
) |
Describe an index parameter.
The value represent an index which is used to retrieve a specific item from an array parameter identified by the semantic type. Regarding the member pointers see describeParameter().
Definition at line 346 of file ParameterDescriptor.hpp.
constexpr auto dw::framework::describeInputPorts | ( | ) |
Definition at line 132 of file PortDescriptor.hpp.
constexpr auto dw::framework::describeOutputPorts | ( | ) |
Definition at line 138 of file PortDescriptor.hpp.
constexpr auto dw::framework::describeParameter | ( | dw::core::StringView const && | typeName, |
dw::core::StringView const && | parameterName, | ||
const MemberPointers &&... | memberPointers | ||
) |
Describe a parameter.
The value is stored within the constructor argument where this parameter is described in (see describeConstructorArgument()). When no member pointers are provided the value is stored directly in the constructor argument. When one member pointer is provided the value is stored in that member of the constructor argument. When more than one member pointer is provided the value is stored in the recursive member of the constructor argument.
Definition at line 251 of file ParameterDescriptor.hpp.
constexpr auto dw::framework::describeParameters | ( | ) |
Get described parameters for the passed node.
Definition at line 542 of file ParameterDescriptor.hpp.
References dw::framework::ParameterProvider::getOptional(), dw::framework::Exception::messageStr(), PARAMETER_ARRAY_SIZE, PARAMETER_CONSTRUCTOR_ARGUMENT_DESCRIPTOR, PARAMETER_DEFAULT_VALUE, PARAMETER_MEMBER_PTRS, PARAMETER_SEMANTIC_TYPE, PARAMETER_TYPE, populateParameters(), and dw::framework::Exception::status().
constexpr auto dw::framework::describeParameterWithDefault | ( | dw::core::StringView const && | typeName, |
dw::core::StringView const && | parameterName, | ||
T | defaultValue, | ||
const MemberPointers &&... | memberPointers | ||
) |
Describe a parameter with a default value.
See describeParameter().
Definition at line 490 of file ParameterDescriptor.hpp.
constexpr std::tuple<dw::core::StringView, dwProcessorType> dw::framework::describePass | ( | dw::core::StringView const && | name, |
dwProcessorType | processorType | ||
) |
Describe a specific pass of a node.
The function is used to create the arguments for describePassCollection().
Definition at line 75 of file PassDescriptor.hpp.
constexpr auto dw::framework::describePass | ( | dw::core::StringView const && | name, |
dwProcessorType | processorType, | ||
DependenciesT | dependencies | ||
) | -> std::tuple<dw::core::StringView, dwProcessorType, DependenciesT> |
Describe a specific pass of a node with custom inter-pass dependencies.
The function is used to create the arguments for describePassCollection(). The dependencies argument is created by describePassDependencies().
Definition at line 92 of file PassDescriptor.hpp.
constexpr auto dw::framework::describePassCollection | ( | const Args &&... | args | ) |
Describe the passes of a node.
The function is used to implement NodeConcept::describePasses(). Each argument of the function is created by describePass().
Definition at line 55 of file PassDescriptor.hpp.
constexpr auto dw::framework::describePassDependencies | ( | const Args &&... | args | ) | -> std::array<dw::core::StringView, sizeof...(Args)> |
Describe the custom inter-pass dependencies of a pass.
The function is used to create the dependencies argument for describePass().
Definition at line 107 of file PassDescriptor.hpp.
constexpr auto dw::framework::describePasses | ( | ) |
Get described passes for the passed node.
Definition at line 114 of file PassDescriptor.hpp.
constexpr auto dw::framework::describePort | ( | dw::core::StringView | typeName, |
dw::core::StringView | name, | ||
PortBinding | binding = PortBinding::OPTIONAL , |
||
dw::core::StringView | comment = ""_sv |
||
) |
Definition at line 74 of file PortDescriptor.hpp.
constexpr auto dw::framework::describePort | ( | dw::core::StringView | typeName, |
dw::core::StringView | name, | ||
dw::core::StringView | comment | ||
) |
Definition at line 87 of file PortDescriptor.hpp.
References OPTIONAL.
constexpr auto dw::framework::describePortArray | ( | dw::core::StringView | typeName, |
dw::core::StringView | name, | ||
PortBinding | binding = PortBinding::OPTIONAL , |
||
dw::core::StringView | comment = ""_sv |
||
) |
Definition at line 103 of file PortDescriptor.hpp.
constexpr auto dw::framework::describePortArray | ( | dw::core::StringView | typeName, |
dw::core::StringView | name, | ||
dw::core::StringView | comment | ||
) |
Definition at line 119 of file PortDescriptor.hpp.
References OPTIONAL.
constexpr auto dw::framework::describePortCollection | ( | Args &&... | args | ) |
Definition at line 52 of file PortDescriptor.hpp.
constexpr auto dw::framework::describePorts | ( | ) |
Definition at line 147 of file PortDescriptor.hpp.
constexpr auto dw::framework::describeUnnamedArrayParameter | ( | dw::core::StringView const && | typeName, |
size_t | arraySize, | ||
const MemberPointers &&... | memberPointers | ||
) |
Describe an unnamed array parameter.
The value isn't identified by a name but solely by the semantic type. Regarding the member pointers see describeParameter().
Definition at line 460 of file ParameterDescriptor.hpp.
constexpr auto dw::framework::describeUnnamedParameter | ( | dw::core::StringView const && | typeName, |
const MemberPointers &&... | memberPointers | ||
) |
Describe an unnamed parameter.
The value isn't identified by a name but solely by the semantic type. Regarding the member pointers see describeParameter().
Definition at line 425 of file ParameterDescriptor.hpp.
constexpr size_t dw::framework::descriptorIndex | ( | ) |
constexpr bool dw::framework::descriptorPortArray | ( | ) |
Definition at line 172 of file PortDescriptor.hpp.
Referenced by dw::framework::SimpleNode::getInputPort(), and dw::framework::SimpleNode::getOutputPort().
constexpr PortBinding dw::framework::descriptorPortBinding | ( | ) |
Definition at line 195 of file PortDescriptor.hpp.
constexpr dw::core::StringView dw::framework::descriptorPortComment | ( | ) |
Definition at line 204 of file PortDescriptor.hpp.
constexpr size_t dw::framework::descriptorPortSize | ( | ) |
Definition at line 182 of file PortDescriptor.hpp.
SyncedPacketPayload* dw::framework::extractSyncPacket | ( | GenericData | packet | ) |
const PortCollectionDescriptor& dw::framework::getInputPorts | ( | const dw::core::StringView & | className | ) |
dw::core::HeapVectorFixed<dw::core::StringView> dw::framework::getNodeNames | ( | ) |
const PortCollectionDescriptor& dw::framework::getOutputPorts | ( | const dw::core::StringView & | className | ) |
const ParameterCollectionDescriptor& dw::framework::getParameters | ( | const dw::core::StringView & | className | ) |
const PassCollectionDescriptor& dw::framework::getPasses | ( | const dw::core::StringView & | className | ) |
Referenced by dw::framework::SimpleNode::validate().
constexpr bool dw::framework::hasPassDependencies | ( | ) |
Check if a pass specifies explicit dependencies.
Definition at line 192 of file PassDescriptor.hpp.
References PASS_DEPENDENCIES.
|
inline |
Definition at line 102 of file ChannelParameters.hpp.
References DW_CHANNEL_ROLE_CONSUMER.
|
inline |
Definition at line 97 of file ChannelParameters.hpp.
References DW_CHANNEL_ROLE_PRODUCER.
constexpr bool dw::framework::isValidPass | ( | std::size_t | passID | ) |
Check if pass index is valid.
Definition at line 128 of file PassDescriptor.hpp.
References passIndex().
constexpr bool dw::framework::isValidPass | ( | dw::core::StringView | identifier | ) |
Check if given string is a valid pass name.
Definition at line 170 of file PassDescriptor.hpp.
constexpr bool dw::framework::isValidPort | ( | std::size_t | portID | ) |
Definition at line 298 of file PortDescriptor.hpp.
References OUTPUT, and portArraySize().
constexpr bool dw::framework::isValidPort | ( | StringView | identifier | ) |
Definition at line 390 of file PortDescriptor.hpp.
References portDescriptorIndex().
|
inlinestatic |
Definition at line 218 of file ChannelPacketTypes.hpp.
References dw::framework::GenericDataReference::packetTypeID.
auto dw::framework::makeUniqueFromTuple | ( | const ConstructorArguments && | constructorArguments | ) | -> std::unique_ptr<NodeT> |
Instantiate a node using the passed constructor arguments.
Definition at line 984 of file ParameterDescriptor.hpp.
Referenced by createConstructorArguments().
auto dw::framework::mapEnumNameToValue | ( | dw::core::StringView const & | name | ) | -> EnumT |
Get the enumerator value based on the name.
[in] | name | The enumerator name |
Exception | if the enumerator name is invalid |
Definition at line 136 of file EnumDescriptor.hpp.
References dw::framework::EnumDescription< EnumT >::get().
dw::core::StringView dw::framework::mapEnumValueToName | ( | EnumT | value | ) |
Get the enumerator name based on the value.
[in] | value | The enumerator value |
Exception | if the enumerator value is invalid |
Definition at line 162 of file EnumDescriptor.hpp.
References dw::framework::EnumDescription< EnumT >::get().
const char* dw::framework::nvSciGetErrorName | ( | uint32_t | error | ) |
Referenced by dw::framework::Exception::guardWithNoPrint().
const char* dw::framework::nvSciGetEventName | ( | uint32_t | event | ) |
Referenced by dw::framework::Exception::guardWithNoPrint().
|
inline |
Definition at line 160 of file ChannelParameters.hpp.
std::ostream& dw::framework::operator<< | ( | std::ostream & | os, |
dwGraphState | state | ||
) |
std::ostream& dw::framework::operator<< | ( | std::ostream & | os, |
dwGraphStateLevel | level | ||
) |
std::ostream& dw::framework::operator<< | ( | std::ostream & | os, |
const dwGraphHealthSignal & | signal | ||
) |
|
inline |
Definition at line 166 of file ChannelParameters.hpp.
References ParseChannelParameter().
constexpr std::size_t dw::framework::parameterSize | ( | ) |
Get the number of parameters for a given node.
Definition at line 1032 of file ParameterDescriptor.hpp.
Referenced by create().
|
inlinestatic |
Definition at line 451 of file ChannelParameters.hpp.
References ParseChannelParameters().
Referenced by dw::framework::ChannelNvSciStreamParams::ChannelNvSciStreamParams(), dw::framework::ChannelParams::ChannelParams(), and dw::framework::ChannelSocketParams::ChannelSocketParams().
|
inlinestatic |
Definition at line 175 of file ChannelParameters.hpp.
References COMPONENT_CPU, COMPONENT_CUDA, COMPONENT_DLA, COMPONENT_EGL, COMPONENT_NVMEDIA, COMPONENT_PVA, CONNECTION_TYPE_DYNAMIC, CONNECTION_TYPE_STATIC, DW_CHANNEL_ROLE_COMPOSITE, DW_CHANNEL_ROLE_CONSUMER, DW_CHANNEL_ROLE_PRODUCER, MAILBOX, REACH_CHIP, REACH_PROCESS, REACH_THREAD, REACH_VM, and SINGLETON.
Referenced by operator|(), ParseChannelParameter(), and ParseChannelParameters().
|
inline |
Definition at line 175 of file ChannelParameters.hpp.
References COMPONENT_CPU, COMPONENT_CUDA, COMPONENT_DLA, COMPONENT_EGL, COMPONENT_NVMEDIA, and COMPONENT_PVA.
|
inline |
Definition at line 222 of file ChannelParameters.hpp.
References CONNECTION_TYPE_DYNAMIC, and CONNECTION_TYPE_STATIC.
|
inline |
Definition at line 241 of file ChannelParameters.hpp.
References REACH_CHIP, REACH_PROCESS, REACH_THREAD, and REACH_VM.
|
inline |
Definition at line 269 of file ChannelParameters.hpp.
|
inline |
Definition at line 276 of file ChannelParameters.hpp.
|
inline |
Definition at line 288 of file ChannelParameters.hpp.
|
inline |
Definition at line 296 of file ChannelParameters.hpp.
|
inline |
Definition at line 308 of file ChannelParameters.hpp.
|
inline |
Definition at line 327 of file ChannelParameters.hpp.
References DW_CHANNEL_ROLE_COMPOSITE, DW_CHANNEL_ROLE_CONSUMER, and DW_CHANNEL_ROLE_PRODUCER.
|
inline |
Definition at line 350 of file ChannelParameters.hpp.
|
inline |
Definition at line 386 of file ChannelParameters.hpp.
References MAILBOX, and SINGLETON.
Referenced by operator|(), ParseChannelParameter(), and ParseChannelParameters().
void dw::framework::ParseChannelParameter | ( | const ChannelParamStr & | value, |
T & | result | ||
) |
Definition at line 405 of file ChannelParameters.hpp.
void dw::framework::ParseChannelParameter | ( | const ChannelParamStr & | value, |
dw::core::FixedString< Size > & | result | ||
) |
Definition at line 411 of file ChannelParameters.hpp.
void dw::framework::ParseChannelParameter | ( | const ChannelParamStr & | value, |
dw::core::VectorFixed< T, N > & | result | ||
) |
Definition at line 417 of file ChannelParameters.hpp.
References ParseChannelParameter().
|
inlinestatic |
Definition at line 434 of file ChannelParameters.hpp.
Referenced by ParseAllChannelParameters(), and ParseChannelParameters().
|
inlinestatic |
Definition at line 440 of file ChannelParameters.hpp.
References ParseChannelParameter(), and ParseChannelParameters().
constexpr auto dw::framework::passDependencies | ( | ) |
Get the dependencies of a pass.
Get the dependencies of a pass (which returns an empty collection for passes without explicit dependencies).
Definition at line 202 of file PassDescriptor.hpp.
constexpr size_t dw::framework::passIndex | ( | dw::core::StringView | identifier | ) |
Get the the pass index for a pass identified by name.
Definition at line 163 of file PassDescriptor.hpp.
Referenced by isValidPass(), and dw::framework::SimpleNode::validate().
constexpr dw::core::StringView dw::framework::passName | ( | ) |
Get the name of a pass.
Definition at line 178 of file PassDescriptor.hpp.
constexpr dwProcessorType dw::framework::passProcessorType | ( | ) |
Get the processor type of a pass.
Definition at line 185 of file PassDescriptor.hpp.
constexpr std::size_t dw::framework::passSize | ( | ) |
Get the number of passes of the passed node.
Definition at line 121 of file PassDescriptor.hpp.
void dw::framework::populateParameters | ( | ConstructorArguments & | constructorArguments, |
const ParameterProvider & | provider | ||
) |
Populate the constructor arguments using values from the parameter provider.
Definition at line 850 of file ParameterDescriptor.hpp.
Referenced by describeParameters().
constexpr size_t dw::framework::portArraySize | ( | StringView | identifier | ) |
Definition at line 337 of file PortDescriptor.hpp.
References INPUT, and portIndex().
Referenced by isValidPort().
constexpr size_t dw::framework::portDescriptorIndex | ( | StringView | identifier | ) |
Definition at line 424 of file PortDescriptor.hpp.
Referenced by isValidPort().
constexpr std::size_t dw::framework::portDescriptorSize | ( | ) |
Definition at line 165 of file PortDescriptor.hpp.
constexpr auto dw::framework::portDescriptorType | ( | ) |
Definition at line 213 of file PortDescriptor.hpp.
References PORT_TYPE, and portSize().
constexpr size_t dw::framework::portIndex | ( | StringView | identifier | ) |
Definition at line 377 of file PortDescriptor.hpp.
References OUTPUT.
Referenced by portArraySize().
constexpr std::size_t dw::framework::portSize | ( | ) |
Definition at line 247 of file PortDescriptor.hpp.
References descriptorIndex().
Referenced by portDescriptorType().
constexpr auto dw::framework::portType | ( | ) |
Definition at line 290 of file PortDescriptor.hpp.
void dw::framework::registerNode | ( | const char * | className | ) |
Definition at line 131 of file NodeFactory.hpp.
|
inlinestatic |
Definition at line 59 of file ChannelParameters.hpp.
uint64_t dw::framework::channelId |
Definition at line 49 of file Connection.hpp.
Referenced by createInputOnly(), and createOutputOnly().
|
static |
Definition at line 52 of file Channel.hpp.
const uint64_t dw::framework::CONNECTION_DISCONNECTED = static_cast<uint64_t>(-1) |
Definition at line 41 of file Connection.hpp.
Referenced by createInputOnly(), and createOutputOnly().
uint64_t dw::framework::dstNodeId |
Definition at line 46 of file Connection.hpp.
Referenced by createInputOnly().
uint8_t dw::framework::dstPortId |
Definition at line 48 of file Connection.hpp.
Referenced by createInputOnly().
|
static |
Definition at line 67 of file GraphHealthSignal.hpp.
|
static |
Definition at line 65 of file GraphHealthSignal.hpp.
|
static |
Definition at line 66 of file GraphHealthSignal.hpp.
constexpr ChannelPacketTypeID dw::framework::DWFRAMEWORK_PACKET_ID_DEFAULT = 0U |
Definition at line 130 of file ChannelPacketTypes.hpp.
Referenced by dw::framework::ManagedPortOutput< T >::ManagedPortOutput().
constexpr uint32_t dw::framework::DWFRAMEWORK_SYNCED_PACKET_TYPE_ID_OFFSET = 0x80000000 |
Definition at line 131 of file ChannelPacketTypes.hpp.
|
static |
Definition at line 108 of file ChannelParameters.hpp.
|
static |
Definition at line 110 of file ChannelParameters.hpp.
|
static |
Definition at line 107 of file ChannelParameters.hpp.
|
static |
Definition at line 109 of file ChannelParameters.hpp.
|
static |
Definition at line 85 of file PortCollectionDescriptor.hpp.
|
static |
Definition at line 214 of file ParameterDescriptor.hpp.
Referenced by describeParameters().
|
static |
Definition at line 50 of file ParameterDescriptor.hpp.
Referenced by describeParameters().
|
static |
Definition at line 47 of file ParameterDescriptor.hpp.
|
static |
Definition at line 220 of file ParameterDescriptor.hpp.
Referenced by describeParameters().
|
static |
Definition at line 211 of file ParameterDescriptor.hpp.
|
static |
Definition at line 217 of file ParameterDescriptor.hpp.
Referenced by describeParameters().
|
static |
Definition at line 202 of file ParameterDescriptor.hpp.
|
static |
Definition at line 208 of file ParameterDescriptor.hpp.
Referenced by describeParameters().
|
static |
Definition at line 205 of file ParameterDescriptor.hpp.
Referenced by describeParameters().
|
static |
Definition at line 199 of file ParameterDescriptor.hpp.
|
static |
Definition at line 68 of file PassDescriptor.hpp.
Referenced by hasPassDependencies().
|
static |
Definition at line 62 of file PassDescriptor.hpp.
|
static |
Definition at line 65 of file PassDescriptor.hpp.
|
static |
Definition at line 60 of file PortDescriptor.hpp.
|
static |
Definition at line 61 of file PortDescriptor.hpp.
|
static |
Definition at line 62 of file PortDescriptor.hpp.
|
static |
Definition at line 58 of file PortDescriptor.hpp.
|
static |
Definition at line 59 of file PortDescriptor.hpp.
Referenced by portDescriptorType().
|
static |
Definition at line 57 of file PortDescriptor.hpp.
uint8_t dw::framework::srcPortId |
Definition at line 47 of file Connection.hpp.
Referenced by createOutputOnly().