RMW desert 1.0
Loading...
Searching...
No Matches
Classes | Macros
CBorStream.h File Reference

Classes used to convert data types into a CBOR encoded stream. More...

#include "TcpDaemon.h"
#include "TopicsConfig.h"
#include "cbor/encoder.h"
#include "cbor/ieee754.h"
#include "cbor/decoder.h"
#include "cbor/parser.h"
#include "cbor/helper.h"
#include "half.hpp"
Include dependency graph for CBorStream.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CircularQueue< T, MaxLen, Container >
 
class  cbor::TxStream
 
class  cbor::RxStream
 

Macros

#define PUBLISHER_TYPE   0
 
#define SUBSCRIBER_TYPE   1
 
#define CLIENT_TYPE   2
 
#define SERVICE_TYPE   3
 
#define MAX_BUFFER_CAPACITY   100
 

Detailed Description

Classes used to convert data types into a CBOR encoded stream.

In order to perform a socket communication different data types needs to be encoded into binary representations so they can be sent through the same channel. CBOR fits perfectly with the DESERT requirements because only a minimal overhead is introduced in the stream and all the data types are sent using only the minimal quantity of bytes possible.

Author
Prof. Davide Costa