IVCollection

This class provides support for notifications.


IVCollection - Member Functions and Data by Group

Constructors & Destructor

Use these members to construct or destruct objects of the class.


[view class]
~IVCollection
public:
~IVCollection()
Destructs an IVCollection object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
IVCollection
protected:
IVCollection()
Constructs an IVCollection object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Notification Members

Use these members as notification-enabled variants.


[view class]
disableNotification
public:
INotifier& disableNotification()
Stops the notifier from sending notifications to its observers.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
enableNotification
public:
INotifier& enableNotification(bool = true)
Starts the notifier sending notifications to its observers. This function can be overridden by derived classes to perform customized notification that your application might need. For instance, one of your function methods may require that a database be accessible before processing a retrieve function.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
isEnabledForNotification
public:
bool isEnabledForNotification() const
Returns true if a notifier can send notifications to its observers.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
notifyObservers
Notifies all observers in a notifier's list of observers. Each observer receives a notification event containing the identity of the notifier, the notification ID, and any optional data provided by the specific notifier object.


Overload 1
public:
INotifier& notifyObservers(INotificationEvent const&)

Requires the caller to construct an INotificationEvent to call it.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
protected:
INotifier& notifyObservers()

Does not require the caller to construct an INotificationEvent to call it. The construction of the INotificationEvent occurs in the code of the function.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Notifier Access

Provides access to the notifier object


[view class]
notifier
Returns a reference to the notifier object.


Overload 1
public:
INotifier const& notifier() const

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
public:
INotifier& notifier()

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Private Members

These members are not accessible.


[view class]
addId
public:
static INotificationId const addId
This member is not accessible.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
modifyId
public:
static INotificationId const modifyId
This member is not accessible.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
removeId
public:
static INotificationId const removeId
This member is not accessible.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
replaceId
public:
static INotificationId const replaceId
This member is not accessible.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IVCollection - Inherited Member Functions and Data

Inherited Public Functions

INotifier
IStandardNotifier

Inherited Public Data

INotifier

Inherited Protected Functions

IStandardNotifier
INotifier

Inherited Protected Data