/usr/include/tao/Utils/ORB_Destroyer.h is in libtao-dev 6.0.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | // -*- C++ -*-
//=============================================================================
/**
* @file ORB_Destroyer.h
*
* $Id: ORB_Destroyer.h 77151 2007-02-15 13:24:41Z johnnyw $
*
* @author Marina Spivak <marina@atdesk.com>
*/
//=============================================================================
#ifndef TAO_UTILS_ORB_DESTROYER_H
#define TAO_UTILS_ORB_DESTROYER_H
#include /**/ "ace/pre.h"
#include "tao/Utils/utils_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "tao/ORB.h"
#include "ace/Auto_Functor.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace TAO
{
namespace Utils
{
/**
* @struct ORB_Destroyer_Functor
*
* @brief Implements a functor for the ORB_Destroyer class.
*/
struct TAO_UTILS_Export ORB_Destroyer_Functor
{
typedef CORBA::ORB_ptr argument;
/// Destroy the ORB
void operator() (CORBA::ORB_ptr orb) throw ();
};
/**
* @class ORB_Destroyer
*
* @brief Helper class to destroy an ORB.
*
*/
typedef ACE_Utils::Auto_Functor<
CORBA::ORB,
ORB_Destroyer_Functor>
ORB_Destroyer;
} // namespace Utils
} // namespace TAO
TAO_END_VERSIONED_NAMESPACE_DECL
#include /**/ "ace/post.h"
#endif /* TAO_UTILS_ORB_DESTROYER_H*/
|