
Title: Eco.Queue1 Software Component Specification
USPD: US.ECO.00006-01 90
Component Name: Eco.Queue1
Short Description (max 300 char.): implements queue data structure
Component Use Category: MATH_ALGORITHMS
Component Type: UTILITY
CID: 25D72F83A2564F4E9F59E489BE85E2A4
Marketplace URL: n/a
Status: Draft
Modified Date: October 11, 2025
Version: 1.0
Tags: Queue, FIFO, Data structure
| Authors | Company |
|---|---|
| Vladimir Bashev | PEERF |
Table of Contents
3.1. IEcoQueue1 Interface IDL descriptor
Appendix A: Samples and Training programs
1. Overview
This document describes the requirements for the implementation of the Eco.Queue1 component.
1.1. Introduction
Description.
1.2. Notes
- Keywords
1.3. Links
This paragraph contains links to information to help you understand this document:
Available in Marketplace at: http://address
2. Eco.Queue1 Component
The Eco.Queue1 component implements a queue data structure
The component has the following description:
3. IEcoQueue1 Interface
3.1. IEcoQueue1 Interface IDL descriptor
import "IEcoBase1.h"
[
object,
uguid(287E5923-1366-46A3-A2D7-EAEAFD97068E),
]
interface IEcoQueue1 : IEcoUnknown {
uint32_t Count ([in] void);
voidptr_t Peek ([in] void);
voidptr_t Dequeue ([in] void);
void Enqueue ([in] voidptr_t obj);
void Clear ([in] void);
}3.1.1. Count function
The function retrieves the number of elements contained in the interface.
3.1.2. Peek function
The function returns the object that is at the beginning of the queue, but does not delete it.
3.1.3. Dequeue function
The function removes an object from the beginning of the queue and returns it.
3.1.4. Enqueue function
The function adds the object to the end of the queue.
3.1.5. Clear function
The function removes all objects from the queue.
4. Error codes
The following table contains the error codes.
| Error code | Value | Description |
|---|---|---|
| ERR_ECO_SUCCESES | 0x0000 | Operation successful. |
| ERR_ECO_UNEXPECTED | 0xFFFF | Unexpected condition. |
| ERR_ECO_POINTER | 0xFFEE | NULL was passed incorrectly for a pointer value. |
| ERR_ECO_NOINTERFACE | 0xFFED | No such interface supported. |
| ERR_ECO_COMPONENT_NOTFOUND | 0xFFE9 | The component was not found. |

