ParaMonte MATLAB 3.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
This is the base class for generating objects that can display the time spinner on the console.
More...
Public Member Functions | |
function | Spinner (in tickmarks) |
Return a scalar object of class pm.timing.Spinner. More... | |
function | spin (in self, in fraction) |
Rotate the tick mark of the spinner and display the percentage value of the input fraction. This is a dynamic method of the class pm.timing.Spinner. More... | |
Data Fields | |
Property | tickCount |
Property | format |
Property | clock |
Protected Attributes | |
Property | tickmarks |
This is the base class for generating objects that can display the time spinner on the console.
handle
superclass is essential to allow object modification by the object methods.
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
function Spinner::Spinner | ( | in | tickmarks | ) |
Return a scalar object of class pm.timing.Spinner.
This is the constructor of the class pm.timing.Spinner.
[in] | tickmarks | : The input MATLAB char vector containing the set of characters that represent the passage of time in the spinner.(optional, default = '|/-\' ) |
self
: The output scalar object of class pm.timing.Spinner.
Possible calling interfaces ⛓
Example usage ⛓
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
function Spinner::spin | ( | in | self, |
in | fraction | ||
) |
Rotate the tick mark of the spinner and display the percentage value of the input fraction.
This is a dynamic method of the class pm.timing.Spinner.
[in,out] | self | : The implicitly-passed input argument representing the parent object of the method. |
[in] | fraction | : The input scalar MATLAB fractional real (0 <= fraction <= 1 ) representing the fraction of work so far accomplished. |
Possible calling interfaces ⛓
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
Property Spinner::clock |
Property Spinner::format |
Property Spinner::tickCount |
|
protected |