Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / TAO / orbsvcs / ImplRepo_Service / Iterator.h
blobd606a97858f834a2a379b81ee25dbbfd9402b2f5
1 // -*- C++ -*-
2 //=============================================================================
3 /**
4 * @file Iterator.h
6 * @brief This file declares ImR's iterator.
8 * @author Darrell Brunsch <brunsch@cs.wustl.edu>
9 */
10 //=============================================================================
12 #ifndef IMR_ITERATOR_H
13 #define IMR_ITERATOR_H
15 #include "Locator_Repository.h"
16 #include "AsyncListManager.h"
17 #include "tao/PortableServer/PortableServer.h"
18 #include "ImplRepoS.h"
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 # pragma once
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
25 class ImR_AsyncIterator
26 : public POA_ImplementationRepository::AMH_ServerInformationIterator
28 public:
29 ImR_AsyncIterator (CORBA::ULong start,
30 AsyncListManager *lister);
32 virtual void next_n
33 (ImplementationRepository::AMH_ServerInformationIteratorResponseHandler_ptr _tao_rh,
34 CORBA::ULong how_many);
36 virtual void destroy
37 (ImplementationRepository::AMH_ServerInformationIteratorResponseHandler_ptr _tao_rh);
39 private:
40 CORBA::ULong count_;
41 AsyncListManager_ptr lister_;
44 #endif /* IMR_ITERATOR_H */