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, bool bRootListener)
 
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< ChangesNotificationrootChangesNotifications_
 
std::vector< ChangesNotificationchangesNotifications_
 

Detailed Description

Definition at line 45 of file broadcaster.hxx.

Constructor & Destructor Documentation

◆ Broadcaster() [1/2]

configmgr::Broadcaster::Broadcaster ( )
inline

Definition at line 47 of file broadcaster.hxx.

◆ Broadcaster() [2/2]

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

Member Function Documentation

◆ addChangesNotification()

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

◆ addContainerElementInsertedNotification()

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_.

◆ addContainerElementRemovedNotification()

void configmgr::Broadcaster::addContainerElementRemovedNotification ( css::uno::Reference< css::container::XContainerListener > const &  listener,
css::container::ContainerEvent const &  event 
)

◆ addContainerElementReplacedNotification()

void configmgr::Broadcaster::addContainerElementReplacedNotification ( css::uno::Reference< css::container::XContainerListener > const &  listener,
css::container::ContainerEvent const &  event 
)

◆ addDisposeNotification()

void configmgr::Broadcaster::addDisposeNotification ( css::uno::Reference< css::lang::XEventListener > const &  listener,
css::lang::EventObject const &  event 
)

◆ addPropertiesChangeNotification()

void configmgr::Broadcaster::addPropertiesChangeNotification ( css::uno::Reference< css::beans::XPropertiesChangeListener > const &  listener,
css::uno::Sequence< css::beans::PropertyChangeEvent > const &  event 
)

◆ addPropertyChangeNotification()

void configmgr::Broadcaster::addPropertyChangeNotification ( css::uno::Reference< css::beans::XPropertyChangeListener > const &  listener,
css::beans::PropertyChangeEvent const &  event 
)

◆ operator=()

Broadcaster & configmgr::Broadcaster::operator= ( const Broadcaster )
privatedelete

◆ send()

void configmgr::Broadcaster::send ( )

Member Data Documentation

◆ changesNotifications_

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

Definition at line 135 of file broadcaster.hxx.

Referenced by addChangesNotification(), and send().

◆ containerElementInsertedNotifications_

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

Definition at line 129 of file broadcaster.hxx.

Referenced by addContainerElementInsertedNotification(), and send().

◆ containerElementRemovedNotifications_

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

Definition at line 130 of file broadcaster.hxx.

Referenced by addContainerElementRemovedNotification(), and send().

◆ containerElementReplacedNotifications_

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

Definition at line 131 of file broadcaster.hxx.

Referenced by addContainerElementReplacedNotification(), and send().

◆ disposeNotifications_

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

Definition at line 128 of file broadcaster.hxx.

Referenced by addDisposeNotification(), and send().

◆ propertiesChangeNotifications_

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

Definition at line 133 of file broadcaster.hxx.

Referenced by addPropertiesChangeNotification(), and send().

◆ propertyChangeNotifications_

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

Definition at line 132 of file broadcaster.hxx.

Referenced by addPropertyChangeNotification(), and send().

◆ rootChangesNotifications_

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

Definition at line 134 of file broadcaster.hxx.

Referenced by addChangesNotification(), and send().


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