Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Examples  

Equipment Class Reference

Equipment defines an interface in the part-whole hierarchy. More...

#include <Equipment.hpp>

Inheritance diagram for Equipment

Inheritance graph
[legend]
Collaboration diagram for Equipment:

Collaboration graph
[legend]
List of all members.

Public Methods

 Equipment ( EquipmentCref )
 Copy constructor.

virtual ~Equipment ( void )
 Virtual destructor.

bool operator== ( EquipmentCref ) const
 Equal if theName == theName.

NameCref getName ( void ) const
 Return the components name.

virtual Watt getPower ( void ) = 0
 Return the power requirement.


Protected Methods

 Equipment ( void ) throw (corelinux::CompositeException )
 Default constructor not allowed.

 Equipment ( NameCref )
 Always requires a name in derivations.

EquipmentRef operator= ( EquipmentCref ) throw (corelinux::CompositeException )
 Assignment operator can't overwrite name.


Detailed Description

Equipment defines an interface in the part-whole hierarchy.

We use the transparent component because we don't want to differentiate types at run time.


The documentation for this class was generated from the following files:
This is the CoreLinux++ reference manual
Provided by The CoreLinux Consortium