home
 
 index of namespace default
 
 index of project core
 
 index of module core

Class core.Pool


SynopsisManages a fixed number of homogenous objects.  

  Base classes:
  Methods: Description:


Features quite fast alloc/free methods.


 
 top of page
Method alloc
Signature
alloc(intnum)
 :boolean
Arguments
intnum
Returns
boolean
See also:  


 
 top of page
Method empty
Signature
empty()

 
 top of page
Method free
Signature
free()
See also:  


 
 top of page
Method getIDByObject
Signature
getIDByObject(Objecto)
 :int
Arguments
Objecto
Returns
int

 
 top of page
Method getMaxElements
Signature
getMaxElements():int
Returns
int

 
 top of page
Method getNumElements
Signature
getNumElements():int
Returns
int

 
 top of page
Method getTemplate
Signature
getTemplate():Object
Returns
Object

 
 top of page
Method qAlloc
Signature
qAlloc():int
Returns
int
See also:  


 
 top of page
Method qFree
Signature
qFree():int id
Returns
int id
See also:  


 
 top of page
Method qFreeByObject
Signature
qFreeByObject(Objecto)
Arguments
Objecto
See also:  


 
 top of page
Method setTemplate
Signature
setTemplate(Objecto)
Arguments
Objecto

 
 top of page
 

Project Modules:core 
Project Classes:Boolean , Buffer , Byte , Class , ClassArray , Condition , Configuration , Double , DummyStream , Envelope , Event , Exception , File , Float , FloatArray , FloatArray128 , FloatArray16 , FloatArray32 , FloatArray64 , FloatArray8 , Function , HashTable , IntArray , IntArray128 , IntArray16 , IntArray32 , IntArray64 , IntArray8 , Integer , List , ListNode , Long , Mailbox , Mutex , Object , ObjectArray , PakFile , PointerArray , Pool , Script , SharedBuffer , Short , Stack , StdErrStream , StdInStream , StdOutStream , Stream , String , String128 , String16 , String32 , String64 , String8 , StringArray , StringIterator , Thread , Time , TKS , TreeNode , UnsignedByte , UnsignedInteger , UnsignedLong , UnsignedShort , Value , ValueArray , Variable 
Project Functions:ceil , exit , floor , GetCurrentThread , getenv , lcchar , mathAbsMaxf , mathAbsMinf , mathAbsMini , mathAbsMini , mathClampf , mathClampi , mathDistancePointPlane2d , mathLerpf , mathMaxf , mathMaxi , mathMinf , mathMini , mathPowerf , mathPoweri , mathSmoothStepf , mathWrapf , mathWrapi , milliSeconds , psystem , putenv , srand , system , ucchar 
All Namespaces:default , ui 
All Projects:core , debugtext , tkfreetype2 , tkmath , tkmidi , tkopengl , tkportaudio , tksdl , tkui , tkunit 


auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 13:15:54