Inheritance diagram for nrEngine::KernelEvent:
Protected Member Functions | |
KernelEvent (const std::string &taskName, TaskId id, Priority prior=Priority::IMMEDIATE) | |
Protected Attributes | |
TaskId | mTaskId |
Store the id of a task about which we want to send information. | |
std::string | mTaskName |
Store the task name. | |
Friends | |
class | Kernel |
Only kernel is allowed to change the values here. |
KernelEvent is a base class for all possible event classes according to the tasking and kernel work. Kernel could send this events around if he thinks the application should be informed about the things going on.
Definition at line 35 of file KernelEvent.h.
nrEngine::KernelEvent::KernelEvent | ( | const std::string & | taskName, | |
TaskId | id, | |||
Priority | prior = Priority::IMMEDIATE | |||
) | [protected] |
The constructor is protected, so only friend namely kernel is allowed to create events of this type. So think as if this event were a system event which you are not able to send by yourself. Only kernel subsystem could send them around.
Definition at line 21 of file KernelEvent.cpp.