converted RTT items to new serialization

This commit is contained in:
csoler 2017-04-24 11:01:45 +02:00
parent 5071c4bc7f
commit f6aaee7382
10 changed files with 65 additions and 47 deletions

View file

@ -32,10 +32,11 @@ class RsSerializer: public RsSerialType
/*! create_item
* should be overloaded to create the correct type of item depending on the data
*/
virtual RsItem *create_item(uint16_t /* service */, uint8_t /* item_sub_id */) const
{
return NULL ;
}
virtual RsItem *create_item(uint16_t /* service */, uint8_t /* item_sub_id */) const=0;
// {
// std::cerr << "(EE) Serializer does not overload create_item(). This is probably an error."<< std::endl;
// return NULL ;
// }
// The following functions overload RsSerialType. They *should not* need to be further overloaded.