blob: aa6681719de2661ab65b6b3d08a62973cbfc3435 (
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
|
// -*- C++ -*-
//=============================================================================
/**
* @file ProxySupplierStateWorker.h
*
* $Id$
*
* @author Huang-Ming Huang <hh1@cse.wustl.edu>
*/
//=============================================================================
#ifndef PROXYSUPPLIERSTATEWORKER_H
#define PROXYSUPPLIERSTATEWORKER_H
#include "orbsvcs/Event/EC_ConsumerAdmin.h"
#include "orbsvcs/ESF/ESF_Worker.h"
#include "FTEC_ProxySupplier.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
class ProxySupplierStateWorker : public TAO_ESF_Worker<TAO_EC_ProxyPushSupplier>
{
public:
ProxySupplierStateWorker(FtRtecEventChannelAdmin::ProxySupplierStates& states);
~ProxySupplierStateWorker();
virtual void set_size(size_t size);
virtual void work(TAO_EC_ProxyPushSupplier* object
ACE_ENV_ARG_DECL);
private:
int index_;
FtRtecEventChannelAdmin::ProxySupplierStates& supplierStates_;
};
#endif
|