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

Feature/cleanup u3v class #324

Merged
merged 13 commits into from
Sep 4, 2024

Conversation

Fixstars-momoko
Copy link
Contributor

Compress the constructor of U3V and U3VGenDC

@@ -484,6 +484,22 @@ class U3V {
return err_;
}

void ValidateUserInput(int32_t num_detected_device, char* dev_id){
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's unify the naming convention. In ion-kit, we use snake_case for the function and variable name.

Copy link
Contributor Author

@Fixstars-momoko Fixstars-momoko Sep 3, 2024

Choose a reason for hiding this comment

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

resolved in 0a63a5b

log::info("Acquisition option::{} is {}", "frame_sync_", frame_sync_);
log::info("Acquisition option::{} is {}", "realtime_display_mode_", realtime_display_mode_);
}

GError* CommandAcquisitionModeContdStart(){
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we have a specific policy for the error handling? It looks function is expected to return GError *, but it actually throws an exception in many cases.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated in c654c02

@iitaku iitaku merged commit 6f5af5e into fixstars:main Sep 4, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants