Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

Interface «api::Task»

Task interface.

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

public: virtual ~Task();

Destructor.

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 main();

The method with self context

public: virtual int32 stackSize();

Returns size of stack.

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

Returns:
stack size in bytes.

Back to class list