Search the Community
Showing results for tags 'lifespan'.
Found 2 results
Hi Please assume a general scenario; I have a data writer with publish time of at least 500 us (2000 sample/s) and following QoSs: dds::core::policy::Reliability::Reliable() dds::core::policy::Durability::Volatile() dds::core::policy::History::KeepAll() dds::core::policy::DestinationOrder::SourceTimestamp() dds::core::policy::Lifespan(dds::core::Duration(3,0)) dds::core::policy::WriterDataLifecycle::AutoDisposeUnregisteredInstances() My network is a Gigabit Ethernet. With regard to the lifespan of 3 seconds for each instance, is it correct to unregister written instances immediately after writing? I mean what will happen to the instances after unregister process. Can I be sure that I write the instance in the network successfully or I should put some sleep time between writing and unregistering instances. Thanks in advance for your help Bonjefir
I am interested in using the Deadling QOS on the Data Reader side to alert me when a specific topic instance violates the deadline contract. I have been able to get a listener working with a deadline qos, and am correctly alerted when a deadline is missed. However, I am unable to determine which instance violated the contract. Does OpenSplice have a method to do this? Or does anyone know a way around it? Alternatively, is there a way to set the Data Writer to change the InstanceStateKind from ALIVE_INSTANCE_STATE to NOT_ALIVE_NO_WRITERS_INSTANCE_STATE when the Deadline contract is violated? I was hoping to use virtual void on_requested_deadline_missed(DDS::DataReader_ptr reader, const DDS::RequestedDeadlineMissedStatus &status); in order to change the value of that field, but am not sure how to do so if I do not receive a handle to the specific instance.