Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

Interface «eoos::api::Task»

Task interface.

The interface of a task that is being executed in self context.

public: virtual ~Task();

Destructor.

public: virtual size_t getStackSize() const;

Returns size of stack.

The function returns size of stack in bytes which should be allocated for the task.

Returns:
Stack size in bytes, or zero if OS default stack size is needed.

public: virtual bool_t isConstructed() const;

Tests if this object has been constructed.

Returns:
True if object has been constructed successfully.

public: virtual void start();

Starts executing an operating system task in itself context.

Back to class list