LibreOffice Module configmgr (master) 1
|
#include <broadcaster.hxx>
Classes | |
struct | ChangesNotification |
struct | ContainerNotification |
struct | DisposeNotification |
struct | PropertiesChangeNotification |
struct | PropertyChangeNotification |
Public Member Functions | |
Broadcaster () | |
void | addDisposeNotification (css::uno::Reference< css::lang::XEventListener > const &listener, css::lang::EventObject const &event) |
void | addContainerElementInsertedNotification (css::uno::Reference< css::container::XContainerListener > const &listener, css::container::ContainerEvent const &event) |
void | addContainerElementRemovedNotification (css::uno::Reference< css::container::XContainerListener > const &listener, css::container::ContainerEvent const &event) |
void | addContainerElementReplacedNotification (css::uno::Reference< css::container::XContainerListener > const &listener, css::container::ContainerEvent const &event) |
void | addPropertyChangeNotification (css::uno::Reference< css::beans::XPropertyChangeListener > const &listener, css::beans::PropertyChangeEvent const &event) |
void | addPropertiesChangeNotification (css::uno::Reference< css::beans::XPropertiesChangeListener > const &listener, css::uno::Sequence< css::beans::PropertyChangeEvent > const &event) |
void | addChangesNotification (css::uno::Reference< css::util::XChangesListener > const &listener, css::util::ChangesEvent const &event, bool bRootListener) |
void | send () |
Private Member Functions | |
Broadcaster (const Broadcaster &)=delete | |
Broadcaster & | operator= (const Broadcaster &)=delete |
Private Attributes | |
std::vector< DisposeNotification > | disposeNotifications_ |
std::vector< ContainerNotification > | containerElementInsertedNotifications_ |
std::vector< ContainerNotification > | containerElementRemovedNotifications_ |
std::vector< ContainerNotification > | containerElementReplacedNotifications_ |
std::vector< PropertyChangeNotification > | propertyChangeNotifications_ |
std::vector< PropertiesChangeNotification > | propertiesChangeNotifications_ |
std::vector< ChangesNotification > | rootChangesNotifications_ |
std::vector< ChangesNotification > | changesNotifications_ |
Definition at line 45 of file broadcaster.hxx.
|
inline |
Definition at line 47 of file broadcaster.hxx.
|
privatedelete |
void configmgr::Broadcaster::addChangesNotification | ( | css::uno::Reference< css::util::XChangesListener > const & | listener, |
css::util::ChangesEvent const & | event, | ||
bool | bRootListener | ||
) |
Definition at line 98 of file broadcaster.cxx.
References changesNotifications_, and rootChangesNotifications_.
Referenced by configmgr::RootAccess::initBroadcaster().
void configmgr::Broadcaster::addContainerElementInsertedNotification | ( | css::uno::Reference< css::container::XContainerListener > const & | listener, |
css::container::ContainerEvent const & | event | ||
) |
Definition at line 69 of file broadcaster.cxx.
References containerElementInsertedNotifications_.
void configmgr::Broadcaster::addContainerElementRemovedNotification | ( | css::uno::Reference< css::container::XContainerListener > const & | listener, |
css::container::ContainerEvent const & | event | ||
) |
Definition at line 76 of file broadcaster.cxx.
References containerElementRemovedNotifications_.
Referenced by configmgr::Access::initBroadcasterAndChanges().
void configmgr::Broadcaster::addContainerElementReplacedNotification | ( | css::uno::Reference< css::container::XContainerListener > const & | listener, |
css::container::ContainerEvent const & | event | ||
) |
Definition at line 62 of file broadcaster.cxx.
References containerElementReplacedNotifications_.
Referenced by configmgr::Access::initBroadcasterAndChanges().
void configmgr::Broadcaster::addDisposeNotification | ( | css::uno::Reference< css::lang::XEventListener > const & | listener, |
css::lang::EventObject const & | event | ||
) |
Definition at line 55 of file broadcaster.cxx.
References disposeNotifications_.
Referenced by configmgr::Access::initDisposeBroadcaster(), and configmgr::RootAccess::initDisposeBroadcaster().
void configmgr::Broadcaster::addPropertiesChangeNotification | ( | css::uno::Reference< css::beans::XPropertiesChangeListener > const & | listener, |
css::uno::Sequence< css::beans::PropertyChangeEvent > const & | event | ||
) |
Definition at line 90 of file broadcaster.cxx.
References propertiesChangeNotifications_.
Referenced by configmgr::Access::initBroadcasterAndChanges().
void configmgr::Broadcaster::addPropertyChangeNotification | ( | css::uno::Reference< css::beans::XPropertyChangeListener > const & | listener, |
css::beans::PropertyChangeEvent const & | event | ||
) |
Definition at line 83 of file broadcaster.cxx.
References propertyChangeNotifications_.
Referenced by configmgr::Access::initBroadcasterAndChanges().
|
privatedelete |
void configmgr::Broadcaster::send | ( | ) |
Definition at line 108 of file broadcaster.cxx.
References changesNotifications_, containerElementInsertedNotifications_, containerElementRemovedNotifications_, containerElementReplacedNotifications_, disposeNotifications_, cppu::getCaughtException(), propertiesChangeNotifications_, propertyChangeNotifications_, and rootChangesNotifications_.
Referenced by configmgr::RootAccess::commitChanges(), configmgr::Access::dispose(), configmgr::Access::insertByName(), configmgr::Access::removeByName(), configmgr::Access::replaceByHierarchicalName(), configmgr::Access::replaceByName(), configmgr::Access::setHierarchicalPropertyValue(), configmgr::Access::setHierarchicalPropertyValues(), configmgr::Access::setName(), configmgr::Access::setPropertyValue(), and configmgr::Access::setPropertyValues().
|
private |
Definition at line 135 of file broadcaster.hxx.
Referenced by addChangesNotification(), and send().
|
private |
Definition at line 129 of file broadcaster.hxx.
Referenced by addContainerElementInsertedNotification(), and send().
|
private |
Definition at line 130 of file broadcaster.hxx.
Referenced by addContainerElementRemovedNotification(), and send().
|
private |
Definition at line 131 of file broadcaster.hxx.
Referenced by addContainerElementReplacedNotification(), and send().
|
private |
Definition at line 128 of file broadcaster.hxx.
Referenced by addDisposeNotification(), and send().
|
private |
Definition at line 133 of file broadcaster.hxx.
Referenced by addPropertiesChangeNotification(), and send().
|
private |
Definition at line 132 of file broadcaster.hxx.
Referenced by addPropertyChangeNotification(), and send().
|
private |
Definition at line 134 of file broadcaster.hxx.
Referenced by addChangesNotification(), and send().