Panda3D

Loading...
Searching...
No Matches
Public Member Functions | List of all members
CursorResource Class Reference
Inheritance diagram for CursorResource:

## Public Member Functions
| __init__ (self)
| __del__ (self)
| acquire (cls)
| release (cls)
Public Member Functions inherited from CountedResource
| __init__ (self)
| __del__ (self)
| decrementCounter (cls)
| getCount (cls)
| incrementCounter (cls)

## Additional Inherited Members
Public Attributes inherited from CountedResource
int | RESOURCE_COUNTER = 1
bool | RESOURCE_COUNTER_INIT_FAILED = True

## Detailed Description

    A class to demonstrate how to implement a dependent
    resource.  Notice how this class also inherits from
    CountedResource.  Instead of subclassing MouseCounter,
    we will just acquire it in our __init__() and release
    it in our __del__().

## Constructor & Destructor Documentation

## ◆ __init__()

__init__ | ( |  | self | ) |

## ◆ __del__()

__del__ | ( |  | self | ) |

## Member Function Documentation

## ◆ acquire()

acquire | ( |  | cls | ) |

Reimplemented from CountedResource.

## ◆ release()

release | ( |  | cls | ) |

Reimplemented from CountedResource.