LCC Fusion Project 1.0
LCC Automation
Loading...
Searching...
No Matches
DelayedDccCmdTimer Class Reference

#include <DelayedDccCommand.h>

Public Member Functions

 DelayedDccCmdTimer ()
 
void setDelay (uint16_t dTime)
 
bool isExpired ()
 

Detailed Description

This class hanldes a timer used for delaying commands.

Timer uses hardware timer 2, with a resolution of half sec (500ms) providing for half second precision for timing of sounds

Definition at line 55 of file DelayedDccCommand.h.

Constructor & Destructor Documentation

◆ DelayedDccCmdTimer()

DelayedDccCmdTimer::DelayedDccCmdTimer ( )
inline

DelayedDccCmdTimer constructor

Definition at line 64 of file DelayedDccCommand.h.

Member Function Documentation

◆ isExpired()

bool DelayedDccCmdTimer::isExpired ( )
inline

Check to see if delay time has expired

Returns
true if requested delay has expired

Definition at line 82 of file DelayedDccCommand.h.

◆ setDelay()

void DelayedDccCmdTimer::setDelay ( uint16_t  dTime)
inline

Sets the delay time

Parameters
dTimedelay time in half secs

Definition at line 75 of file DelayedDccCommand.h.


The documentation for this class was generated from the following file: