|
iceoryx2
C++ Bindings
|
Represents the sending endpoint of an event based communication. More...
#include <notifier.hpp>
Public Member Functions | |
| Notifier (Notifier &&) noexcept | |
| auto | operator= (Notifier &&) noexcept -> Notifier & |
| ~Notifier () | |
| Notifier (const Notifier &)=delete | |
| auto | operator= (const Notifier &) -> Notifier &=delete |
| auto | id () const -> UniqueNotifierId |
| Returns the [UniqueNotifierId] of the [Notifier]. | |
| auto | name () const -> PortNameView |
| Returns the [PortNameView] of the [Notifier]. | |
| auto | notify () const -> bb::Expected< size_t, NotifierNotifyError > |
| auto | notify_with_custom_event_id (EventId event_id) const -> bb::Expected< size_t, NotifierNotifyError > |
| auto | deadline () const -> bb::Optional< iox2::bb::Duration > |
| Returns the deadline of the corresponding [Service]. | |
Friends | |
| template<ServiceType> | |
| class | PortFactoryNotifier |
Represents the sending endpoint of an event based communication.
Definition at line 29 of file notifier.hpp.
|
noexcept |
References Notifier().
Referenced by Notifier(), Notifier(), operator=(), operator=(), PortFactoryNotifier, and ~Notifier().
| iox2::Notifier< S >::~Notifier | ( | ) |
References Notifier().
|
delete |
References Notifier().
| auto iox2::Notifier< S >::deadline | ( | ) | const->bb::Optional< iox2::bb::Duration > |
Returns the deadline of the corresponding [Service].
References deadline().
Referenced by deadline().
| auto iox2::Notifier< S >::id | ( | ) | const->UniqueNotifierId |
Returns the [UniqueNotifierId] of the [Notifier].
| auto iox2::Notifier< S >::name | ( | ) | const->PortNameView |
| auto iox2::Notifier< S >::notify | ( | ) | const->bb::Expected< size_t, NotifierNotifyError > |
Notifies all [Listener] connected to the service with the default event id provided on creation. Returns on success the number of [Listener]s that were notified otherwise it returns [NotifierNotifyError].
References notify().
Referenced by notify().
| auto iox2::Notifier< S >::notify_with_custom_event_id | ( | EventId | event_id | ) | const->bb::Expected< size_t, NotifierNotifyError > |
Notifies all [Listener] connected to the service with a custom [EventId]. Returns on success the number of [Listener]s that were notified otherwise it returns [NotifierNotifyError].
References notify_with_custom_event_id().
Referenced by notify_with_custom_event_id().
|
delete |
References Notifier().
|
noexcept |
References Notifier().
Definition at line 60 of file notifier.hpp.
References Notifier(), and PortFactoryNotifier.
Referenced by PortFactoryNotifier.