.. index:: single: observer
.. _observer/0:

.. rst-class:: right

**category**

``observer``
============

Smalltalk dependent protocol.

| **Availability:** 
|    ``logtalk_load(dependents(loader))``

| **Author:** Paulo Moura
| **Version:** 1:0:0
| **Date:** 2003-02-09

| **Compilation flags:**
|    ``static``


| **Dependencies:**
|   (none)


| **Remarks:**
|    (none)

| **Inherited public predicates:**
|    (none)

.. contents::
   :local:
   :backlinks: top

Public predicates
-----------------

.. index:: update/1
.. _observer/0::update/1:

``update/1``
^^^^^^^^^^^^

Called when an observed object is updated.

| **Compilation flags:**
|    ``static``

| **Template:**
|    ``update(Change)``
| **Mode and number of proofs:**
|    ``update(?nonvar)`` - ``zero_or_one``


------------

Protected predicates
--------------------

(none)

Private predicates
------------------

(none)

Operators
---------

(none)

.. seealso::

   :ref:`subject <subject/0>`

