|
FireSync API
|
| kStatus kPxBlock_Construct | ( | kPxBlock * | block, |
| kType | type, | ||
| const kChar * | name, | ||
| k32u | nodeId, | ||
| k32u | blockId, | ||
| kPxEnviron | pipeEnviron, | ||
| kAlloc | allocator | ||
| ) |
Factory constructor for block objects.
This function should be used to construct all block types.
| block | Receives constructed block object. |
| type | Block class type. |
| name | Descriptive block instance name. |
| nodeId | Unique identifier for block owner (typically a node id). |
| blockId | Unique identifier for block instance. |
| pipeEnviron | Optional object to provide external services to the block. |
| allocator | Memory allocator (or kNULL for default). |