Represents a single device. Part of the Facade Pattern example. More...

Public Member Functions | |
| DeviceNode (std::string name, uint32_t idcode, DeviceTypes tapType, bool initiallyVisible) | |
| Constructor. | |
Public Attributes | |
| bool | Visible |
| Whether the device is visible in the device chain. | |
| std::string | Name |
| Name of this device. | |
| uint32_t | Idcode |
| The idcode for this device. | |
| DeviceTypes | DeviceType |
| A value from the DeviceTypes enumeration identifying the type of the device. | |
Represents a single device. Part of the Facade Pattern example.
Definition at line 21 of file Facade_ComplicatedSubSystem.cpp.
|
inline |
Constructor.
| name | Name to use. |
| idcode | idcode for the device. |
| tapType | Value from the DeviceTypes enumeration. |
| initiallyVisible | true if initially visible; otherwise false. |
Definition at line 51 of file Facade_ComplicatedSubSystem.cpp.
| DeviceTypes DeviceType |
A value from the DeviceTypes enumeration identifying the type of the device.
Definition at line 42 of file Facade_ComplicatedSubSystem.cpp.
Referenced by DeviceChain::AddNode().
| uint32_t Idcode |
The idcode for this device.
Definition at line 36 of file Facade_ComplicatedSubSystem.cpp.
| std::string Name |
Name of this device.
Definition at line 31 of file Facade_ComplicatedSubSystem.cpp.
Referenced by Visitor_Shop::PickupOrder(), Visitor_Shop::PlaceOrder(), and EntryInformation::ToString().
| bool Visible |
Whether the device is visible in the device chain.
Definition at line 26 of file Facade_ComplicatedSubSystem.cpp.