libktorrent
2.2.0
|
#include <resourcemanager.h>
Public Types | |
typedef QList< Resource * > | List |
typedef QSet< Resource * > | Set |
Public Member Functions | |
Resource (ResourceManager *rman, const QString &group) | |
virtual void | acquired ()=0 |
Called when the resource has been acquired. | |
QString | groupName () const |
Get the name of the group the resource is part of. | |
void | release () |
Release the Resource. | |
Represents a scarce resource which must be acquired from a ResouceManager. The ResourceManager will notify the Resource when it has been acquired.
Definition at line 40 of file resourcemanager.h.