-
Notifications
You must be signed in to change notification settings - Fork 62
Access elements as binary #286
Access elements as binary #286
Conversation
9755652
to
d098617
Compare
parameter/ConfigurableElement.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the pParameterBlackboard blackboard temporary variable does not seem very usefull.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 done
af5fff6
to
1a0da14
Compare
parameter/ParameterBlackboard.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not realy get why this intermediate variable is usefull. But if you like it, keep it. It is a mater of style.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 done
This method returns a reference to the vector of all the arguments passed along the remote command. Signed-off-by: Miguel Gaio <miguel.gaio@intel.com>
1a0da14
to
933a633
Compare
parameter/ParameterBlackboard.h
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function asserts that size + offset exceeds the size of the blackboard iself
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 done
933a633
to
7d7d55c
Compare
CParameterBlackboard class now exposes the following additional methods to direclty access the blackboard memory a certain offset: - writeBytes() - readBytes() Note that these methods are primarily intended to be used to access the settings of an element. Signed-off-by: Patrick Benavoli <patrick.benavoli@intel.com> Signed-off-by: Miguel Gaio <miguel.gaio@intel.com>
Returns the element settings formatted as hexadecimal byte array Signed-off-by: Patrick Benavoli <patrick.benavoli@intel.com> Signed-off-by: Miguel Gaio <miguel.gaio@intel.com>
Allows assigning settings to a configurable element in byte array format. Supports hexa or decimal formatting. Notes: - Use with caution (low level command): checks for integrity are not performed prior to assignment. - Tuning Mode must be on Signed-off-by: Patrick Benavoli <patrick.benavoli@intel.com> Signed-off-by: Miguel Gaio <miguel.gaio@intel.com>
|
👍 |
Access elements as binary Add support to inport/export configurable element in binary format.
Add support to inport/export configurable element in binary format.

+
std::transform
...