-
Notifications
You must be signed in to change notification settings - Fork 6
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
Conversation
src/bb/image-io/rt_u3v.h
Outdated
@@ -484,6 +484,22 @@ class U3V { | |||
return err_; | |||
} | |||
|
|||
void ValidateUserInput(int32_t num_detected_device, char* dev_id){ |
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.
Let's unify the naming convention. In ion-kit, we use snake_case
for the function and variable name.
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.
resolved in 0a63a5b
src/bb/image-io/rt_u3v.h
Outdated
log::info("Acquisition option::{} is {}", "frame_sync_", frame_sync_); | ||
log::info("Acquisition option::{} is {}", "realtime_display_mode_", realtime_display_mode_); | ||
} | ||
|
||
GError* CommandAcquisitionModeContdStart(){ |
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.
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.
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.
Updated in c654c02
Compress the constructor of U3V and U3VGenDC