IRSOL
C++ code implementing socket server for interacting with Baumer camera.
variants.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  irsol
 
namespace  irsol::protocol
 Core protocol message types, serialization, parsing, and communication utilities for the irsol framework.
 

Functions

std::string irsol::protocol::toString (const InMessage &msg)
 Converts an incoming message variant to a human-readable string.
 
std::string irsol::protocol::toString (const OutMessage &msg)
 Converts an outgoing message variant to a human-readable string.
 
InMessageKind irsol::protocol::getInMessageKind (const InMessage &msg)
 Returns the InMessageKind enum value for a given incoming message variant.
 
bool irsol::protocol::isAssignment (const InMessage &msg)
 
bool irsol::protocol::isInquiry (const InMessage &msg)
 
bool irsol::protocol::isCommand (const InMessage &msg)
 
OutMessageKind irsol::protocol::getOutMessageKind (const OutMessage &msg)
 Returns the OutMessageKind enum value for a given outgoing message variant.
 
bool irsol::protocol::isSuccess (const OutMessage &msg)
 
bool irsol::protocol::isBinaryDataBuffer (const OutMessage &msg)
 
bool irsol::protocol::isImageBinaryData (const OutMessage &msg)
 
bool irsol::protocol::isColorImageBinaryData (const OutMessage &msg)
 
bool irsol::protocol::isError (const OutMessage &msg)