PipeWire  0.1.4
pw_resource Class Reference

Client owned objects. More...

Collaboration diagram for pw_resource:

Data Fields

struct pw_corecore
 the core object More...
 
struct spa_list link
 link in object resource_list More...
 
struct pw_clientclient
 owner client More...
 
uint32_t id
 per client unique id, index in client objects More...
 
uint32_t permissions
 resource permissions More...
 
uint32_t type
 type of the client interface More...
 
uint32_t version
 version of the client interface More...
 
struct spa_hook implementation
 
struct spa_hook_list implementation_list
 
struct spa_hook_list listener_list
 
const struct pw_protocol_marshalmarshal
 
void * access_private
 private data for access control More...
 
void * user_data
 extra user data More...
 

Detailed Description

Client owned objects.

Resources are objects owned by a client and are destroyed when the client disappears.

See also Resource

Field Documentation

◆ access_private

void* pw_resource::access_private

private data for access control

◆ client

◆ core

struct pw_core* pw_resource::core

the core object

Referenced by pw_core::pw_core_add_global(), and pw_resource_new().

◆ id

uint32_t pw_resource::id

per client unique id, index in client objects

Referenced by pw_global::pw_global_bind(), pw_resource_destroy(), pw_resource_error(), pw_resource_get_id(), and pw_resource_new().

◆ implementation

struct spa_hook pw_resource::implementation

◆ implementation_list

struct spa_hook_list pw_resource::implementation_list

◆ link

◆ listener_list

struct spa_hook_list pw_resource::listener_list

◆ marshal

const struct pw_protocol_marshal* pw_resource::marshal

Referenced by pw_resource_get_marshal().

◆ permissions

uint32_t pw_resource::permissions

◆ type

uint32_t pw_resource::type

type of the client interface

Referenced by pw_core::pw_core_add_global(), pw_resource_get_type(), and pw_resource_new().

◆ user_data

void* pw_resource::user_data

extra user data

Referenced by pw_resource_get_user_data(), and pw_resource_new().

◆ version

uint32_t pw_resource::version

version of the client interface

Referenced by pw_core::pw_core_add_global(), and pw_resource_new().


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