BAOS SDK  18.2.0
Public Types | Public Member Functions | Protected Member Functions | List of all members
kdrive::baos::ServiceRunner Class Reference

#include <ServiceRunner.h>

Inheritance diagram for kdrive::baos::ServiceRunner:
kdrive::baos::GetDatapointDescription kdrive::baos::GetDatapointValue kdrive::baos::GetDescriptionString kdrive::baos::GetParameterByte kdrive::baos::GetServerItem kdrive::baos::GetTimer kdrive::baos::SetDatapointHistoryCommand kdrive::baos::SetDatapointValue kdrive::baos::SetServerItem kdrive::baos::SetTimer

Public Types

enum  { Timeout = ProtocolConstants::Timeout }
 
typedef DataPacket::Buffer Buffer
 

Public Member Functions

virtual ~ServiceRunner ()
 
unsigned short getOffset () const
 
unsigned short getCount () const
 
const BuffergetBuffer () const
 

Protected Member Functions

 ServiceRunner (std::shared_ptr< BaosConnector > connector)
 
std::shared_ptr< BaosConnectorgetConnector (bool validate=true) const
 
void rpc (unsigned char subService, unsigned short offset, unsigned short count, unsigned long timeout)
 
void setDataResponse (std::shared_ptr< DataResponse > dataResponse)
 
std::shared_ptr< DataResponsegetDataResponse (bool validate=true) const
 

Member Typedef Documentation

Member Enumeration Documentation

anonymous enum
Enumerator
Timeout 

Constructor & Destructor Documentation

ServiceRunner::~ServiceRunner ( )
virtual
ServiceRunner::ServiceRunner ( std::shared_ptr< BaosConnector connector)
protected

Member Function Documentation

const ServiceRunner::Buffer & ServiceRunner::getBuffer ( ) const
BaosConnector::Ptr ServiceRunner::getConnector ( bool  validate = true) const
protected
unsigned short ServiceRunner::getCount ( ) const
DataResponse::Ptr ServiceRunner::getDataResponse ( bool  validate = true) const
protected
unsigned short ServiceRunner::getOffset ( ) const
void ServiceRunner::rpc ( unsigned char  subService,
unsigned short  offset,
unsigned short  count,
unsigned long  timeout 
)
protected
void ServiceRunner::setDataResponse ( std::shared_ptr< DataResponse dataResponse)
protected

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