Skip to content

KDGpu::Fence

Module: Public API

Fence.

#include <fence.h>

Public Functions

Name
Fence()
~Fence()
Fence(Fence && other)
Fence & operator=(Fence && other)
Fence(const Fence & ) =delete
Fence & operator=(const Fence & ) =delete
const Handle< Fence_t > & handle() const
bool isValid() const
operator Handle< Fence_t >() const
void reset()
void wait()
FenceStatus status() const
HandleOrFD externalFenceHandle() const

Friends

Name
class Device
class Queue
KDGPU_EXPORT bool operator==(const Fence & a, const Fence & b)

Public Functions Documentation

function Fence

1
Fence()

function ~Fence

1
~Fence()

function Fence

1
2
3
Fence(
    Fence && other
)

function operator=

1
2
3
Fence & operator=(
    Fence && other
)

function Fence

1
2
3
Fence(
    const Fence & 
) =delete

function operator=

1
2
3
Fence & operator=(
    const Fence & 
) =delete

function handle

1
inline const Handle< Fence_t > & handle() const

function isValid

1
inline bool isValid() const

function operator Handle< Fence_t >

1
inline operator Handle< Fence_t >() const

function reset

1
void reset()

function wait

1
void wait()

function status

1
FenceStatus status() const

function externalFenceHandle

1
HandleOrFD externalFenceHandle() const

Friends

friend Device

1
2
3
friend class Device(
    Device 
);

friend Queue

1
2
3
friend class Queue(
    Queue 
);

friend operator==

1
2
3
4
5
friend KDGPU_EXPORT bool operator==(
    const Fence & a,

    const Fence & b
);

Updated on 2024-09-08 at 00:13:10 +0000