Motion Master
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | List of all members
MachineMessage Class Reference

#include <machine_message.h>

Inheritance diagram for MachineMessage:
Inheritance graph
[legend]

Public Types

enum class  Protocol { kAll , kZmq , kWs }
 

Public Member Functions

Protocol get_protocol () const
 
const std::string & get_connection_id () const
 
const motionmaster::MotionMasterMessage & get_message () const
 

Protected Member Functions

 MachineMessage ()
 
 MachineMessage (Protocol protocol, std::string &connection_id, motionmaster::MotionMasterMessage &message)
 

Member Enumeration Documentation

◆ Protocol

enum class MachineMessage::Protocol
strong
Enumerator
kAll 
kZmq 
kWs 

Constructor & Destructor Documentation

◆ MachineMessage() [1/2]

MachineMessage::MachineMessage ( )
protecteddefault

◆ MachineMessage() [2/2]

MachineMessage::MachineMessage ( Protocol  protocol,
std::string &  connection_id,
motionmaster::MotionMasterMessage &  message 
)
protected

Member Function Documentation

◆ get_connection_id()

const std::string & MachineMessage::get_connection_id ( ) const

◆ get_message()

const motionmaster::MotionMasterMessage & MachineMessage::get_message ( ) const

◆ get_protocol()

MachineMessage::Protocol MachineMessage::get_protocol ( ) const

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