get_size_func
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Obtains the registered function for calculating the size of the serialized memory based on the message type ID.
Prototype
1 | get_size_func(msg_type) |
Parameters
Parameter |
Data Type |
Description |
|---|---|---|
msg_type |
int |
ID of the registered type. |
Returns
Registered function for calculating the size of the serialized memory. If the function has not been registered, None is returned.
Examples
1 2 | import dataflow as df size_func = df.msg_type_register.get_size_func(1026) |
Constraints
None
Parent topic: dataflow.MsgTypeRegister