Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

Baigudin Software is unveiled in global edition

Baigudin Software project has been unveiled in English global edition and it always accessed by www.baigudin.software/en/.

Interface «api::Interrupt»

Hardware interrupt interface.

public: virtual ~Interrupt();

Destructor.

public: virtual void clear();

Clears an interrupt status of this source.

public: virtual bool disable();

Disables a controller.

Returns:
an enable source bit value of a controller before method was called.

public: virtual void enable(bool status);

Enables a controller.

Parameters:
status — returned status by disable method.

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 bool isConstructed() const;

Tests if this object has been constructed.

Returns:
true if object has been constructed successfully.

public: static bool isObject(const Type* obj);

Tests if given object has been constructed object.

Parameters:
obj — pointer to object.

Returns:
true if object has been constructed successfully.

public: virtual void jump();

Jumps to interrupt hardware vector.

public: virtual void set();

Sets an interrupt status of this source.

Back to class list