Reference

Equipment(3)

Equipment defines an interface in the part-whole hierarchy.

NAME

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

SYNOPSIS

#include <Equipment.hpp>

Inherits corelinux::TransparentComponent< EquipmentPtr >.

Inherited by EquipmentComposite, HardDrive, and PowerSupply.

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.

Author

Generated automatically by Doxygen for CoreLinux++ from the source code.

History