1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
/**
* @author Marcel Smit <msmit@remedy.nl>
*
* $Id$
*
* Wrapper facade for NDDS.
*/
#ifndef DDS_GET_T_H_
#define DDS_GET_T_H_
#include "dds4ccm/impl/DDS_Subscriber_Base_T.h"
#include "dds4ccm/impl/Getter_T.h"
template <typename DDS_TYPE, typename CCM_TYPE, bool FIXED, DDS4CCM_Vendor VENDOR_TYPE>
class DDS_Get_T
: public DDS_Subscriber_Base_T<DDS_TYPE, CCM_TYPE, FIXED, VENDOR_TYPE>
{
typedef CIAO::DDS4CCM::ConditionManager_T<DDS_TYPE, CCM_TYPE, VENDOR_TYPE>
ConditionManager_type;
typedef DDS_Subscriber_Base_T<DDS_TYPE, CCM_TYPE, FIXED, VENDOR_TYPE>
DDSSubscriberBase_type;
public:
DDS_Get_T (void);
~DDS_Get_T (void);
/**
* @name DDS_Get
* DDS_Get operations
*/
//@{
typename CCM_TYPE::getter_type::_ptr_type get_fresh_data (void);
//@}
bool configuration_complete (
typename CCM_TYPE::base_type::_ptr_type component,
::DDS::Topic_ptr topic,
::DDS::Subscriber_ptr subscriber,
const char* library_name,
const char* profile_name);
void remove (
::DDS::Subscriber_ptr subscriber);
private:
/**
* DDS_Get
*/
//@{
::DDS::DataReaderListener_var listener_;
::CIAO::DDS4CCM::DDS_CCM::Getter_T<DDS_TYPE, CCM_TYPE, FIXED, VENDOR_TYPE> dds_get_;
//@}
};
#include "dds4ccm/impl/DDS_Get_T.cpp"
#endif /* DDS_GET_T_H_ */
|