BAOS SDK
18.2.0
|
#include <SetDatapointValue.h>
Public Types | |
typedef ServerItem | Value |
typedef std::vector< Value > | Values |
Public Types inherited from kdrive::baos::ServiceRunner | |
enum | { Timeout = ProtocolConstants::Timeout } |
typedef DataPacket::Buffer | Buffer |
Public Member Functions | |
SetDatapointValue (std::shared_ptr< BaosConnector > connector) | |
virtual | ~SetDatapointValue () |
void | rpc (unsigned short offset, const Value &value, unsigned long timeout=ServiceRunner::Timeout) |
void | rpc (unsigned short offset, const Values &values, unsigned long timeout=ServiceRunner::Timeout) |
Public Member Functions inherited from kdrive::baos::ServiceRunner | |
virtual | ~ServiceRunner () |
unsigned short | getOffset () const |
unsigned short | getCount () const |
const Buffer & | getBuffer () const |
Additional Inherited Members | |
Protected Member Functions inherited from kdrive::baos::ServiceRunner | |
ServiceRunner (std::shared_ptr< BaosConnector > connector) | |
std::shared_ptr< BaosConnector > | getConnector (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< DataResponse > | getDataResponse (bool validate=true) const |
typedef std::vector<Value> kdrive::baos::SetDatapointValue::Values |
SetDatapointValue::SetDatapointValue | ( | std::shared_ptr< BaosConnector > | connector | ) |
|
virtual |
void SetDatapointValue::rpc | ( | unsigned short | offset, |
const Value & | value, | ||
unsigned long | timeout = ServiceRunner::Timeout |
||
) |
void SetDatapointValue::rpc | ( | unsigned short | offset, |
const Values & | values, | ||
unsigned long | timeout = ServiceRunner::Timeout |
||
) |