Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing copy constructor for channel objects #551

Open
fschlueter opened this issue Jul 11, 2023 · 0 comments
Open

Implementing copy constructor for channel objects #551

fschlueter opened this issue Jul 11, 2023 · 0 comments

Comments

@fschlueter
Copy link
Collaborator

Currently to copy data from one to the other channel, we execute code like:
new_channel.set_trace(orig_channel.get_trace(), orig_channel.get_sampling_rate()
It can happen that the following line is missed (although it is critical):
new_channel.set_trace_start_time(orig_channel.get_trace_start_time())
We should implement an operator or function to copy all relevant information with one line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant