Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
JobSystemSingleThreaded::BarrierImpl Class Reference

#include <JobSystemSingleThreaded.h>

Inheritance diagram for JobSystemSingleThreaded::BarrierImpl:
JobSystem::Barrier NonCopyable

Public Member Functions

virtual JPH_OVERRIDE_NEW_DELETE void AddJob (const JobHandle &inJob) override
 
virtual void AddJobs (const JobHandle *inHandles, uint inNumHandles) override
 
virtual JPH_OVERRIDE_NEW_DELETE void AddJob (const JobHandle &inJob)=0
 
virtual void AddJobs (const JobHandle *inHandles, uint inNumHandles)=0
 
- Public Member Functions inherited from NonCopyable
 NonCopyable ()=default
 
 NonCopyable (const NonCopyable &)=delete
 
void operator= (const NonCopyable &)=delete
 

Protected Member Functions

virtual void OnJobFinished (Job *inJob) override
 Called by a Job to mark that it is finished. More...
 
- Protected Member Functions inherited from JobSystem::Barrier
virtual ~Barrier ()=default
 Destructor, you should call JobSystem::DestroyBarrier instead of destructing this object directly. More...
 
virtual void OnJobFinished (Job *inJob)=0
 Called by a Job to mark that it is finished. More...
 

Member Function Documentation

◆ AddJob()

virtual JPH_OVERRIDE_NEW_DELETE void JobSystemSingleThreaded::BarrierImpl::AddJob ( const JobHandle inJob)
inlineoverridevirtual

Add a job to this barrier Note that jobs can keep being added to the barrier while waiting for the barrier

Implements JobSystem::Barrier.

◆ AddJobs()

virtual void JobSystemSingleThreaded::BarrierImpl::AddJobs ( const JobHandle inHandles,
uint  inNumHandles 
)
inlineoverridevirtual

Add multiple jobs to this barrier Note that jobs can keep being added to the barrier while waiting for the barrier

Implements JobSystem::Barrier.

◆ OnJobFinished()

virtual void JobSystemSingleThreaded::BarrierImpl::OnJobFinished ( Job inJob)
inlineoverrideprotectedvirtual

Called by a Job to mark that it is finished.

Implements JobSystem::Barrier.


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