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

#include <GetDatapointDescription.h>

Inheritance diagram for kdrive::baos::GetDatapointDescription:
kdrive::baos::ServiceRunner

Public Types

enum  DescriptorFields { Id = 0, ValueType, ConfigFlags, DatapointType }
 
typedef std::tuple< unsigned short, unsigned char, unsigned char, unsigned char > Descriptor
 
typedef std::vector< DescriptorDescriptors
 
- Public Types inherited from kdrive::baos::ServiceRunner
enum  { Timeout = ProtocolConstants::Timeout }
 
typedef DataPacket::Buffer Buffer
 

Public Member Functions

 GetDatapointDescription (std::shared_ptr< BaosConnector > connector)
 
virtual ~GetDatapointDescription ()
 
void rpc (unsigned short offset, unsigned short count, unsigned long timeout=ServiceRunner::Timeout)
 
const Descriptorat (int index) const
 
const DescriptorsgetDescriptors () const
 
- 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
 

Member Typedef Documentation

typedef std::tuple<unsigned short, unsigned char, unsigned char, unsigned char> kdrive::baos::GetDatapointDescription::Descriptor

Member Enumeration Documentation

Enumerator
Id 
ValueType 
ConfigFlags 
DatapointType 

Constructor & Destructor Documentation

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

Member Function Documentation

const GetDatapointDescription::Descriptor & GetDatapointDescription::at ( int  index) const
const GetDatapointDescription::Descriptors & GetDatapointDescription::getDescriptors ( ) const
void GetDatapointDescription::rpc ( unsigned short  offset,
unsigned short  count,
unsigned long  timeout = ServiceRunner::Timeout 
)

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