8 #ifndef K_FIRESYNC_FORWARD_BLOCK_INFO_H
9 #define K_FIRESYNC_FORWARD_BLOCK_INFO_H
15 #define kFORWARD_BLOCK_INFO_MAX_PORT_COUNT (64)
117 #define kForwardBlockInfo_InputId_(INDEX) (INDEX)
120 #define kForwardBlockInfo_OutputId_(INDEX) (kFORWARD_BLOCK_INFO_MAX_PORT_COUNT + (INDEX))
123 #define kForwardBlockInfo_InputIndex_(ID) (ID)
126 #define kForwardBlockInfo_OutputIndex_(ID) ((ID) - kFORWARD_BLOCK_INFO_MAX_PORT_COUNT)
130 #include <kFireSync/Blocks/kForwardBlockInfo.x.h>
kStatus kForwardBlockInfo_Clear(kForwardBlockInfo info)
Resets all state variables to default values.
Represents configuration for kForwardBlock.
Essential declarations related to FireSync nodes.
kStatus kForwardBlockInfo_SetPortCount(kForwardBlockInfo info, kSize portCount)
Sets the count of input/output port pairs.
kStatus kForwardBlockInfo_Validate(kForwardBlockInfo info)
Checks and automatically corrects all state variables.
kStatus kForwardBlockInfo_Read(kForwardBlockInfo info, kXml xml, kXmlItem item)
Reads kForwardBlockInfo state from a kXml object.
kStatus kForwardBlockInfo_Store(kForwardBlockInfo info, kXml *xml, kAlloc allocator)
Constructs a kXml object and uses it to store the content of this kForwardBlockInfo instance...
kStatus kForwardBlockInfo_Load(kForwardBlockInfo *info, kXml xml, kAlloc allocator)
Constructs a kForwardBlockInfo object and loads its content from an XML object.
kStatus kForwardBlockInfo_Write(kForwardBlockInfo info, kXml xml, kXmlItem item)
Writes kForwardBlockInfo state to a kXml object.
kSize kForwardBlockInfo_PortCount(kForwardBlockInfo info)
Gets the count of input/output port pairs.
kStatus kForwardBlockInfo_Construct(kForwardBlockInfo *info, kAlloc allocator)
Constructs a kForwardBlockInfo object.