TinyRobotics
Loading...
Searching...
No Matches
Public Attributes | List of all members
ParsedMessage Struct Reference

Holds a parsed TinyRobotics message of the correct type. More...

#include <MessageParser.h>

Collaboration diagram for ParsedMessage:
Collaboration graph
[legend]

Public Attributes

MessageValueType type
 Indicates which union member is valid.
 
union {
   Message< float >   floatMsg
 
   Message< Coordinate< float > >   coordMsg
 
   Message< GPSCoordinate >   gpsMsg
 
}; 
 

Detailed Description

Holds a parsed TinyRobotics message of the correct type.

The type field indicates which member of the union is valid after parsing. Used as an output parameter for MessageParser::parse().

Member Data Documentation

◆ type

MessageValueType type

Indicates which union member is valid.

See also
MessageValueType

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