-
Notifications
You must be signed in to change notification settings - Fork 178
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
Custom names for FrequencyStatus and TimeStampStatus #86
Custom names for FrequencyStatus and TimeStampStatus #86
Conversation
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.
Looks great aside from the C++11 features that have crept in. Unfortunately this code still has to support C++03 😭
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.
Looks great aside from the C++11 features that have crept in. Unfortunately this code still has to support C++03 😭
clear(); | ||
} | ||
FrequencyStatus(const FrequencyStatusParam ¶ms) : | ||
FrequencyStatus(params, "Frequency Status") {} |
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.
While this is convenient, delegating constructors is a C++11 feature, and this package is still supporting Indigo which only supports C++03.
*/ | ||
|
||
TimeStampStatus(const TimeStampStatusParam ¶ms) : | ||
TimeStampStatus(params, "Timestamp Status") {} |
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.
Same here, delegating constructors is a C++11 feature, and this package is still supporting Indigo which only supports C++03.
Wasn't aware of the C++03 requirement, thanks for pointing that out! All fixed now. |
Thanks! |
Expanded on #84 to allow custom names for both of the provided diagnostic tasks (FrequencyStatus and TimeStampStatus). Also provided the same functionality for the python API.
Looks like my editor caught some trailing white space. Let me know if you'd like those differences removed.