nrEngine::KernelEvent Class Reference
[System events]

On of the system base events classes (used by kernel to send information). More...

Inheritance diagram for nrEngine::KernelEvent:

nrEngine::Event nrEngine::KernelResumeTaskEvent nrEngine::KernelStartTaskEvent nrEngine::KernelStopTaskEvent nrEngine::KernelSuspendTaskEvent

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.

Detailed Description

On of the system base events classes (used by kernel to send information).

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.


Constructor & Destructor Documentation

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.

References mTaskId, and mTaskName.


The documentation for this class was generated from the following files:
Generated on Wed Sep 12 23:19:43 2007 for nrEngine by  doxygen 1.5.1