Feature #194
Get ID from published data
Status: | Resolved | Start date: | 02/17/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | C++ | |||
Target version: | 0.2 |
Description
Essentially, return the RSBEvent from publishData.
Related issues
Associated revisions
Method publish returns created event in src/rsb/Informer.h
fixes #194
fixes #194
- src/rsb/Informer.h: all Informer::publish methods return the event
after sending - test/rsb/UserLevelTest.cpp: added test case to check returned
events; renamed test suite PublisherTest -> InformerTest
History
#1 Updated by J. Wienke almost 13 years ago
What is the use case for this?
#2 Updated by I. Lütkebohle almost 13 years ago
When referencing an event, I need an id, which is created when RSBEvent is instantiated. publishData creates the RSBEvent internally, so I can't get the id. Returning the event from publishData would provide this, and more.
#3 Updated by J. Wienke almost 13 years ago
- Category set to C++
- Target version set to 0.2
#4 Updated by J. Moringen almost 13 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r846.