1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
|
<?xml version="1.0" encoding="UTF-8" ?>
<class xmlns="http://xml.phpdox.net/src" full="EvPeriodic" namespace="" name="EvPeriodic">
<extends name="EvWatcher" full="EvWatcher"/>
<member name="offset" static="false" visibility="public">
<default>null</default>
<docblock>
<description compact="When repeating, this contains the offset value, otherwise this is the absolute point in time(the offset value passed to EvPeriodic::set , although libev might modify this value for better numerical stability)."/>
</docblock>
</member>
<member name="interval" static="false" visibility="public">
<default>null</default>
<docblock>
<description compact="The current interval value. Can be modified any time, but changes only take effect when the periodic timer fires or EvPeriodic::again is being called."/>
</docblock>
</member>
<member name="is_active" static="false" visibility="public">
<default>null</default>
<docblock>
<description compact="Readonly . TRUE if the watcher is active. FALSE otherwise."/>
</docblock>
</member>
<member name="data" static="false" visibility="public">
<default>null</default>
<docblock>
<description compact="User custom data associated with the watcher"/>
</docblock>
</member>
<member name="is_pending" static="false" visibility="public">
<default>null</default>
<docblock>
<description compact="Readonly .TRUE if the watcher is pending, i.e. it has outstanding events, but its callback has not yet been invoked. FALSE otherwise. As long, as a watcher is pending(but not active), one must not change its priority."/>
</docblock>
</member>
<member name="priority" static="false" visibility="public">
<default>null</default>
<docblock>
<description compact="Integer between Ev::MINPRI and Ev::MAXPRI . Pending watchers with higher priority will be invoked before watchers with lower priority, but priority will not keep watchers from being executed(except for EvIdle watchers). EvIdle watchers provide functionality to suppress invocation when higher priority events are pending."/>
</docblock>
</member>
<method name="again" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Simply stops and restarts the periodic watcher again"/>
<return type="void"/>
</docblock>
</method>
<method name="at" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Returns the absolute time that this watcher is supposed to trigger next"/>
<return type="float"/>
</docblock>
</method>
<constructor name="__construct" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Constructs EvPeriodic watcher object"/>
<return type="void"/>
</docblock>
<parameter name="offset" optional="false" byreference="false" type="object" class="float"/>
<parameter name="interval" optional="false" byreference="false" type="string"/>
<parameter name="reschedule_cb" optional="false" byreference="false" type="object" class="callable"/>
<parameter name="callback" optional="false" byreference="false" type="object" class="callable"/>
<parameter name="data" optional="true" byreference="false" type="object" class="mixed"/>
<parameter name="priority" optional="true" byreference="false" type="int"/>
</constructor>
<method name="createStopped" abstract="false" static="false" visibility="public" final="true">
<docblock>
<description compact="Create a stopped EvPeriodic watcher"/>
<return type="EvPeriodic"/>
</docblock>
<parameter name="offset" optional="false" byreference="false" type="object" class="float"/>
<parameter name="interval" optional="false" byreference="false" type="object" class="float"/>
<parameter name="reschedule_cb" optional="false" byreference="false" type="object" class="callable"/>
<parameter name="callback" optional="false" byreference="false" type="object" class="callable"/>
<parameter name="data" optional="true" byreference="false" type="object" class="mixed"/>
<parameter name="priority" optional="true" byreference="false" type="int"/>
</method>
<method name="set" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Configures the watcher"/>
<return type="void"/>
</docblock>
<parameter name="offset" optional="false" byreference="false" type="object" class="float"/>
<parameter name="interval" optional="false" byreference="false" type="object" class="float"/>
</method>
<method name="clear" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact=""/>
<return type="int"/>
</docblock>
</method>
<constructor name="__construct" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact=""/>
<return type="void"/>
</docblock>
</constructor>
<method name="feed" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact=""/>
<return type="void"/>
</docblock>
<parameter name="revents" optional="false" byreference="false" type="int"/>
</method>
<method name="getLoop" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact=""/>
<return type="EvLoop"/>
</docblock>
</method>
<method name="invoke" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact=""/>
<return type="void"/>
</docblock>
<parameter name="revents" optional="false" byreference="false" type="int"/>
</method>
<method name="keepalive" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact=""/>
<return type="bool"/>
</docblock>
<parameter name="value" optional="true" byreference="false" type="object" class="bool"/>
</method>
<method name="setCallback" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact=""/>
<return type="void"/>
</docblock>
<parameter name="callback" optional="false" byreference="false" type="object" class="callable"/>
</method>
<method name="start" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact=""/>
<return type="void"/>
</docblock>
</method>
<method name="stop" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact=""/>
<return type="void"/>
</docblock>
</method>
</class>
|