• ElementCollections
    • Enums
      • COLLECTION_ERROR (Enum)
    • Function Blocks
      • Elements
        • BoolElement (FunctionBlock)
        • BoolElementFactory (FunctionBlock)
        • DintElement (FunctionBlock)
        • DintElementFactory (FunctionBlock)
        • IntElement (FunctionBlock)
        • IntElementFactory (FunctionBlock)
        • LinkedListElementBase (FunctionBlock)
        • LintElement (FunctionBlock)
        • LintElementFactory (FunctionBlock)
        • LrealElement (FunctionBlock)
        • LrealElementFactory (FunctionBlock)
        • NullElement (FunctionBlock)
        • StringElement (FunctionBlock)
        • StringElementFactory (FunctionBlock)
        • TimeElement (FunctionBlock)
        • TimeElementFactory (FunctionBlock)
        • UdintElement (FunctionBlock)
        • UdintElementFactory (FunctionBlock)
        • UintElement (FunctionBlock)
        • UintElementFactory (FunctionBlock)
        • UlintElement (FunctionBlock)
        • UlintElementFactory (FunctionBlock)
        • WStringElement (FunctionBlock)
        • WStringElementFactory (FunctionBlock)
      • HashTable
        • HashTable (FunctionBlock)
        • HashTableFactory (FunctionBlock)
      • Iterators
        • LinkedListIterator (FunctionBlock)
        • ListIterator (FunctionBlock)
        • SafeLinkedListIterator (FunctionBlock)
        • SafeListIterator (FunctionBlock)
      • LinkedList
        • LinkedList (FunctionBlock)
        • LinkedListFactory (FunctionBlock)
      • List
        • List (FunctionBlock)
        • ListFactory (FunctionBlock)
      • Queue
        • Queue (FunctionBlock)
        • QueueFactory (FunctionBlock)
      • SortedList
        • SortedList (FunctionBlock)
        • SortedListFactory (FunctionBlock)
      • Stack
        • Stack (FunctionBlock)
        • StackFactory (FunctionBlock)
      • TreeNode
        • TreeNode (FunctionBlock)
        • TreeNodeFactory (FunctionBlock)
    • Functions
      • CompareString (Function)
      • CompareWString (Function)
      • HashCodeFromString (Function)
      • HashCodeFromWString (Function)
    • GlobalVariables
      • Variables (GVL)
    • Interfaces
      • Collections
        • ICollection (Interface)
        • IContainsValue (Interface)
        • IDoubleLinkedList (Interface)
        • IDoubleLinkedList2 (Interface)
        • IList (Interface)
        • IList2 (Interface)
        • IList3 (Interface)
        • IMap (Interface)
        • IMap2 (Interface)
        • IMap3 (Interface)
        • IMap4 (Interface)
        • IQueue (Interface)
        • IQueue2 (Interface)
        • IQueue3 (Interface)
        • ISortedList (Interface)
        • ISortedList2 (Interface)
        • ISortedList3 (Interface)
        • IStack (Interface)
        • IStack2 (Interface)
        • IStack3 (Interface)
        • ITreeNode (Interface)
        • ITreeNode2 (Interface)
      • Elements
        • IBoolElement (Interface)
        • IDintElement (Interface)
        • IElement (Interface)
        • IIntElement (Interface)
        • ILintElement (Interface)
        • ILrealElement (Interface)
        • INullElement (Interface)
        • IOnlineChangeSafeLinkedListElement (Interface)
        • IStringElement (Interface)
        • ITimeElement (Interface)
        • IUdintElement (Interface)
        • IUintElement (Interface)
        • IUlintElement (Interface)
        • IWStringElement (Interface)
      • Helper
        • ILockable (Interface)
      • Iterators
        • IIterator (Interface)
        • ILinkedListIterator (Interface)
        • IListIterator (Interface)
        • ISafeIterator (Interface)
        • ISafeLinkedListIterator (Interface)
        • ISafeListIterator (Interface)
    • Structs
      • KeyValuePair (Struct)
  • Library Information
    • GetLibVersion (Function)
    • GetLibVersionNumber (Function)
    • IsLibReleased (Function)
  • File and Project Information
  • Library Reference
    • CmpApp
      • Library Identification
      • Library Properties
    • CmpErrors2 Interfaces
      • Library Identification
      • Library Properties
    • CmpEventMgr Implementation
      • Library Identification
      • Library Properties
    • CmpEventMgr Interfaces
      • Library Identification
      • Library Properties
    • CmpSchedule
      • Library Identification
      • Library Properties
    • FB Factory
      • Library Identification
      • Library Properties
    • Memory Block Manager
      • Library Identification
      • Library Properties
    • StringUtils
      • Library Identification
      • Library Properties
    • SysCpuHandling
      • Library Identification
      • Library Properties
    • SysMem
      • Library Identification
      • Library Properties
    • SysTime
      • Library Identification
      • Library Properties
    • SysTypes2 Interfaces
      • Library Identification
      • Library Properties
Element Collections
  • Docs »
  • ElementCollections »
  • Function Blocks »
  • Stack »
  • Stack (FB)

Stack (FB)ΒΆ

FUNCTION_BLOCK FINAL Stack EXTENDS FBF.InstanceBase IMPLEMENTS IStack3, IModCounter, ILockable

Funktion block for stacks (LIFO, last in first out).

InOut:

Scope

Name

Type

Input Const

paElements

POINTER TO IElement

udiMaxElements

UDINT

Properties:

LockWaitTime

Methods:

AddElement

ContainsElement

ContainsValue

CountElements

ElementCompareTo

ElementEquals

ElementHashCode

ElementIterator

Peek

Pop

RemoveAllElements

RemoveElement

SafeElementIterator

Structure:

  • AddElement (Method)
  • ContainsElement (Method)
  • ContainsValue (Method)
  • CountElements (Method)
  • ElementCompareTo (Method)
  • ElementEquals (Method)
  • ElementHashCode (Method)
  • ElementIterator (Method)
  • LockWaitTime (Property)
  • Peek (Method)
  • Pop (Method)
  • RemoveAllElements (Method)
  • RemoveElement (Method)
  • SafeElementIterator (Method)