FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kBlock.h
Go to the documentation of this file.
1 
8 #ifndef K_FIRESYNC_BLOCK_H
9 #define K_FIRESYNC_BLOCK_H
10 
11 #include <kFireSync/kNodeDef.h>
12 
19 //typedef kObject kBlock; --forward-declared in kFsDef.x.h
20 
35 kFsFx(kStatus) kBlock_SetId(kBlock block, k32u id);
36 
48 kFsFx(k32u) kBlock_Id(kBlock block);
49 
58 kFsFx(kStatus) kBlock_IdInfo(kBlock block, kInfo32u* info);
59 
68 kFsFx(kStatus) kBlock_SetName(kBlock block, const kChar* name);
69 
77 kFsFx(const kChar*) kBlock_Name(kBlock block);
78 
86 kFsFx(const kChar*) kBlock_TypeName(kBlock block);
87 
101 kFsFx(kStatus) kBlock_AssignGroup(kBlock block, k32u groupId);
102 
110 kFsFx(kBool) kBlock_IsGrouped(kBlock block);
111 
119 kFsFx(k32u) kBlock_GroupId(kBlock block);
120 
134 kFsFx(kStatus) kBlock_SetConfig(kBlock block, kXml settings);
135 
144 kFsFx(kStatus) kBlock_Config(kBlock block, kXml settings);
145 
153 kFsFx(kSize) kBlock_PortCount(kBlock block);
154 
163 kFsFx(kPort) kBlock_PortAt(kBlock block, kSize index);
164 
174 kFsFx(kStatus) kBlock_FindPortById(kBlock block, k32u id, kPort* port);
175 
176 #include <kFireSync/Client/kBlock.x.h>
177 
178 #endif
k32u kBlock_GroupId(kBlock block)
Gets the processing group id associated with this block.
kStatus kBlock_FindPortById(kBlock block, k32u id, kPort *port)
Gets the port at the specified index.
kSize kBlock_PortCount(kBlock block)
Gets the number of ports belonging to the block.
kBool kBlock_IsGrouped(kBlock block)
Reports whether this block has been assigned to a group.
kStatus kBlock_Config(kBlock block, kXml settings)
Gets configuration for the block.
Essential declarations related to FireSync nodes.
kStatus kBlock_SetConfig(kBlock block, kXml settings)
Sets configuration for the block.
const kChar * kBlock_TypeName(kBlock block)
Gets the type name of this block.
kStatus kBlock_AssignGroup(kBlock block, k32u groupId)
Assigns this block to a processing group.
Represents port configuration.
kStatus kBlock_SetId(kBlock block, k32u id)
Sets the unique identifier for this block.
Represents block configuration.
k32u kBlock_Id(kBlock block)
Gets the unique identifier for this block.
const kChar * kBlock_Name(kBlock block)
Gets a descriptive name for this block.
kStatus kBlock_IdInfo(kBlock block, kInfo32u *info)
Reports constraint and validity information for the Id setting.
Represents constraint and validity information for a 32-bit unsigned integer setting.
Definition: kInfo.h:98
kStatus kBlock_SetName(kBlock block, const kChar *name)
Sets a descriptive name for the block.
kPort kBlock_PortAt(kBlock block, kSize index)
Gets the port at the specified index.