FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kMemoryTrafficBlockInfo.h
Go to the documentation of this file.
1 
8 #ifndef K_FIRESYNC_MEMORY_TRAFFIC_BLOCK_INFO_H
9 #define K_FIRESYNC_MEMORY_TRAFFIC_BLOCK_INFO_H
10 
11 #include <kFireSync/kNodeDef.h>
12 
19 //typedef kObject kMemoryTrafficBlockInfo; --forward-declared in kFsDef.x.h
20 
30 
41 
52 
62 kFsFx(kStatus) kMemoryTrafficBlockInfo_Read(kMemoryTrafficBlockInfo info, kXml xml, kXmlItem item);
63 
73 kFsFx(kStatus) kMemoryTrafficBlockInfo_Write(kMemoryTrafficBlockInfo info, kXml xml, kXmlItem item);
74 
83 
92 
101 
110 
119 
129 
139 
149 
151 kInlineFx(k16u) kMemoryTrafficBlockInfo_InputPortId() { return 0; }
152 
155 
156 #include <kFireSync/Blocks/kMemoryTrafficBlockInfo.x.h>
157 
158 #endif
kStatus kMemoryTrafficBlockInfo_Read(kMemoryTrafficBlockInfo info, kXml xml, kXmlItem item)
Reads kMemoryTrafficBlockInfo state from a kXml object.
kStatus kMemoryTrafficBlockInfo_Clear(kMemoryTrafficBlockInfo info)
Resets all state variables to default values.
k64u kMemoryTrafficBlockInfo_ByteCount(kMemoryTrafficBlockInfo info)
Gets the number of bytes to manipulate.
kMemoryTrafficOp kMemoryTrafficBlockInfo_Operation(kMemoryTrafficBlockInfo info)
Gets the operation type.
kStatus kMemoryTrafficBlockInfo_Store(kMemoryTrafficBlockInfo info, kXml *xml, kAlloc allocator)
Constructs a kXml object and uses it to store the content of this kMemoryTrafficBlockInfo instance...
k16u kMemoryTrafficBlockInfo_OutputPortId()
Gets the output port id.
Definition: kMemoryTrafficBlockInfo.h:154
kSize kMemoryTrafficBlockInfo_BufferSize(kMemoryTrafficBlockInfo info)
Gets the buffer size in bytes.
#define kInlineFx(TYPE)
k16u kMemoryTrafficBlockInfo_InputPortId()
Gets the input port id.
Definition: kMemoryTrafficBlockInfo.h:151
kStatus kMemoryTrafficBlockInfo_Validate(kMemoryTrafficBlockInfo info)
Checks and automatically corrects all state variables.
Essential declarations related to FireSync nodes.
kStatus kMemoryTrafficBlockInfo_Construct(kMemoryTrafficBlockInfo *info, kAlloc allocator)
Constructs a kMemoryTrafficBlockInfo object.
Represents configuration for kMemoryTrafficBlock.
Represents kMemoryTraffic operations.
kStatus kMemoryTrafficBlockInfo_SetBufferSize(kMemoryTrafficBlockInfo info, kSize bufferSize)
Sets the buffer size in bytes.
kStatus kMemoryTrafficBlockInfo_Write(kMemoryTrafficBlockInfo info, kXml xml, kXmlItem item)
Writes kMemoryTrafficBlockInfo state to a kXml object.
kStatus kMemoryTrafficBlockInfo_Load(kMemoryTrafficBlockInfo *info, kXml xml, kAlloc allocator)
Constructs a kMemoryTrafficBlockInfo object and loads its content from an XML object.
kStatus kMemoryTrafficBlockInfo_SetByteCount(kMemoryTrafficBlockInfo info, k64u byteCount)
Sets the requested number of bytes to be manipulated by the operation.
kStatus kMemoryTrafficBlockInfo_SetOperation(kMemoryTrafficBlockInfo info, kMemoryTrafficOp operation)
Sets the operation type.