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

#include <SetDatapointHistoryCommand.h>

Inheritance diagram for kdrive::baos::SetDatapointHistoryCommand:
kdrive::baos::ServiceRunner

Public Types

enum  Commands {
  Clear = 0x01, Start = 0x02, StartClear = 0x03, Stop = 0x04,
  StopClear = 0x05
}
 
- Public Types inherited from kdrive::baos::ServiceRunner
enum  { Timeout = ProtocolConstants::Timeout }
 
typedef DataPacket::Buffer Buffer
 

Public Member Functions

 SetDatapointHistoryCommand (std::shared_ptr< BaosConnector > connector)
 
virtual ~SetDatapointHistoryCommand ()
 
void rpc (unsigned short offset, unsigned short count, unsigned char command, unsigned long timeout=ServiceRunner::Timeout)
 
- 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 Enumeration Documentation

Enumerator
Clear 
Start 
StartClear 
Stop 
StopClear 

Constructor & Destructor Documentation

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

Member Function Documentation

void SetDatapointHistoryCommand::rpc ( unsigned short  offset,
unsigned short  count,
unsigned char  command,
unsigned long  timeout = ServiceRunner::Timeout 
)

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