LibreOffice Module configmgr (master)  1
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
configmgr::Broadcaster Class Reference

#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)
 
void send ()
 

Private Member Functions

 Broadcaster (const Broadcaster &)=delete
 
Broadcasteroperator= (const Broadcaster &)=delete
 

Private Attributes

std::vector< DisposeNotificationdisposeNotifications_
 
std::vector< ContainerNotificationcontainerElementInsertedNotifications_
 
std::vector< ContainerNotificationcontainerElementRemovedNotifications_
 
std::vector< ContainerNotificationcontainerElementReplacedNotifications_
 
std::vector< PropertyChangeNotificationpropertyChangeNotifications_
 
std::vector< PropertiesChangeNotificationpropertiesChangeNotifications_
 
std::vector< ChangesNotificationchangesNotifications_
 

Detailed Description

Definition at line 45 of file broadcaster.hxx.

Constructor & Destructor Documentation

configmgr::Broadcaster::Broadcaster ( )
inline

Definition at line 47 of file broadcaster.hxx.

configmgr::Broadcaster::Broadcaster ( const Broadcaster )
privatedelete

Member Function Documentation

void configmgr::Broadcaster::addChangesNotification ( css::uno::Reference< css::util::XChangesListener > const &  listener,
css::util::ChangesEvent const &  event 
)

Definition at line 97 of file broadcaster.cxx.

References changesNotifications_.

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 68 of file broadcaster.cxx.

References containerElementInsertedNotifications_.

void configmgr::Broadcaster::addContainerElementRemovedNotification ( css::uno::Reference< css::container::XContainerListener > const &  listener,
css::container::ContainerEvent const &  event 
)
void configmgr::Broadcaster::addContainerElementReplacedNotification ( css::uno::Reference< css::container::XContainerListener > const &  listener,
css::container::ContainerEvent const &  event 
)
void configmgr::Broadcaster::addDisposeNotification ( css::uno::Reference< css::lang::XEventListener > const &  listener,
css::lang::EventObject const &  event 
)
void configmgr::Broadcaster::addPropertiesChangeNotification ( css::uno::Reference< css::beans::XPropertiesChangeListener > const &  listener,
css::uno::Sequence< css::beans::PropertyChangeEvent > const &  event 
)
void configmgr::Broadcaster::addPropertyChangeNotification ( css::uno::Reference< css::beans::XPropertyChangeListener > const &  listener,
css::beans::PropertyChangeEvent const &  event 
)
Broadcaster& configmgr::Broadcaster::operator= ( const Broadcaster )
privatedelete
void configmgr::Broadcaster::send ( )

Member Data Documentation

std::vector< ChangesNotification > configmgr::Broadcaster::changesNotifications_
private

Definition at line 134 of file broadcaster.hxx.

Referenced by addChangesNotification(), and send().

std::vector< ContainerNotification > configmgr::Broadcaster::containerElementInsertedNotifications_
private

Definition at line 129 of file broadcaster.hxx.

Referenced by addContainerElementInsertedNotification(), and send().

std::vector< ContainerNotification > configmgr::Broadcaster::containerElementRemovedNotifications_
private

Definition at line 130 of file broadcaster.hxx.

Referenced by addContainerElementRemovedNotification(), and send().

std::vector< ContainerNotification > configmgr::Broadcaster::containerElementReplacedNotifications_
private

Definition at line 131 of file broadcaster.hxx.

Referenced by addContainerElementReplacedNotification(), and send().

std::vector< DisposeNotification > configmgr::Broadcaster::disposeNotifications_
private

Definition at line 128 of file broadcaster.hxx.

Referenced by addDisposeNotification(), and send().

std::vector< PropertiesChangeNotification > configmgr::Broadcaster::propertiesChangeNotifications_
private

Definition at line 133 of file broadcaster.hxx.

Referenced by addPropertiesChangeNotification(), and send().

std::vector< PropertyChangeNotification > configmgr::Broadcaster::propertyChangeNotifications_
private

Definition at line 132 of file broadcaster.hxx.

Referenced by addPropertyChangeNotification(), and send().


The documentation for this class was generated from the following files: