Changeset 7413 for code/trunk/src/orxonox
- Timestamp:
- Sep 11, 2010, 5:05:47 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/interfaces/NotificationListener.h
r7403 r7413 41 41 #include <string> 42 42 43 #include "util/StringUtils.h" 44 43 45 #include "core/OrxonoxClass.h" 44 46 … … 46 48 { 47 49 class Notification; 48 49 /**50 @brief51 Struct that overloads the compare operation between two PickupIdentifier pointers.52 */53 //TODO:54 struct NotificationListenerStringCompare55 {56 bool operator() (const std::string& lhs, const std::string& rhs) const57 { return lhs.compare(rhs) < 0; }58 };59 50 60 51 /** … … 70 61 virtual ~NotificationListener() {} 71 62 72 virtual const std::set<std::string, NotificationListenerStringCompare> & getTargetsSet() = 0;63 virtual const std::set<std::string, StringCompare> & getTargetsSet() = 0; 73 64 virtual void update(void) = 0; 74 65 virtual void update(Notification* notification, const std::time_t & time) = 0;
Note: See TracChangeset
for help on using the changeset viewer.