CoreLinux++
|
Goals
|
Developer's Corner
|
Contacts
|
|
Bridge Class Report
Bridge Class Report
Generated at: Wed, Jan 19, 2000
10:46:19
TABLE OF CONTENTS
- REPORT BODY
- Class report
- Data package
- Developer class
- CoreLinuxObject class
- Bridge class
- Component View package
- Model dictionary
- SUMMARY
REPORT BODY
Class report
- package Data
- class Developer
- Stereotype:
<<actor>>
- Documentation:
Developers extend the Bridge pattern for a particular implementation.
- class CoreLinuxObject
- Documentation:
The CoreLinuxObject is a base class in the libcorelinux library. It is not pervasive.
- abstract class Bridge < Impelementation >
- Superclasses:
- Data::CoreLinuxObject
- Documentation:
The Bridge class enables a delegation model so that the implementation may change without regards (other than continued support of the required interface) to the client.
- Operations:
- public Bridge ( anImplementation : <Implementation> )
- Documentation:
Default Constructor takes a base object pointer.
- protected Bridge ( aBridge : BridgeCref )
- Documentation:
Copy constructor is protected because to insure ownership of theImplementation we can't clone it during construction as the derived object is not fully formed yet.
- public ~Bridge ( [Unnamed] : void )
- Documentation:
Virtual Destructor
- public BridgeRef operator= ( aBridge : BridgeCref )
- Documentation:
Assignment operator
- public bool operator== ( aBridge : BridgeCref )
- Constraints: {query}
- Documentation:
Equality operator, returns true if the this is the same as the argument.
- protected Bridge ( [Unnamed] : void )
- Documentation:
Default constructor hidden as the instance requires a valid implementation reference.
- protected <Implementation> getImplementation ( [Unnamed] : void )
- Documentation:
Returns current theImplementation
- protected void setImplementation ( aImplementation : <Implementation> )
- Documentation:
Sets theImplementation. This method calls the pure virtual cloneImplementation so that derivations can enforce ownership. This method also destroys the current theImplementation if the clone is successful.
- protected abstract <Implementation> cloneImplementation ( aImplementation : <Implementation> )
- Documentation:
Pure virtual method which insures that theImplementation is owned by the Bridge instance.
- package Data::Component View
Model dictionary
B C D G O S ~
B
- Bridge class
The Bridge class enables a delegation model so that the implementation may change without regards (other than continued support of the required interface) to the client.
- Bridge operation from class Bridge
Default Constructor takes a base object pointer.
- Bridge operation from class Bridge
Copy constructor is protected because to insure ownership of theImplementation we can't clone it during construction as the derived object is not fully formed yet.
- Bridge operation from class Bridge
Default constructor hidden as the instance requires a valid implementation reference.
C
- cloneImplementation operation from class Bridge
Pure virtual method which insures that theImplementation is owned by the Bridge instance.
- Component View package
- CoreLinuxObject class
The CoreLinuxObject is a base class in the libcorelinux library. It is not pervasive.
D
- Data package
- Developer class
Developers extend the Bridge pattern for a particular implementation.
G
- getImplementation operation from class Bridge
Returns current theImplementation
O
- operator= operation from class Bridge
Assignment operator
- operator== operation from class Bridge
Equality operator, returns true if the this is the same as the argument.
S
- setImplementation operation from class Bridge
Sets theImplementation. This method calls the pure virtual cloneImplementation so that derivations can enforce ownership. This method also destroys the current theImplementation if the clone is successful.
~
- ~Bridge operation from class Bridge
Virtual Destructor
SUMMARY
- Total packages reported: 2
- Total classes reported: 3
- Total operations reported: 9
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
|
|
|