Decoding a Series of Messages using the C++ Control Class
Prev Generated JSON Decode Functions Next

Decoding a Series of Messages using the C++ Control Class

Decoding a series of messages is virtually identical in the C++ case as it is with C:

 for ( ; ; ) { 
 
 stat = employee.Decode();
 if (stat == 0) {
 // decoding was successful
 }
 else {
 // error handling
 }
 
 decodeBuffer.init() 
 }
	 

The major difference in this case is that the init method is called at the end of the loop rather than the C runtime function rtxMemReset. The init method serves the same purpose.


Prev Up Next
Generated C++ Decoding Methods Home Chapter 15. Generated AVN (Abstract Value Notation) Functions

AltStyle によって変換されたページ (->オリジナル) /