pandemonium_engine_minimal/doc/classes/ThreadPool.xml
2023-12-14 23:24:47 +01:00

72 lines
2.2 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="ThreadPool" inherits="Object" version="4.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="add_job">
<return type="void" />
<argument index="0" name="job" type="ThreadPoolJob" />
<description>
</description>
</method>
<method name="apply_max_work_per_frame_percent">
<return type="void" />
<description>
</description>
</method>
<method name="cancel_job">
<return type="void" />
<argument index="0" name="job" type="ThreadPoolJob" />
<description>
</description>
</method>
<method name="cancel_job_wait">
<return type="void" />
<argument index="0" name="job" type="ThreadPoolJob" />
<description>
</description>
</method>
<method name="has_job">
<return type="bool" />
<argument index="0" name="job" type="ThreadPoolJob" />
<description>
</description>
</method>
<method name="is_working" qualifiers="const">
<return type="bool" />
<description>
</description>
</method>
<method name="is_working_no_lock" qualifiers="const">
<return type="bool" />
<description>
</description>
</method>
<method name="update">
<return type="void" />
<description>
</description>
</method>
</methods>
<members>
<member name="max_time_per_frame" type="float" setter="set_max_time_per_frame" getter="get_max_time_per_frame" default="0.00416667">
</member>
<member name="max_work_per_frame_percent" type="float" setter="set_max_work_per_frame_percent" getter="get_max_work_per_frame_percent" default="25.0">
</member>
<member name="target_fps" type="float" setter="set_target_fps" getter="get_target_fps" default="60.0">
</member>
<member name="thread_count" type="int" setter="set_thread_count" getter="get_thread_count" default="5">
</member>
<member name="thread_fallback_count" type="int" setter="set_thread_fallback_count" getter="get_thread_fallback_count" default="4">
</member>
<member name="use_threads" type="bool" setter="set_use_threads" getter="get_use_threads" default="true">
</member>
</members>
<constants>
</constants>
</class>