SECEditLangConfig::UpdateAllObservers

void SECEditLangConfig::UpdateAllObservers(IObserver* pSender = NULL, IMessage* pMsgA = NULL)

Broadcast a notification of change to all observers

Defined in: SECEditLangConfig.cpp

Return Value

void

Comments

When a subject changes state, it must call UpdateAllObservers() passing a record describing the nature of the change. This function will then proceed to broadcast this notification to all observers. A word on desired usage: The UpdateAllObservers can be called from observers or clients of the subject directly. However, it is better practice to have the observers and clients call operations on the subject which produce the desired change and notification as a side effect. In other words, the subject perform all the calls to UpdateAllObservers itself where possible.

Parameters

pSender

The observer which triggered the update

pMsgA

message describing what change has occurred

See Also

IMvcSubject, IMvcSubject::AddObserver