#include <base/Resource.h>
Inherits Object.
Inherited by Event, File, FolderMonitor, HTTPSRequest, MutualExclusion, Pipe, ReadWriteLock, RecursiveMutualExclusion, Semaphore, Socket [virtual]
, and SSLSocket.
Base class for resource handles.
◆ getCreatedById()
unsigned int Resource::getCreatedById |
( |
| ) |
const |
Returns the thread that created the resource.
◆ getDescription()
String Resource::getDescription |
( |
| ) |
const |
Returns the description of the resource.
◆ getHandle()
◆ getInternalHandle()
template<class TYPE >
TYPE& Resource::getInternalHandle |
( |
| ) |
const |
|
inline |
◆ getResourceId()
unsigned int Resource::getResourceId |
( |
| ) |
const |
Returns the unique resource ID.
◆ operator bool()
Resource::operator bool |
( |
| ) |
const |
|
inlinenoexcept |
Returns true if handle is set.
◆ setDescription()
void Resource::setDescription |
( |
const String & |
description | ) |
|
Sets the description of the resource.
◆ handle
Internal handle for resource.