Panda3D

Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CRDataCache Class Reference

## Public Member Functions
| __init__ (self)
| destroy (self)
| flush (self)
| hasCachedData (self, doId)
| popCachedData (self, doId)
| setCachedData (self, doId, name, data)

## Protected Member Functions
| _checkMemLeaks (self)
| _startMemLeakCheck (self)
| _stopMemLeakCheck (self)

## Protected Attributes
dict | _doId2name2data = {}
int | _junkIndex = 0
| _len = len(self._doId2name2data)
| _size = ConfigVariableInt('crdatacache-size', 10).getValue()

## Constructor & Destructor Documentation

## ◆ __init__()

__init__ | ( |  | self | ) |

## Member Function Documentation

## ◆ _checkMemLeaks()

_checkMemLeaks | ( |  | self | ) |
| protected

## ◆ _startMemLeakCheck()

_startMemLeakCheck | ( |  | self | ) |
| protected

## ◆ _stopMemLeakCheck()

_stopMemLeakCheck | ( |  | self | ) |
| protected

## ◆ destroy()

destroy | ( |  | self | ) |

## ◆ flush()

flush | ( |  | self | ) |

## ◆ hasCachedData()

hasCachedData | ( |  | self,
|  |  | doId )

## ◆ popCachedData()

popCachedData | ( |  | self,
|  |  | doId )

## ◆ setCachedData()

setCachedData | ( |  | self,
|  |  | doId,
|  |  | name,
|  |  | data )

## Member Data Documentation

## ◆ _doId2name2data

_doId2name2data = {}
| protected

## ◆ _junkIndex

int _junkIndex = 0
| protected

## ◆ _len

_len = len(self._doId2name2data)
| protected

## ◆ _size

_size = ConfigVariableInt('crdatacache-size', 10).getValue()
| protected