EOOS API 0.11
- eoos::api::Collection<T>
- eoos::api::Heap
- eoos::api::IllegalValue<T>
- eoos::api::Iterable<T>
- eoos::api::Iterator<T>
- eoos::api::List<T>
- eoos::api::ListIterator<T>
- eoos::api::Mutex
- eoos::api::Object
- eoos::api::OutStream<T>
- eoos::api::Queue<T>
- eoos::api::Scheduler
- eoos::api::Semaphore
- eoos::api::SequenceContainer<T>
- eoos::api::SmartPointer<T>
- eoos::api::String<T>
- eoos::api::System
- eoos::api::Task
- eoos::api::Thread
- eoos::lib::AbstractBaseString<T,R,A>
- eoos::lib::AbstractBuffer<T,A>
- eoos::lib::AbstractList<T,A>
- eoos::lib::AbstractTask<A>
- eoos::lib::AbstractThreadTask<A>
- eoos::lib::Align<T,S,A>
- eoos::lib::Allocator
- eoos::lib::BaseString<T,L,R,A>
- eoos::lib::BaseString<T,0,R,A>
- eoos::lib::Buffer<T,L,A>
- eoos::lib::Buffer<T,0,A>
- eoos::lib::CharTrait<T>
- eoos::lib::CircularList<T,A>
- eoos::lib::Heap
- eoos::lib::LinkedList<T,A>
- eoos::lib::LinkedNode<T,A>
- eoos::lib::Memory
- eoos::lib::Mutex<A>
- eoos::lib::MutexGuard<A>
- eoos::lib::NonCopyable<A>
- eoos::lib::Object<A>
- eoos::lib::ObjectAllocator<A>
- eoos::lib::Semaphore<A>
- eoos::lib::SharedPointer<T,D,A>
- eoos::lib::SmartPointerDeleter<T>
- eoos::lib::SmartPointerDeleterArray<T>
- eoos::lib::Stream
- eoos::lib::String
- eoos::lib::Thread<A>
- eoos::lib::UniquePointer<T,D,A>
BOOS Core for Texas Instruments AM18x ARM Microprocessors family is released
Baigudin Software project has represented the BOOS Core operating kernel for AM18x ARM Microprocessors family of Texas Instruments Company.
Interface «eoos::api::Queue<T>»
Queue interface.
- eoos::api::Queue<T>
- public eoos::api::Collection<T>
- public eoos::api::Object
- public eoos::api::IllegalValue<T>
- public eoos::api::Object
- public eoos::api::Collection<T>
public:
virtual bool_t add(T const& element);
virtual T const& getIllegal();
virtual bool_t isConstructed() const;
public: virtual ~Queue();
Destructor.
public: virtual bool_t add(T const& element);
Inserts a new element to the end of this container.
Parameters:
element — An inserting element.
Returns:
True if element is added.
public: virtual T const& getIllegal();
Returns illegal element which will be returned as error value.
Returns:
Illegal element.
public: virtual size_t getLength();
Returns a number of elements in this container.
Returns:
Number of elements, or always 0 if an error occurred.
public: virtual bool_t isConstructed() const;
Tests if this object has been constructed.
Returns:
True if object has been constructed successfully.
public: virtual bool_t isEmpty();
Tests if this collection has elements.
Returns:
True if this collection does not contain any elements, or always true if an error occurred.
public: virtual bool_t isIllegal(T const& value) const;
Tests if given value is an illegal.
Parameters:
value — A testing value.
Returns:
True if value is an illegal.
public: virtual T& peek();
Examines the head element of this container.
Returns:
The head element.
public: virtual bool_t remove();
Removes the head element of this container.
Returns:
True if an element is removed successfully.
public: virtual void setIllegal(T const& value);
Sets illegal element which will be returned as error value.
Parameters:
value — An illegal value.