|
BLPAPI C++ 3.26.6
|
#include <blpapi_topic.h>
Used to identify the stream on which a message is published.
Topic objects are obtained from createTopic() on ProviderSession. They are used when adding a message to an Event for publishing using appendMessage() on EventFormatter.
Public Member Functions | |
| Topic () | |
| Topic (blpapi_Topic_t *handle) | |
| Topic (const Topic &original) | |
| ~Topic () | |
| Topic & | operator= (const Topic &rhs) |
| bool | isValid () const |
| bool | isActive () const |
| Service | service () const |
| Topic | ( | ) |
| bool isActive | ( | ) | const |
Returns true if this topic was elected by the platform to become the primary publisher.
| bool isValid | ( | ) | const |
Returns true if this Topic is valid and can be used to publish a message on.
| Service service | ( | ) | const |
Returns the service for which this topic was created.