Rework plist/qos printing, diffing and logging
* Use the parameter tables to pretty-print QoS and plist, rather than a hard-coded function supporting only the QoS. * Support diffing two plists: a single table-driven function can handle both nn_plist_t and ddsi_qos_t, and it removes the discrepancy between the two types. * Log content of discovery samples in trace rather than merely printing "(plist)" Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
		
							parent
							
								
									6bd28fb4b1
								
							
						
					
					
						commit
						08c9db0934
					
				
					 25 changed files with 575 additions and 320 deletions
				
			
		| 
						 | 
				
			
			@ -482,6 +482,7 @@ dds_entity_t dds_create_topic (dds_entity_t participant, const dds_topic_descrip
 | 
			
		|||
  st = dds_alloc (sizeof (*st));
 | 
			
		||||
 | 
			
		||||
  ddsi_sertopic_init (&st->c, name, desc->m_typename, &ddsi_sertopic_ops_default, desc->m_nkeys ? &ddsi_serdata_ops_cdr : &ddsi_serdata_ops_cdr_nokey, (desc->m_nkeys == 0));
 | 
			
		||||
  st->gv = &ppent->m_domain->gv;
 | 
			
		||||
  st->native_encoding_identifier = (DDSRT_ENDIAN == DDSRT_LITTLE_ENDIAN ? CDR_LE : CDR_BE);
 | 
			
		||||
  st->serpool = ppent->m_domain->gv.serpool;
 | 
			
		||||
  st->type = (void*) desc;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue