CoreLinux++
|
Goals
|
Developer's Corner
|
Contacts
|
|
Subject Observer Class Report
Subject Observer Class Report
Generated at: Sun, May 07, 2000
10:35:22
TABLE OF CONTENTS
- REPORT BODY
- Class report
- Data package
- Component View package
- /spare package
- develop package
- corelinux package
- corelinux package
- Subject.hpp component
- NullPointerException.hpp component
- Observer.hpp component
- Iterator.hpp component
- Event.hpp component
- libcorelinux package
- Event<Identifier> class
- Iterator<ObserverPtr> class
- Iterator class
- NullPointerException class
- Observer class
- Subject class
- Use Case package
- Roles package
- Developer class
- Implementor class
- Analysis package
- Default package
- SUMMARY
REPORT BODY
Class report
- package Data
- package Data::Component View
- package Data::Component View::/spare
- package Data::Component View::/spare::develop
- package Data::Component View::/spare::develop::corelinux
- package Data::Component View::/spare::develop::corelinux::corelinux
- component Subject.hpp
- Assigned objects:
- Subject class
- component NullPointerException.hpp
- Assigned objects:
- NullPointerException class
- component Observer.hpp
- Assigned objects:
- Observer class
- component Iterator.hpp
- Assigned objects:
- Iterator class
- component Event.hpp
- package Data::libcorelinux
- class Event<Identifier>
- class Iterator<ObserverPtr>
- Interfaces:
- Data::libcorelinux::Iterator
- class Iterator < ElementType >
- Documentation:
The Iterator provides a way to access the elements of an
collection type sequentially without exposing its underlying
representation. The implementation requires a template argument
that describes the ElementType being iterated over.
- Operations:
- public Iterator ( [Unnamed] : void )
- Stereotype:
<<constructor>>
- public Iterator ( aRef : const Iterator& )
- Stereotype:
<<constructor>>
- public ~Iterator ( [Unnamed] : void )
- Stereotype:
<<destructor>>
- public Iterator operator = ( [Unnamed] : const Iterator& )
- public bool operator == ( aRef : const Iterator& )
- Constraints: {query}
- public abstract bool isValid ( [Unnamed] : void )
- Stereotype:
<<getter>>
- Constraints: {query}
- public abstract ElementType getElement ( [Unnamed] : void )
- Stereotype:
<<getter>>
- Constraints: {query}
- public abstract void setFirst ( [Unnamed] : void )
- Stereotype:
<<setter>>
- public abstract void setNext ( [Unnamed] : void )
- Stereotype:
<<setter>>
- public abstract void setPrevious ( [Unnamed] : void )
- Stereotype:
<<setter>>
- public abstract void setLast ( [Unnamed] : void )
- Stereotype:
<<setter>>
- class NullPointerException
- Documentation:
The Iterator provides a way to access the elements of an
collection type sequentially without exposing its underlying
representation. The implementation requires a template argument
that describes the ElementType being iterated over.
- Operations:
- public NullPointerException ( why : CharCptr, file : CharCptr, line : LineNum, severity : Severity=CONTINUABLE, outOfMemory : bool=false )
- Stereotype:
<<constructor>>
- public NullPointerException ( file : CharCptr, line : LineNum, severity : Severity=CONTINUABLE, outOfMemory : bool=false )
- Stereotype:
<<constructor>>
- public NullPointerException ( [Unnamed] : NullPointerExceptionCref )
- Stereotype:
<<constructor>>
- public ~NullPointerException ( [Unnamed] : void )
- Stereotype:
<<destructor>>
- public NullPointerExceptionRef operator = ( [Unnamed] : NullPointerExceptionCref )
- public bool operator == ( [Unnamed] : NullPointerExceptionCref )
- Constraints: {query}
- protected NullPointerException ( [Unnamed] : void )
- Stereotype:
<<constructor>>
- class Observer
- Documentation:
Observer defines the update interface for objects that should be notified when there is a change in a subject.
- Operations:
- public Observer ( [Unnamed] : void )
- Stereotype:
<<constructor>>
- Documentation:
Default constructor
- public Observer ( [Unnamed] : ObserverCref )
- Stereotype:
<<constructor>>
- Documentation:
Copy constructor
- public ~Observer ( [Unnamed] : void )
- Stereotype:
<<destructor>>
- Documentation:
Virtual destructor
- public ObserverRef operator = ( [Unnamed] : ObserverCref )
- Stereotype:
<<setter>>
- Documentation:
Assignment operator
- public bool operator == ( [Unnamed] : ObserverCref )
- Stereotype:
<<getter>>
- Constraints: {query}
- Documentation:
Equality operator
- public bool operator != ( [Unnamed] : ObserverCref )
- Stereotype:
<<getter>>
- Constraints: {query}
- Documentation:
Non-equality operator
- public void event ( [Unnamed] : Event* )
- Stereotype:
<<setter>>
- Documentation:
Invoked by the Subject::notify methods.
- abstract class Subject
- Documentation:
Subject knows its Observers and communicates through event notification.
- Operations:
- public Subject ( [Unnamed] : void )
- Stereotype:
<<constructor>>
- public Subject ( [Unnamed] : SubjectCref )
- Stereotype:
<<constructor>>
- public ~Subject ( [Unnamed] : void )
- Stereotype:
<<destructor>>
- public SubjectRef operator = ( [Unnamed] : SubjectCref )
- public bool operator == ( [Unnamed] : SubjectCref )
- Constraints: {query}
- public bool operator != ( [Unnamed] : SubjectCref )
- Constraints: {query}
- public abstract void addObserver ( [Unnamed] : ObserverPtr, [Unnamed] : Event* )
- Documentation:
Add an observer for a specific event type.
- public abstract void removeObserver ( [Unnamed] : ObserverPtr )
- Documentation:
Remove this observer from all event notifications.
- public abstract void removeObserver ( [Unnamed] : ObserverPtr, [Unnamed] : Event* )
- Documentation:
Remove an observer just from the event indicated.
- public abstract Iterator createIterator ( [Unnamed] : void )
- Documentation:
Create a iterator over all observers.
- public abstract Iterator createIterator ( [Unnamed] : Event* )
- Documentation:
Create a iterator over observers who are interested in this event.
- public abstract void destroyIterator ( [Unnamed] : Iterator* )
- Documentation:
Destroy the iterator.
- protected void notifyObservers ( [Unnamed] : Event* )
- Documentation:
Broadcast an event to interested observers.
- protected void notifyAllObservers ( [Unnamed] : Event* )
- Documentation:
Broadcast this event to ALL observers regardless of key.
- package Data::Use Case
- package Data::Use Case::Roles
- class Developer
- Stereotype:
<<actor>>
- Documentation:
Developer
- class Implementor
- Superclasses:
- Data::Use Case::Roles::Developer
- Stereotype:
<<actor>>
- Documentation:
Implementor is a developer that uses either the corelinux or extension types into solution space applications.
- Operations:
- public doWork ( )
- package Data::Analysis
- package Data::Default
SUMMARY
- Total packages reported: 11
- Total classes reported: 8
- Total operations reported: 40
- Total components reported: 5
Copyright © 1999, 2000 by CoreLinux Consortium
This material may be distributed only subject to the terms and conditions set forth in the
Open Publication License
|
|
|