Public Member Functions

Deadline< D > Class Template Reference

#include <CorePolicy.hpp>

Inheritance diagram for Deadline< D >:

List of all members.

Public Member Functions

 Deadline (const dds::core::Duration &d)
 Deadline ()
void period (const dds::core::Duration &d)
const dds::core::Duration period () const

Detailed Description

template<typename D>
class tdds::core::policy::Deadline< D >

This policy is useful for cases where a Topic is expected to have each instance updated periodically. On the publishing side this setting establishes a contract that the application must meet. On the subscribing side the setting establishes a minimum requirement for the remote publishers that are expected to supply the data values. When the Service ÔmatchesÕ a DataWriter and a DataReader it checks whether the settings are compatible (i.e., offered deadline period<= requested deadline period) if they are not, the two entities are informed (via the listener or condition mechanism) of the incompatibility of the QoS settings and communication will not occur. Assuming that the reader and writer ends have compatible settings, the fulfillment of this contract is monitored by the Service and the application is informed of any violations by means of the proper listener or condition. The value offered is considered compatible with the value requested if and only if the inequality Òoffered deadline period <= requested deadline periodÓ evaluates to ÔTRUE.Õ The setting of the DEADLINE policy must be set consistently with that of the TIME_BASED_FILTER. For these two policies to be consistent the settings must be such that Òdeadline period>= minimum_separation.Ó

Definition at line 344 of file CorePolicy.hpp.


Constructor & Destructor Documentation

Deadline ( const dds::core::Duration d  )  [inline, explicit]

Definition at line 346 of file CorePolicy.hpp.

Deadline (  )  [inline]

Definition at line 348 of file CorePolicy.hpp.


Member Function Documentation

void period ( const dds::core::Duration d  )  [inline]

Definition at line 351 of file CorePolicy.hpp.

const dds::core::Duration period (  )  const [inline]

Definition at line 354 of file CorePolicy.hpp.


The documentation for this class was generated from the following file: