summaryrefslogtreecommitdiff
path: root/CIAO/connectors/dds4ccm/tests/NonChangeableAttribute/Component/NonChangeable_Component_exec.h
blob: 9a4f55f03f81a9ca1044bb0b286e707254c91b1f (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
// -*- C++ -*-
// $Id$

#ifndef CIAO_COMPONENT_EXEC_H_
#define CIAO_COMPONENT_EXEC_H_

#include "NonChangeable_ComponentEC.h"

#include /**/ "Component_exec_export.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#include "tao/LocalObject.h"

namespace CIAO_NonChangeable_NonChangeableComponent_Impl
{
  //============================================================
  // Component_exec_i
  //============================================================
  class COMPONENT_EXEC_Export Component_exec_i
    : public virtual NonChangeableComponent_Exec,
      public virtual ::CORBA::LocalObject
  {
  public:
    Component_exec_i (void);
    virtual ~Component_exec_i (void);

    // Operations from Components::SessionComponent.
    CCM_DDS::CCM_PortStatusListener_ptr
    get_info_get_status(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);

  private:
    ::NonChangeable::CCM_NonChangeableComponent_Context_var context_;

    bool
    test_key_fields (
      ::NonChangeable::NonChangeableTestConnector::CCM_DDS_Event_ptr conn);

    bool
    test_attributes (
      ::NonChangeable::NonChangeableTestConnector::CCM_DDS_Event_ptr conn);

    bool
    test_qos_profile (
      ::NonChangeable::NonChangeableTestConnector::CCM_DDS_Event_ptr conn);

    bool
    test_topic_name (
      ::NonChangeable::NonChangeableTestConnector::CCM_DDS_Event_ptr conn);

    bool
    test_domain_id (
      ::NonChangeable::NonChangeableTestConnector::CCM_DDS_Event_ptr conn);

    bool
    test_filter (
      ::NonChangeable::NonChangeableTestConnector::CCM_DDS_Event_ptr conn);
  };

  extern "C" COMPONENT_EXEC_Export ::Components::EnterpriseComponent_ptr
  create_NonChangeable_Component_Impl (void);
}

#endif /* ifndef */