blob: f2086ba388334b33aee566ab50212a0529fa0947 (
plain)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
// -*- C++ -*-
// $Id$
#ifndef CIAO_SENDER_EXEC_H_
#define CIAO_SENDER_EXEC_H_
#include "VTopics_SenderEC.h"
#include /**/ "Sender_exec_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "tao/LocalObject.h"
namespace CIAO_VTopics_Sender_Impl
{
typedef ACE_Atomic_Op <TAO_SYNCH_MUTEX, CORBA::Boolean > Atomic_Boolean;
class Sender_exec_i;
class SENDER_EXEC_Export ConnectorStatusListener_exec_i
: public virtual ::CCM_DDS::CCM_ConnectorStatusListener,
public virtual ::CORBA::LocalObject
{
public:
ConnectorStatusListener_exec_i (Atomic_Boolean &);
virtual ~ConnectorStatusListener_exec_i (void);
virtual
void on_inconsistent_topic (::DDS::Topic_ptr the_topic,
const DDS::InconsistentTopicStatus & status);
virtual
void on_requested_incompatible_qos (::DDS::DataReader_ptr the_reader,
const DDS::RequestedIncompatibleQosStatus & status);
virtual
void on_sample_rejected (::DDS::DataReader_ptr the_reader,
const DDS::SampleRejectedStatus & status);
virtual
void on_offered_deadline_missed (::DDS::DataWriter_ptr the_writer,
const DDS::OfferedDeadlineMissedStatus & status);
virtual
void on_offered_incompatible_qos (::DDS::DataWriter_ptr the_writer,
const DDS::OfferedIncompatibleQosStatus & status);
virtual
void on_unexpected_status (::DDS::Entity_ptr the_entity,
::DDS::StatusKind status_kind);
private:
Atomic_Boolean &publication_matched_;
};
class Sender_exec_i
: public virtual Sender_Exec,
public virtual ::CORBA::LocalObject
{
public:
Sender_exec_i (void);
virtual ~Sender_exec_i (void);
virtual void set_session_context (::Components::SessionContext_ptr ctx);
virtual void configuration_complete (void);
virtual void ccm_activate (void);
virtual void ccm_passivate (void);
virtual void ccm_remove (void);
// Port operations.
virtual ::CCM_DDS::CCM_ConnectorStatusListener_ptr
get_connector_status (void);
private:
::VTopics::CCM_Sender_Context_var context_;
Atomic_Boolean publication_matched_;
};
extern "C" SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
create_VTopics_Sender_Impl (void);
}
#endif /* ifndef */
|