BAOS SDK v2  1.2.1
An SDK providing access to IP-BAOS devices through BAOS binary protocol version 2.x
Loading...
Searching...
No Matches
BaosBaseResponse Struct Reference

Baseclass for BAOS Responses. Containes the response code and optional in derived classes the payload. More...

#include <baos/protocol/Response.h>

+ Inheritance diagram for BaosBaseResponse:

Public Types

using SPtr = std::shared_ptr< BaosBaseResponse >
 An alias for a std::shared pointer holding an BaosBaseResponse class.
 
- Public Types inherited from BaseResponse
using SPtr = std::shared_ptr< BaseResponse >
 An alias for a std::shared pointer holding an BaseResponse class.
 

Public Member Functions

 BaosBaseResponse (protocol::BaosResponseCode code_)
 Construct a new BaosBaseResponse object.
 

Public Attributes

protocol::BaosResponseCode code {protocol::BaosResponseCode::Success}
 holds the BaosResponse code
 

Detailed Description

Baseclass for BAOS Responses. Containes the response code and optional in derived classes the payload.

Constructor & Destructor Documentation

◆ BaosBaseResponse()

Construct a new BaosBaseResponse object.

Parameters
code_From a BAOS response code.
See also
BaosResponseCode

The documentation for this struct was generated from the following file: