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

#include <GetDescriptionString.h>

Inheritance diagram for kdrive::baos::GetDescriptionString:
kdrive::baos::ServiceRunner

Public Types

typedef std::vector< std::string > Strings
 
- Public Types inherited from kdrive::baos::ServiceRunner
enum  { Timeout = ProtocolConstants::Timeout }
 
typedef DataPacket::Buffer Buffer
 

Public Member Functions

 GetDescriptionString (std::shared_ptr< BaosConnector > connector)
 
virtual ~GetDescriptionString ()
 
void rpc (unsigned short offset, unsigned short count, unsigned long timeout=ServiceRunner::Timeout)
 
const std::string & at (int index) const
 returns a single item More...
 
const StringsgetStrings () const
 returns all items More...
 
- Public Member Functions inherited from kdrive::baos::ServiceRunner
virtual ~ServiceRunner ()
 
unsigned short getOffset () const
 
unsigned short getCount () const
 
const BuffergetBuffer () const
 

Additional Inherited Members

- Protected Member Functions inherited from kdrive::baos::ServiceRunner
 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
 

Detailed Description

Examples:
BaosMultiThreaded.cpp.

Member Typedef Documentation

typedef std::vector<std::string> kdrive::baos::GetDescriptionString::Strings

Constructor & Destructor Documentation

GetDescriptionString::GetDescriptionString ( std::shared_ptr< BaosConnector connector)
GetDescriptionString::~GetDescriptionString ( )
virtual

Member Function Documentation

const std::string & GetDescriptionString::at ( int  index) const

returns a single item

Examples:
BaosMultiThreaded.cpp.
const GetDescriptionString::Strings & GetDescriptionString::getStrings ( ) const

returns all items

void GetDescriptionString::rpc ( unsigned short  offset,
unsigned short  count,
unsigned long  timeout = ServiceRunner::Timeout 
)

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