summaryrefslogtreecommitdiff
path: root/modules/CIAO/connectors/dds4ccm/impl/ndds/PortStatusListener.h
blob: 9f6273a4683d926c39ba8a820ea3248632d91056 (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
/**
 * @author William R. Otte <wotte@dre.vanderbilt.edu>
 * @author Johnny Willemsen <jwillemsen@remedy.nl>
 *
 * $Id$
 *
 * Wrapper facade for NDDS.
 */
 
#ifndef DDS4CCM_PORTSTATUSLISTENERI_H_
#define DDS4CCM_PORTSTATUSLISTENERI_H_

#include "dds4ccm_PortStatusListenerS.h"

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

class CCM_DDS_PortStatusListener_i
  : public virtual ::POA_CCM_DDS::PortStatusListener
{
public:
  // Constructor 
  CCM_DDS_PortStatusListener_i (void);
  
  // Destructor 
  virtual ~CCM_DDS_PortStatusListener_i (void);
  
  virtual
  void on_requested_deadline_missed (
    ::DDS::DataReader_ptr the_reader,
    const ::DDS::RequestedDeadlineMissedStatus & status);
  
  virtual
  void on_sample_lost (
    ::DDS::DataReader_ptr the_reader,
    const ::DDS::SampleLostStatus & status);
};


#endif /* DDS4CCM_PORTSTATUSLISTENERI_H_  */