libktorrent  2.1.1
Public Types | Public Member Functions | List of all members
bt::Resource Class Referenceabstract

#include <resourcemanager.h>

Inheritance diagram for bt::Resource:
Inheritance graph
[legend]

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.
 

Detailed Description

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 58 of file resourcemanager.h.


The documentation for this class was generated from the following file: