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
DM-5292: Add queue support #3
Conversation
Fixed loops, at request. Added code to remove raw pointers being passed back.
Refactored EventTransmitter and EventReceiver to create new base classes Transmitter and Receiver. These are used to build EventTransmitter, EventReceiver, EventEnqueuer, and EventDequeuer. Fixed raw pointers being passed back from existing methods. Removed unnessary #includes and whitespace at the end of lines.
assertIsNotNone and assertIsNone, respectively. Changed assertEqual when comparing a list to assertTupleEqual. Fixed direct assert inequality to None comparision to assertIsNotNone
…broker can be contacted.
@@ -42,7 +42,8 @@ | |||
#include <iostream> | |||
#include <set> | |||
|
|||
#include "lsst/utils/Utils.h" | |||
#include "boost/shared_ptr.hpp" |
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.
Can we group the boost includes together?
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.
Will do
#include files.
Removed unused #include files Fixed doxygen comments Changed duplicate strings to use one reference
* @brief get the destination property name | ||
* @note This is the TYPE of the destination we're using, either a TOPIC or a QUEUE | ||
*/ | ||
virtual std::string getDestinationPropertyName() { return NULL; } |
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.
Sorry, I realize it's too late for comments, but I still have to say it 😄
I hope this method is never called (overridden in all subclasses), constructing an std::string
from zero pointer will very likely result in a crash. If you want an empty string use ""
or explicit std::string()
(I prefer latter).
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.
Good catch. I suggest you file a ticket so it can get fixed.
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.
OK, done, DM-7009 assigned to @srp3rd.
No description provided.