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>
EOOS Automotive R22-08 is released in version v0.10.0
The second official release of EOOS Automotive that is qualified for POSIX and WIN32 compatible operating systems and based on interfaces designed for EOOS RT – real time operating system.
Interface «api::Toggle»
Toggle interface of some controllers.
- api::Toggle
- public api::Object
public:
Type enable(bool status, Type ret);
virtual void enable(bool status=true);
public: virtual ~Toggle();
Destructor.
public: virtual bool disable();
Disables a controller.
Returns:
an enable source bit value of a controller before method was called.
public: Type enable(bool status, Type ret);
Enables a controller.
Parameters:
status — returned status by disable method.
ret — value which will be returned.
Returns:
given value.
public: virtual void enable(bool status=true);
Enables a controller.
The true passed argument directly turns a controller on, and the false does nothing, a controller stays in the current state.
Parameters:
status — returned status by disable method, or true for directly turning a controller on.
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.