FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kTimerBlockInfo.h
Go to the documentation of this file.
1 
8 #ifndef K_FIRESYNC_TIMER_BLOCK_INFO_H
9 #define K_FIRESYNC_TIMER_BLOCK_INFO_H
10 
11 #include <kFireSync/kNodeDef.h>
12 
19 //typedef kObject kTimerBlockInfo; --forward-declared in kFsDef.x.h
20 
29  kFsFx(kStatus) kTimerBlockInfo_Construct(kTimerBlockInfo* info, kAlloc allocator);
30 
40 kFsFx(kStatus) kTimerBlockInfo_Load(kTimerBlockInfo* info, kXml xml, kAlloc allocator);
41 
51 kFsFx(kStatus) kTimerBlockInfo_Store(kTimerBlockInfo info, kXml* xml, kAlloc allocator);
52 
62 kFsFx(kStatus) kTimerBlockInfo_Read(kTimerBlockInfo info, kXml xml, kXmlItem item);
63 
73 kFsFx(kStatus) kTimerBlockInfo_Write(kTimerBlockInfo info, kXml xml, kXmlItem item);
74 
83 
92 
102 
111 
113 kInlineFx(k16u) kTimerBlockInfo_OutputId() { return (k16u) 0; }
114 
115 #include <kFireSync/Blocks/kTimerBlockInfo.x.h>
116 
117 #endif
kStatus kTimerBlockInfo_SetPeriod(kTimerBlockInfo info, k64u period)
Sets the timer period.
kStatus kTimerBlockInfo_Load(kTimerBlockInfo *info, kXml xml, kAlloc allocator)
Constructs a kTimerBlockInfo object and loads its content from an XML object.
k16u kTimerBlockInfo_OutputId()
Gets the output port id for this block type.
Definition: kTimerBlockInfo.h:113
Represents configuration for kTimerBlock.
Essential declarations related to FireSync nodes.
kStatus kTimerBlockInfo_Read(kTimerBlockInfo info, kXml xml, kXmlItem item)
Reads kTimerBlockInfo state from a kXml object.
kStatus kTimerBlockInfo_Write(kTimerBlockInfo info, kXml xml, kXmlItem item)
Writes kTimerBlockInfo state to a kXml object.
kStatus kTimerBlockInfo_Construct(kTimerBlockInfo *info, kAlloc allocator)
Constructs a kTimerBlockInfo object.
kStatus kTimerBlockInfo_Clear(kTimerBlockInfo info)
Resets all state variables to default values.
k64u kTimerBlockInfo_Period(kTimerBlockInfo info)
Gets the timer period.
kStatus kTimerBlockInfo_Validate(kTimerBlockInfo info)
Checks and automatically corrects all state variables.
kStatus kTimerBlockInfo_Store(kTimerBlockInfo info, kXml *xml, kAlloc allocator)
Constructs a kXml object and uses it to store the content of this kTimerBlockInfo instance...