|
APIs, concepts, guides, and more
|
RapidCodeRemote uses the same enums as RapidCode. The RealTimeTasks enums are also included.
Every proto enum includes a synthetic UNKNOWN = 0 value as its first entry. This follows the proto3 spec, which requires the default value to be zero. UNKNOWN has no C++ equivalent and serves as a sentinel — converting UNKNOWN to a RapidCode enum throws an exception.
RapidCode enums keep their C++ names as-is (e.g., RSINetworkStateOPERATIONAL).
RTTask enums prefix the enum type name onto each value to ensure uniqueness in proto3's flat enum namespace (e.g., C++ Medium becomes RTTaskStateMEDIUM).