Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0102873/mediawiki/includes/MagicWord.php on line 739

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0102873/mediawiki/includes/MagicWord.php on line 739

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0102873/mediawiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0102873/mediawiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0102873/mediawiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0102873/mediawiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0102873/mediawiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0102873/mediawiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0102873/mediawiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0102873/mediawiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0102873/mediawiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0102873/mediawiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0102873/mediawiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w0102873/mediawiki/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0102873/mediawiki/includes/MagicWord.php on line 739

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0102873/mediawiki/includes/MagicWord.php on line 739

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0102873/mediawiki/includes/MagicWord.php on line 739

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0102873/mediawiki/includes/MagicWord.php on line 739
Optimaler Entscheidungsbaum: Systemarchitektur – It2010-g1

Optimaler Entscheidungsbaum: Systemarchitektur


Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0102873/mediawiki/includes/MagicWord.php on line 739
Aus It2010-g1
Wechseln zu: Navigation, Suche
Zeile 2: Zeile 2:
  
 
== Observer Pattern ==
 
== Observer Pattern ==
 +
Der [[Technische Konzepte: Observer Pattern | Observer Pattern]] besitzt eine abstrakte Klasse '''"Subject"''' und ein Interface '''"Observer"'''.
 +
 +
=== Subjekt ===
 +
Das Subjekt stellt das zu beobachtende Objekt dar und besitzt folgende Methoden:
 +
* '''addObserver(Observer pObserver)''' um einen Observer (Beobachter) aufzunehmen
 +
* '''removeObserver(Observer pObserver)''' um einen Observer wieder zu entfernen
 +
* '''updateAllTable(TableData pTableData)''' ruft für jeden eigenen Observer jeweils die Methode ''updateAllTable(pTableData)'' auf
 +
* '''updatetAllTree(TreeNode pTree)''' ruft für jeden eigenen Observer jeweils die Methode ''updateTree(pTree)'' auf
 +
* '''updateAllInteractiveTree(TreeNode pTree)''' ruft für jeden eigenen Observer jeweils die Methode ''updateAllInteractiveTree(pTree)'' auf
 +
* '''updateAllAutomaticTree(TreeNode pTree)''' ruft für jeden eigenen Observer jeweils die Methode ''updateAllAutomaticTree(pTree)'' auf
 +
 +
=== Observer ===
  
 
Das folgende Aktivitätsdiagramm zeigt die grundlegende Struktur der Verwendung des Observer Patterns in diesem Projekt.
 
Das folgende Aktivitätsdiagramm zeigt die grundlegende Struktur der Verwendung des Observer Patterns in diesem Projekt.

Version vom 24. Mai 2012, 11:58 Uhr

Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Projekte
Werkzeuge