GM6000 Digital Heater Controller Build: 16 (Branch = develop)
SDX-1330
List of all members | Public Member Functions
Cpl::System::CounterSource_ Class Referenceabstract

This abstract class defines the interface for registering for an Counter object with the Timer Manager. More...

Detailed Description

This abstract class defines the interface for registering for an Counter object with the Timer Manager.

#include <Counter_.h>

Inheritance diagram for Cpl::System::CounterSource_:
[legend]

Public Member Functions

virtual void attach (CounterCallback_ &clientToCallback) noexcept=0
 Register for notification.
 
virtual bool detach (CounterCallback_ &clientToCallback) noexcept=0
 Unregister for notification.
 
virtual unsigned long msecToCounts (unsigned long durationInMsecs) noexcept=0
 This method converts the requested duration in milliseconds to counter ticks.
 
virtual ~CounterSource_ ()
 Virtual Destructor.
 

Constructor & Destructor Documentation

◆ ~CounterSource_()

virtual Cpl::System::CounterSource_::~CounterSource_ ( )
inlinevirtual

Virtual Destructor.

Member Function Documentation

◆ attach()

virtual void Cpl::System::CounterSource_::attach ( CounterCallback_ & clientToCallback)
pure virtualnoexcept

Register for notification.

Implemented in Cpl::System::TimerManager.

◆ detach()

virtual bool Cpl::System::CounterSource_::detach ( CounterCallback_ & clientToCallback)
pure virtualnoexcept

Unregister for notification.

Returns true if the client was currently attached/registered; else false is returned.

Implemented in Cpl::System::TimerManager.

◆ msecToCounts()

virtual unsigned long Cpl::System::CounterSource_::msecToCounts ( unsigned long durationInMsecs)
pure virtualnoexcept

This method converts the requested duration in milliseconds to counter ticks.

Implemented in Cpl::System::TimerManager.


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