TwiceAsNice  2019-02-18
Public Member Functions | Public Attributes | List of all members
Basda::MoccaLCServiceWorker::DeviceAsyncImpl Struct Reference

This is the implementation of the call back object to update the completion status. More...

#include <BasdaMoccaLCServiceWorker.h>

Inheritance diagram for Basda::MoccaLCServiceWorker::DeviceAsyncImpl:
Inheritance graph
Collaboration diagram for Basda::MoccaLCServiceWorker::DeviceAsyncImpl:
Collaboration graph

Public Member Functions

virtual int asyncWait (const Nice::Time &_t)
 asynchronous wait More...
 
virtual int asyncStatus (const std::string &_s, int _d)
 asynchronous status More...
 
virtual int asyncWait (const Nice::Time &_t)
 asynchronous wait More...
 
virtual int asyncStatus (const std::string &_s, int _d)
 asynchronous status More...
 
- Public Member Functions inherited from Basda::DeviceAsync
virtual ~DeviceAsync ()
 
virtual ~DeviceAsync ()
 

Public Attributes

MoccaLCServiceWorkerm_service
 member to store the worker object in order to call status methods More...
 
std::string m_s
 member to keep the last command name More...
 
int m_d
 

Detailed Description

This is the implementation of the call back object to update the completion status.

Member Function Documentation

◆ asyncStatus() [1/2]

int Basda::MoccaLCServiceWorker::DeviceAsyncImpl::asyncStatus ( const std::string &  _s,
int  _d 
)
virtual

◆ asyncStatus() [2/2]

virtual int Basda::MoccaLCServiceWorker::DeviceAsyncImpl::asyncStatus ( const std::string &  _s,
int  _d 
)
virtual

◆ asyncWait() [1/2]

virtual int Basda::MoccaLCServiceWorker::DeviceAsyncImpl::asyncWait ( const Nice::Time _t)
virtual

asynchronous wait

Implements Basda::DeviceAsync.

◆ asyncWait() [2/2]

int Basda::MoccaLCServiceWorker::DeviceAsyncImpl::asyncWait ( const Nice::Time _t)
virtual

asynchronous wait

Implements Basda::DeviceAsync.

Member Data Documentation

◆ m_d

int Basda::MoccaLCServiceWorker::DeviceAsyncImpl::m_d

◆ m_s

std::string Basda::MoccaLCServiceWorker::DeviceAsyncImpl::m_s

member to keep the last command name

Some commands like the upload external profile don't need to update the motor status information. In that case the command name of the asyncStatus will be NOSTATUS. But for the completion bar a command name will be displayed which is saved in that member before.

◆ m_service

MoccaLCServiceWorker * Basda::MoccaLCServiceWorker::DeviceAsyncImpl::m_service

member to store the worker object in order to call status methods


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