Skip to content
This repository was archived by the owner on Jul 8, 2022. It is now read-only.

Conversation

@Ingvord
Copy link
Member

@Ingvord Ingvord commented Jul 18, 2017

Start

@Ingvord
Copy link
Member Author

Ingvord commented Jul 18, 2017

Looks like it is enough to add corresponding methods to DeviceData. No need to change IDL

Ingvord pushed a commit that referenced this pull request Jul 18, 2017
Ingvord pushed a commit that referenced this pull request Jul 18, 2017
Ingvord pushed a commit that referenced this pull request Jul 18, 2017
Ingvord pushed a commit that referenced this pull request Jul 19, 2017
Ingvord pushed a commit that referenced this pull request Jul 20, 2017
Ingvord pushed a commit that referenced this pull request Jul 20, 2017
tc_field = tc->member_type(0);
if(tc_field->kind() == tk_string)
{
// The first field in a DevPipeBlob structure is a string (name field)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Magic :)

Ingvord pushed a commit that referenced this pull request Jul 22, 2017
Ingvord pushed a commit that referenced this pull request Jul 22, 2017
Ingvord pushed a commit that referenced this pull request Jul 22, 2017
Ingvord pushed a commit that referenced this pull request Jul 22, 2017
Ingvord pushed a commit that referenced this pull request Jul 22, 2017
Ingvord pushed a commit that referenced this pull request Jul 22, 2017
Ingvord added a commit that referenced this pull request Jul 25, 2017
@tango-controls tango-controls deleted a comment Jul 25, 2017
@tango-controls tango-controls deleted a comment Jul 25, 2017
@tango-controls tango-controls deleted a comment Jul 25, 2017
@tango-controls tango-controls deleted a comment Jul 25, 2017
@tango-controls tango-controls deleted a comment Jul 25, 2017
@tango-controls tango-controls deleted a comment Jul 25, 2017
@tango-controls tango-controls deleted a comment Jul 25, 2017
@tango-controls tango-controls deleted a comment Jul 25, 2017
@tango-controls tango-controls deleted a comment Jul 25, 2017
@tango-controls tango-controls deleted a comment Jul 25, 2017
@tango-controls tango-controls deleted a comment Jul 25, 2017
@tango-controls tango-controls deleted a comment Jul 25, 2017
@tango-controls tango-controls deleted a comment Jul 25, 2017
@tango-controls tango-controls deleted a comment Jul 25, 2017
@tango-controls tango-controls deleted a comment Jul 25, 2017
ingvord and others added 8 commits October 18, 2017 12:54
it is done for DevEncoded type which is very similar to DevPipeBlob CORBA type.
There is no longer memory ownership transfer when DeviceData::insert is invoked.
There is still no copy of the blob data during the insert in this version.
@Ingvord Ingvord force-pushed the pipe-blob-in-commands branch from 3046ebd to 2e62aa5 Compare October 18, 2017 10:55
@Ingvord
Copy link
Member Author

Ingvord commented Oct 18, 2017

Hi Igor,

As far as I remember, there were actually at least 2 remarks:
It was very difficult to review the PR because there was no easy way to differentiate changes coming from the implementation of this features and changes coming from other commits fixing bugs or implementing other features.
So I advised to do an interactive rebase with only the commits relevant to this PR so we could review this PR in good conditions.
There was a concerned raised by Emmanuel on the potential performance problems with using CORBA::Any for the transfer of DevPipeBlob data.
Kind regards,
Reynald

1 - I do not see any non-relevant commits in the history; maybe this was due to non-rebased state of the branch at the time review was performed. Anyway I am not very strong at git to do interactive rebase as I always mess it
2 - I would postpone performance consideration till the time we have reasonable code base quality so we can observer all other (maybe much more important) issues

Taking 1,2 into account I think it is OK to merge this PR now

@Ingvord Ingvord merged commit 273a04d into master Oct 18, 2017
@bourtemb
Copy link
Member

Did you notice that Travis CI is broken because it is trying to clone cppTango-378 branch from tango-idl?
As a minimum, I think we should check Travis CI status before merging.
Sorry for not finding the time yet to review this PR under good conditions after you rebased it correctly.

@Ingvord
Copy link
Member Author

Ingvord commented Oct 18, 2017

@bourtemb
Copy link
Member

@bourtemb this is already fixed in master: https://travis-ci.org/tango-controls/cppTango/builds/289485564

Good! :-)

It is now failing due to https://travis-ci.org/tango-controls/cppTango/builds/289511969
cherry-pick of b719402

Not good :-(

@Ingvord
Copy link
Member Author

Ingvord commented Oct 18, 2017

Not good :-(

Yeah, I have reverted this commit and will create an issue

Ingvord pushed a commit that referenced this pull request Aug 21, 2018
Ingvord pushed a commit that referenced this pull request Aug 21, 2018
Ingvord pushed a commit that referenced this pull request Aug 22, 2018
Ingvord pushed a commit that referenced this pull request Aug 28, 2018
Ingvord pushed a commit that referenced this pull request Aug 28, 2018
Ingvord pushed a commit that referenced this pull request Aug 31, 2018
Ingvord pushed a commit that referenced this pull request Aug 31, 2018
Ingvord pushed a commit that referenced this pull request Aug 31, 2018
Ingvord pushed a commit that referenced this pull request Aug 31, 2018
@t-b t-b deleted the pipe-blob-in-commands branch October 29, 2019 15:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants