DDS-PSM-C++  1.0
ISO C++ API for OpenSplice DDS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
TRank.hpp
Go to the documentation of this file.
1 #ifndef OMG_DDS_SUB_TRANK_HPP_
2 #define OMG_DDS_SUB_TRANK_HPP_
3 
4 #include <dds/core/Value.hpp>
5 
6 namespace dds { namespace sub {
7  template <typename DELEGATE>
8  class TRank;
9 } }
10 
11 
15 template <typename DELEGATE>
16 class dds::sub::TRank : public dds::core::Value<DELEGATE> {
17 public:
18  TRank();
19 
20  TRank(int32_t s, int32_t a, int32_t ag);
21 
22  int32_t absolute_generation() const;
23  inline int32_t generation() const;
24  inline int32_t sample() const;
25 };
26 
27 #endif /* OMG_DDS_SUB_TRANK_HPP_ */