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 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
|
// -*- Mode: C++; -*-
// Package : omniORB
// poa_operators.h Created on: 19/7/99
// Author : David Riddoch (djr)
//
// Copyright (C) 1996-1999 AT&T Research Cambridge
//
// This file is part of the omniORB library.
//
// The omniORB library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Library General Public
// License as published by the Free Software Foundation; either
// version 2 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Library General Public License for more details.
//
// You should have received a copy of the GNU Library General Public
// License along with this library; if not, write to the Free
// Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA
//
//
// Description:
//
/*
$Log: poa_operators.h,v $
Revision 1.1.2.1 1999/09/24 09:51:50 djr
Moved from omniORB2 + some new files.
*/
#ifndef __OMNIPOA_H__
#error poa_operators.h should only be included by poa.h
#endif
#ifndef __OMNI_POA_OPERATORS_H__
#define __OMNI_POA_OPERATORS_H__
inline size_t
PortableServer::AdapterActivator::_alignedSize(PortableServer::AdapterActivator_ptr obj, size_t offset) {
return CORBA::AlignedObjRef(obj, _PD_repoId, 48, offset);
}
inline void
PortableServer::AdapterActivator::_marshalObjRef(PortableServer::AdapterActivator_ptr obj, NetBufferedStream& s) {
CORBA::MarshalObjRef(obj, _PD_repoId, 48, s);
}
inline void
PortableServer::AdapterActivator::_marshalObjRef(PortableServer::AdapterActivator_ptr obj, MemBufferedStream& s) {
CORBA::MarshalObjRef(obj, _PD_repoId, 48, s);
}
inline size_t
PortableServer::ServantManager::_alignedSize(PortableServer::ServantManager_ptr obj, size_t offset) {
return CORBA::AlignedObjRef(obj, _PD_repoId, 46, offset);
}
inline void
PortableServer::ServantManager::_marshalObjRef(PortableServer::ServantManager_ptr obj, NetBufferedStream& s) {
CORBA::MarshalObjRef(obj, _PD_repoId, 46, s);
}
inline void
PortableServer::ServantManager::_marshalObjRef(PortableServer::ServantManager_ptr obj, MemBufferedStream& s) {
CORBA::MarshalObjRef(obj, _PD_repoId, 46, s);
}
inline size_t
PortableServer::ServantActivator::_alignedSize(PortableServer::ServantActivator_ptr obj, size_t offset) {
return CORBA::AlignedObjRef(obj, _PD_repoId, 48, offset);
}
inline void
PortableServer::ServantActivator::_marshalObjRef(PortableServer::ServantActivator_ptr obj, NetBufferedStream& s) {
CORBA::MarshalObjRef(obj, _PD_repoId, 48, s);
}
inline void
PortableServer::ServantActivator::_marshalObjRef(PortableServer::ServantActivator_ptr obj, MemBufferedStream& s) {
CORBA::MarshalObjRef(obj, _PD_repoId, 48, s);
}
inline size_t
PortableServer::ServantLocator::_alignedSize(PortableServer::ServantLocator_ptr obj, size_t offset) {
return CORBA::AlignedObjRef(obj, _PD_repoId, 46, offset);
}
inline void
PortableServer::ServantLocator::_marshalObjRef(PortableServer::ServantLocator_ptr obj, NetBufferedStream& s) {
CORBA::MarshalObjRef(obj, _PD_repoId, 46, s);
}
inline void
PortableServer::ServantLocator::_marshalObjRef(PortableServer::ServantLocator_ptr obj, MemBufferedStream& s) {
CORBA::MarshalObjRef(obj, _PD_repoId, 46, s);
}
#endif // __OMNI_POA_OPERATORS_H__
|