Design Pattern Examples
Overview of object-oriented design patterns
DeviceChain Struct Reference

Represents a single device chain, a collection of DeviceNode objects. More...

Collaboration diagram for DeviceChain:
Collaboration graph

Public Attributes

const char * Name
 Name of device chain.
 
bool IsLocked
 true if device chain is locked; otherwise, false
 
DeviceNodenodes
 List of nodes in this device chain.
 
size_t numNodes
 Number of nodes in the nodes field.
 

Detailed Description

Represents a single device chain, a collection of DeviceNode objects.

Definition at line 45 of file Facade_ComplexSystem.c.

Member Data Documentation

◆ IsLocked

bool IsLocked

true if device chain is locked; otherwise, false

Definition at line 48 of file Facade_ComplexSystem.c.

Referenced by LockDeviceChain(), and UnlockDeviceChain().

◆ Name

const char* Name

Name of device chain.

Definition at line 47 of file Facade_ComplexSystem.c.

Referenced by Visitor_Shop::PickupOrder(), Visitor_Shop::PlaceOrder(), and EntryInformation::ToString().

◆ nodes

DeviceNode* nodes

List of nodes in this device chain.

Definition at line 49 of file Facade_ComplexSystem.c.

Referenced by DeviceChain_GetIdCodesForVisibleNodes(), DeviceChain_ResetVisibility(), and DeviceChain_ShowHideNodes().

◆ numNodes

size_t numNodes

Number of nodes in the nodes field.

Definition at line 50 of file Facade_ComplexSystem.c.

Referenced by DeviceChain_GetIdCodesForVisibleNodes(), DeviceChain_ResetVisibility(), and DeviceChain_ShowHideNodes().


The documentation for this struct was generated from the following file: