Closed Squadrick closed 4 years ago
Closes #33
This changes the API significantly for shm::pubsub:
shm::pubsub
SubscriberBin
Subscriber
PublisherBin
Publisher
SerializedSubscriber
SubscirberBin
SubscriberBase
pubsub
shm::memory::Copier*
extra_copy
Serialized
shadesmar/pubsub/serialized_{publisher|subscriber}.h
The main README.md has been updated to reflect the new API.
README.md
Closes #33
This changes the API significantly for
shm::pubsub
:SubscriberBin
->Subscriber
&PublisherBin
->Publisher
.Subscriber
->SerializedSubscriber
(similar forPublisher
).SubscirberBin
andSubscriber
used to inherit fromSubscriberBase
. This is no longer the base. They are independent.pubsub
classes now takeshm::memory::Copier*
as the last constructor param and has full support for custom copiers.extra_copy
param in the constructors the olderPublisher
andSubscriber
has been removed.Serialized
versions sit in their own separate header files:shadesmar/pubsub/serialized_{publisher|subscriber}.h
.The main
README.md
has been updated to reflect the new API.