pips_event_handler_t

Union of event-handler function types

Synopsis:

#include <pips/event.h>
typedef union pips_event_handler_t {
    pips_event_new_data_handler_t* new_data;
    pips_event_new_topic_handler_t* new_topic;
    pips_event_new_subscriber_handler_t* new_subscriber;
    pips_event_new_publisher_handler_t* new_publisher;
    pips_event_deleted_subscriber_handler_t* deleted_subscriber;
    pips_event_deleted_publisher_handler_t* deleted_publisher;
} pips_event_handler_t;

Data:

pips_event_new_data_handler_t* new_data

New data sample callback.

pips_event_new_topic_handler_t* new_topic

New topic callback.

pips_event_new_subscriber_handler_t* new_subscriber

New subscriber callback.

pips_event_new_publisher_handler_t* new_publisher

New publisher callback.

pips_event_deleted_subscriber_handler_t* deleted_subscriber

Deleted subscriber callback.

pips_event_deleted_publisher_handler_t* deleted_publisher

Deleted publisher callback.

Library:

pips-client

Description:

This data type is a union of all known event-handler function types. This convenience type provides a single interface for registering event handlers.