EVA ICS v4 C++ SDK
Public Member Functions | List of all members
eva::Frame Class Reference

#include <eva4-ffi-sdk.hpp>

Public Member Functions

 Frame (EvaFFIFrame *r)
 
string primary_sender ()
 
string topic ()
 
bool hasPayload ()
 
msgpack::object_handle unpack ()
 

Detailed Description

Bus frame

Constructor & Destructor Documentation

◆ Frame()

eva::Frame::Frame ( EvaFFIFrame *  r)
inline

Constructs a frame from a raw FFI frame buffer

Member Function Documentation

◆ hasPayload()

bool eva::Frame::hasPayload ( )
inline
Returns
if the frame has payload

◆ primary_sender()

string eva::Frame::primary_sender ( )
inline
Returns
frame sender (primary client id)

◆ topic()

string eva::Frame::topic ( )
inline
Returns
frame topic (empty for non pub-sub frames)

◆ unpack()

msgpack::object_handle eva::Frame::unpack ( )
inline
Returns
MessagePack object handle for the unpacked payload
Exceptions
MessagePackexceptions

The documentation for this class was generated from the following file:
The official SDK for EVA ICS
Technical documentation: https://info.bma.ai/en/actual/eva4/sdk/cpp/
© Bohemia Automation / Altertech