TwiceAsNice  2019-02-18
Public Member Functions | Public Attributes | List of all members
Ltcs::IifServiceWorker::DeviceAsyncImpl Struct Reference
Inheritance diagram for Ltcs::IifServiceWorker::DeviceAsyncImpl:
Inheritance graph
Collaboration diagram for Ltcs::IifServiceWorker::DeviceAsyncImpl:
Collaboration graph

Public Member Functions

virtual int asyncWait (const Nice::Time &_t)
 
virtual int asyncStatus (const std::string &_commandName, int _percent)
 
- Public Member Functions inherited from Basda::DeviceAsync
virtual ~DeviceAsync ()
 
virtual ~DeviceAsync ()
 

Public Attributes

IifServiceWorkerm_service
 
std::string m_commandName
 member to keep the last command name More...
 
int m_percent
 

Member Function Documentation

◆ asyncStatus()

int Ltcs::IifServiceWorker::DeviceAsyncImpl::asyncStatus ( const std::string &  _commandName,
int  _percent 
)
virtual

Parameters
_commandName
_percent

Implements Basda::DeviceAsync.

Reimplemented in Ltcs::IifServiceWorker::DeviceCmdAsyncImpl.

◆ asyncWait()

int Ltcs::IifServiceWorker::DeviceAsyncImpl::asyncWait ( const Nice::Time _t)
virtual

Parameters
_tThe time to be waited.

Implements Basda::DeviceAsync.

Member Data Documentation

◆ m_commandName

std::string Ltcs::IifServiceWorker::DeviceAsyncImpl::m_commandName

member to keep the last command name

If the current running command is interrupted by another command the completion bar command name will be changed and need to be set back to the previous running command.

◆ m_percent

int Ltcs::IifServiceWorker::DeviceAsyncImpl::m_percent

◆ m_service

IifServiceWorker* Ltcs::IifServiceWorker::DeviceAsyncImpl::m_service

The documentation for this struct was generated from the following files: