Desc. & Idea | Warnings | Methods | Atributes | Operators | Specials |
This is the fundamental class for collector layers of child, parent and application processes. It contains common methods to all collector layers.
Under construction! This document doesn't yet contain all methods and atributes, but only the key ones..
Public:
TCollector(int type)
virtual ~TCollector()
virtual BOOL Interrupt() = 0
TKernelInfo* GetKI(uint id)
BOOL IsKIReady(uint id)
Protected:
virtual TKernelInfo* CreateKI(uint id,int period)
Private:
TCollector(int type)
Constructor of the class.
Arguments:
type ... type of the process (see class PVM_CODEC)
TKernelInfo* GetKI(uint id)
Using this method you can retrieve the KI you have registered previously.
Use method IsKIReady() to find out the state of the KI.
Warning: the pointer to the KI you obtain points to object owned by collector layer,
so do not destroy or change the object.
virtual TKernelInfo* CreateKI(uint id,int period)
This method is intended to create an object of the proper class.
E.g. to call the proper constructor of KI specified by the given ID.
This method has following mechanism:
If the check fails then call your predecestor layer.
Arguments:
id ... ID of KI to be created
period ... valid only in case that the GKI is created (see TGlobalKI::TGKI()).
Public:
int MyAtribute
Protected:
Private:
int MyAtribute
Here write atribute's description.
Public:
int MyOper(void)
Protected:
Private:
int MyOper(void)
Here write operator's description.
Arguments:
Returns:
Here write specials.