diff options
Diffstat (limited to 'TAO/performance-tests/Memory/Single_Threaded/Memory_Growth.h')
-rw-r--r-- | TAO/performance-tests/Memory/Single_Threaded/Memory_Growth.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/TAO/performance-tests/Memory/Single_Threaded/Memory_Growth.h b/TAO/performance-tests/Memory/Single_Threaded/Memory_Growth.h new file mode 100644 index 00000000000..9f4ae96b84d --- /dev/null +++ b/TAO/performance-tests/Memory/Single_Threaded/Memory_Growth.h @@ -0,0 +1,42 @@ +// +// $Id$ +// + +#ifndef MEMORY_GROWTH_H +#define MEMORY_GROWTH_H +#include /**/ "ace/pre.h" + +#include "TestS.h" + +#if defined (_MSC_VER) +# pragma warning(push) +# pragma warning (disable:4250) +#endif /* _MSC_VER */ + +/// Implement the Test::Hello interface +class Memory_Growth + : public virtual POA_Test::Memory_Growth +{ +public: + /// Constructor + Memory_Growth (CORBA::ORB_ptr orb); + + // = The skeleton methods + virtual void ping (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual void shutdown (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + +private: + /// Use an ORB reference to conver strings to objects and shutdown + /// the application. + CORBA::ORB_var orb_; +}; + +#if defined(_MSC_VER) +# pragma warning(pop) +#endif /* _MSC_VER */ + +#include /**/ "ace/post.h" +#endif /* MEMORY_GROWTH_H */ |