Skip to content

class eCAL::CTimedCB

eCAL timer callback class.

Deprecated: Will be removed in future eCAL versions.

The CTimedCB class is used to realize simple time triggered callbacks.

Members

public inline CTimedCB()

Constructor.

Deprecated: Will be removed in future eCAL versions.

public inline CTimedCB(int timeout_,TimerCallbackT callback_,int delay_)

Constructor.

Deprecated: Will be removed in future eCAL versions.

Parameters

  • timeout_ Timer callback loop time in ms.

  • callback_ The callback function.

  • delay_ Timer callback delay for first call in ms.

public inline virtual ~CTimedCB()

Destructor.

public CTimedCB(const CTimedCB &) = delete

public CTimedCB&operator=(const CTimedCB &) = delete

public CTimedCB(CTimedCB && rhs) = delete

public CTimedCB&operator=(CTimedCB && rhs) = delete

public inline bool Start(const int timeout_,TimerCallbackT callback_,const int delay_)

Start the timer.

Deprecated: Will be removed in future eCAL versions.

Parameters

  • timeout_ Timer callback loop time in ms.

  • callback_ The callback function.

  • delay_ Timer callback delay for first call in ms.

Returns

True if timer could be started.

public inline bool Stop()

Stop the timer.

Deprecated: Will be removed in future eCAL versions.

Returns

True if timer could be stopped.