◆ get_subscribed_ids()
| vector< int > PubSub::get_subscribed_ids |
( |
| ) |
|
|
virtual |
Return the IDs of all subscribed messages.
◆ get_subscription_results()
| map< int, void * > PubSub::get_subscription_results |
( |
| ) |
|
|
virtual |
Collect the variables of all subscribed message.
- Returns
- a map whose keys are the message type and whose values are the message that was collected from the PPS server
◆ publish()
| void PubSub::publish |
( |
int |
type, |
|
|
void * |
message |
|
) |
| |
|
virtual |
Publish a message of a specific type to the PPS server.
- Parameters
-
| type | the message type |
| message | the contents of the message |
◆ subscribe()
| void PubSub::subscribe |
( |
int |
type | ) |
|
|
virtual |
Subscribe to a message.
These messages can then be collected from get_subscription_results.
- Parameters
-
◆ unsubscribe()
| void PubSub::unsubscribe |
( |
int |
type | ) |
|
|
virtual |
Unsubscribe from a message.
- Parameters
-
The documentation for this class was generated from the following files: