Panda3D
Public Member Functions | List of all members
MouseResource Class Reference
Inheritance diagram for MouseResource:
CountedResource InvalidResource

Public Member Functions

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

Additional Inherited Members

- Public Attributes inherited from CountedResource
 RESOURCE_COUNTER
 
 RESOURCE_COUNTER_INIT_FAILED
 

Detailed Description

A simple class to demonstrate the acquisition of a resource.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)

Reimplemented from CountedResource.

◆ __del__()

def __del__ (   self)

Reimplemented from CountedResource.

Member Function Documentation

◆ acquire()

def acquire (   cls)

Reimplemented from CountedResource.

Reimplemented in InvalidResource.

◆ release()

def release (   cls)

Reimplemented from CountedResource.

Reimplemented in InvalidResource.