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

Equipment Class Reference

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

#include <Equipment.hpp>

Inheritance diagram for Equipment:

corelinux::TransparentComponent< EquipmentPtr > corelinux::Component corelinux::CoreLinuxObject EquipmentComposite List of all members.

Public Member Functions

 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 Member Functions

 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