/usr/include/tao/Stub_Factory.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 62 63 64 65 | // -*- C++ -*-
//=============================================================================
/**
* @file Stub_Factory.h
*
* $Id: Stub_Factory.h 76551 2007-01-24 13:42:44Z johnnyw $
*
* Defines the a factory interface for creating Stubs.
* This class creates the default stub, that is used in
* plain CORBA.
*
*
* @author Angelo Corsaro <corsaro@cs.wustl.edu>
*/
//=============================================================================
#ifndef TAO_STUB_FACTORY_H_
#define TAO_STUB_FACTORY_H_
#include /**/ "ace/pre.h"
#include /**/ "tao/TAO_Export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include /**/ "tao/Versioned_Namespace.h"
#include "ace/Service_Object.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
// Forward references
class TAO_MProfile;
class TAO_ORB_Core;
class TAO_Stub;
/**
* @class TAO_Stub_Factory
*
* This class is a factory whose product is the plain TAO_Stub used by
* TAO. Its subclasses build Stub object that are specialization of
* the TAO_Stub. As an example TAO_RT_Stub_Factory creates
* RT_TAO_Stub. This factory, or one of its subclasses is dynamically
* plugged into the ORB_Core, and is used by the ORB_Core to create
* Stub Objects.
*/
class TAO_Export TAO_Stub_Factory : public ACE_Service_Object
{
public:
/// Destructor.
virtual ~TAO_Stub_Factory (void);
/// Creates a Stub Object.
virtual TAO_Stub *create_stub (const char *repository_id,
const TAO_MProfile &profiles,
TAO_ORB_Core *orb_core) = 0;
};
TAO_END_VERSIONED_NAMESPACE_DECL
#include /**/ "ace/post.h"
#endif /* TAO_STUB_FACTORY_H_ */
|