mmspulser.h File Reference

#include "mmstools/mmsthread.h"
#include "mmstools/mmstypes.h"

Include dependency graph for mmspulser.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Classes

class  MMSPulser
 This class helps the MMSGUI and user specific applications to get smooth animations. More...

Defines

#define MMSPULSER_TIMES_BUF_SIZE   10

Enumerations

enum  MMSPULSER_SEQ {
  MMSPULSER_SEQ_LINEAR = 0, MMSPULSER_SEQ_LINEAR_DESC, MMSPULSER_SEQ_LOG_SOFT_START, MMSPULSER_SEQ_LOG_DESC_SOFT_START,
  MMSPULSER_SEQ_LOG_SOFT_END, MMSPULSER_SEQ_LOG_DESC_SOFT_END, MMSPULSER_SEQ_LOG_SOFT_START_AND_END, MMSPULSER_SEQ_LOG_DESC_SOFT_START_AND_END
}
 Sequence mode for onAnimation callback. More...

Define Documentation

#define MMSPULSER_TIMES_BUF_SIZE   10

Definition at line 40 of file mmspulser.h.


Enumeration Type Documentation

Sequence mode for onAnimation callback.

Per default the sequence mode is set to MMSPULSER_OFFSET_LINEAR. You can change this mode with the setMaxOffset() method. This has effect to the return value of getOffset() which you should use in the onAnimation callback.

See also:
setMaxOffset()

getOffset()

Enumerator:
MMSPULSER_SEQ_LINEAR  linear ascending
MMSPULSER_SEQ_LINEAR_DESC  linear descending
MMSPULSER_SEQ_LOG_SOFT_START  logarithmic ascending, animation starts smoothly and ends fast
MMSPULSER_SEQ_LOG_DESC_SOFT_START  logarithmic descending, animation starts smoothly and ends fast
MMSPULSER_SEQ_LOG_SOFT_END  logarithmic ascending, animation starts fast and ends smoothly
MMSPULSER_SEQ_LOG_DESC_SOFT_END  logarithmic descending, animation starts fast and ends smoothly
MMSPULSER_SEQ_LOG_SOFT_START_AND_END  logarithmic ascending, animation starts smoothly and ends smoothly
MMSPULSER_SEQ_LOG_DESC_SOFT_START_AND_END  logarithmic descending, animation starts smoothly and ends smoothly

Definition at line 50 of file mmspulser.h.