11 Q_INVOKABLE
explicit VFS_pulse(
int interval=1000);
VFS_node is the base class from which all other VFS_node classes derive.
VFS_pulse provides an event pulse that can be subscribed to.
virtual void read(VFS_request *r)
Read the current time.
void startPulse()
Start generating pulses.
Q_INVOKABLE VFS_pulse(int interval=1000)
virtual bool isContainer()
A VFS_pulse node cannot contain children.
virtual void timerEvent(QTimerEvent *event)
When this timer event occurs, generate a VFS_request and emit it.
int _interval
The frequency of the pulse, in milliseconds.
void stopPulse()
Stop pulsing.
int _timerID
The timerID returned by QObject::startTimer()
The base class for all requests between nodes.