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>
Baigudin Software registers the copyright of its own operating system – Embedded Object Operating System
The Russian Federal Service for Intellectual Property (Rospatent) registers the copyright of Embedded Object Operating System – Baigudin Software’s own embedded object-oriented real-time operating system.
Class «library::LinkedNode<Type,Alloc>»
Element for linked lists.
- library::LinkedNode<Type,Alloc>
- public Object<Alloc>
- public api::Object
- public Object<Alloc>
public:
virtual Type getElement() const;
virtual int32 getIndex() const;
virtual library::LinkedNode<Type,Alloc>* getNext() const;
virtual library::LinkedNode<Type,Alloc>* getPrevious() const;
virtual void insertAfter(library::LinkedNode<Type,Alloc>* node);
virtual void insertBefore(library::LinkedNode<Type,Alloc>* node);
virtual bool isConstructed() const;
static bool isObject(const Type* obj);
Object& operator =(const Object& obj);
void operator delete(void* ptr);
public: LinkedNode(Type element);
Constructor.
Parameters:
element — an user element of this node.
public: virtual ~LinkedNode();
Destructor.
public: virtual Type getElement() const;
Returns the element.
Returns:
next element.
public: virtual int32 getIndex() const;
Returns the element index.
Returns:
element index.
public: virtual library::LinkedNode<Type,Alloc>* getNext() const;
Returns next element.
Returns:
next element.
public: virtual library::LinkedNode<Type,Alloc>* getPrevious() const;
Returns previous element.
Returns:
previous element.
public: virtual void insertAfter(library::LinkedNode<Type,Alloc>* node);
Inserts a new element after this.
Method links a node after this and reindexes chain of nodes starts from given node.
Parameters:
node — pointer to inserted node.
public: virtual void insertBefore(library::LinkedNode<Type,Alloc>* node);
Inserts a new element after this.
Method links a node before this and reindexes chain of nodes starts from this node.
Parameters:
node — pointer to inserted node.
public: virtual bool isConstructed() const;
Tests if this object has been constructed.
public: static bool isObject(const Type* obj);
Tests if given object has been constructed object.
public: Object& operator =(const Object& obj);
Assignment operator.
Parameters:
obj — reference to source object.
Returns:
reference to this object.
public: void operator delete(void* ptr);
Operator delete.
Parameters:
ptr — address of allocated memory block or a null pointer.
public: void* operator new(size_t size);
Operator new.
Parameters:
size — number of bytes to allocate.
Returns:
allocated memory address or a null pointer.
public: void* operator new(size_t size, void* ptr);
Operator new.
Parameters:
size — unused.
ptr — pointer to reserved memory area
Returns:
given pointer.