BOOS Core API 3.1
- api::Collection<Type>
- api::Heap
- api::IllegalValue<Type>
- api::Interrupt
- api::Iterable<Type>
- api::Iterator<Type>
- api::Kernel
- api::List<Type>
- api::ListIterator<Type>
- api::Mutex
- api::Object
- api::ProcessorInterrupt
- api::ProcessorPll
- api::ProcessorRegisters
- api::ProcessorTimer
- api::Queue<Type>
- api::Resource
- api::Runtime
- api::Scheduler
- api::Semaphore
- api::Stack<Type>
- api::String<Char>
- api::Synchronizable
- api::System
- api::Task
- api::Thread
- api::Timer
- api::Toggle
- api::Value<Type>
- library::AbstractBuffer<Type,Alloc>
- library::AbstractLinkedList<Type,Alloc>
- library::Align<Type,SIZEOF,Alloc>
- library::Buffer<Type,COUNT,Alloc>
- library::CircularList<Type,Alloc>
- library::Heap
- library::LinkedList<Type,Alloc>
- library::LinkedNode<Type,Alloc>
- library::Memory
- library::Stack<Type,Alloc>
- library::String<Char,Alloc>
- library::Toggle<Alloc>
BOOS Core for Texas Instruments TMS320C64x Digital Signal Processors family is released
Baigudin Software project has represented the BOOS Core operating kernel for TMS320C64x Digital Signal Processors family of Texas Instruments Company with single core.
Interface «api::Queue<Type>»
Queue interface.
- api::Queue<Type>
- public api::Collection<Type>
- public api::IllegalValue<Type>
- public api::Object
- public api::IllegalValue<Type>
- public api::Collection<Type>
public:
virtual bool add(Type element);
virtual Type getIllegal() const;
virtual int32 getLength() const;
virtual bool isConstructed() const;
virtual bool isIllegal(const Type& value) const;
public: virtual ~Queue();
Destructor.
public: virtual bool add(Type element);
Inserts new element to this container.
Parameters:
element — inserting element.
Returns:
true if element is added.
public: virtual Type getIllegal() const;
Returns illegal element which will be returned as error value.
Returns:
illegal element.
public: virtual int32 getLength() const;
Returns a number of elements in this container.
Returns:
number of elements.
public: virtual bool isConstructed() const;
Tests if this object has been constructed.
public: virtual bool isEmpty() const;
Tests if this collection has elements.
Returns:
true if this collection does not contain any elements.
public: virtual bool isIllegal(const Type& value) const;
Tests if given value is an illegal.
Parameters:
value — testing value.
Returns:
true if value is an illegal.
public: static bool isObject(const Type* obj);
Tests if given object has been constructed object.
public: virtual Type peek() const;
Examines the head element of this container.
Returns:
the head element.
public: virtual bool remove();
Removes the head element of this container.
Returns:
true if an element is removed successfully.
public: virtual void setIllegal(Type value);
Sets illegal element which will be returned as error value.
Parameters:
value — illegal value.