class TSignalTimer : public TMtxComponent;
High resolution multimedia timer.
A high resolution multimedia timer featuring threaded and message based event raising. The timer has a resolution downto 1 ms.
Constructors
| Name | Description |
|---|---|
| TSignalTimer (2) |
Destructors
| Name | Description |
|---|---|
| ~TSignalTimer |
Properties
| Name | Type | Description |
|---|---|---|
| BlockAssign | bool | Block streaming of specific properties when storing only a "template". |
| Count | int | Return the number of timer events triggered so far. |
| EditorActive | bool | Returns True, if the component editor is displayed. |
| Enabled | bool | Set this property to True to start the timer. |
| Frequency | double | Set the Frequency to define the frequency in Herz of the timer events. This property also adjusts the Interval property. |
| Interval | unsigned int | Defines the time in miliseconds between two timer events. |
| InThread | bool | Set this property to true, if you want the OnTimer event to run in its own thread. |
| Name | DewString | |
| OnTimer | tNotifyEvent | OnTimer event is triggered every Interval miliseconds. |
| Reference | TReferenceList* | Stores a list of components that have to be notified, when this component is destroyed. |
| Resolution | unsigned int | Defines the timer resolution in miliseconds. |
Methods
| Name | Description |
|---|---|
| AllowStreaming | Returns the negatated value of BlockAssign. |
| Assign | Assign values of all published properties from Source. |
| AssignTemplate | Assign values of "template-like" published properties from Source. |
| EditorClass | To be overriden in descendanr classses. |
| LoadFromStream | Load the component from Src stream. |
| LoadTemplateFromFile | Load a template from file. |
| LoadTemplateFromStream | Load a template from stream. |
| ReferenceRemoved | |
| Reset | Reset is called after loading the data from stream or file. |
| SaveTemplateToFile | Save template to file. |
| SaveTemplateToStream | Save template to stream. |
| SaveToStream | Save the component to Dst stream. |
| Timer | |
| UpdateTimer | |
| WndProc |
Fields
| Name | Type | Description |
|---|---|---|
| ACount1 | unsigned int | |
| ACount2 | unsigned int | |
| ACount3 | unsigned int | |
| aHandle | intPtr | |
| callback | TFNTimeCallBack | |
| FCount | int | |
| fCPULoad | double | |
| FEnabled | bool | |
| FFrequency | double | |
| FInterval | unsigned int | |
| FInThread | bool | |
| FOnTimer | tNotifyEvent | |
| FResolution | unsigned int | |
| FSetResolution | int | |
| FWindowHandle | hWnd | |
| Tag | intptr_t | |
| wTimerID | int |