diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/usr/targeting/common/attributeTank.H | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/include/usr/targeting/common/attributeTank.H b/src/include/usr/targeting/common/attributeTank.H index c71d14b35..a3f9afeab 100644 --- a/src/include/usr/targeting/common/attributeTank.H +++ b/src/include/usr/targeting/common/attributeTank.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2015 */ +/* Contributors Listed Below - COPYRIGHT 2013,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -330,6 +330,25 @@ namespace AttributeTank virtual void deserializeAttributes( const AttributeSerializedChunk & i_attributes); + + /** + * @brief Deserialize a chunk of Attributes into the tank and + * select whether to echo the attributes after they have been stored + * + * The use case is for receiving a chunk of serialized attributes from + * another AttributeTank on a another subsystem. The caller is responsible + * for freeing/deleting the memory in the chunk after calling this function. + * + * @param[in] i_attributes Reference to AttributeSerializedChunk containing + * attributes. + * + * @param[in] i_echoAttributes Select whether or not to echo the attributes + */ + virtual void deserializeAttributes( + const AttributeSerializedChunk & i_attributes, + bool i_echoAttributes ); + + /** * @brief Fast inline check if any attributes exist in the tank * |