LibreOffice Module binaryurp (master) 1
incomingrequest.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#pragma once
21
22#include <sal/config.h>
23
24#include <vector>
25
26#include <rtl/byteseq.hxx>
27#include <rtl/ref.hxx>
28#include <rtl/ustring.hxx>
29#include <sal/types.h>
30#include <typelib/typedescription.hxx>
31#include <uno/dispatcher.hxx>
32
33namespace binaryurp {
34 class BinaryAny;
35 class Bridge;
36}
37
38namespace binaryurp {
39
41private:
44public:
46 rtl::Reference< Bridge > const & bridge, rtl::ByteSequence tid,
47 OUString oid,
48 com::sun::star::uno::UnoInterfaceReference object,
49 com::sun::star::uno::TypeDescription type,
50 sal_uInt16 functionId, bool synchronous,
51 com::sun::star::uno::TypeDescription const & member, bool setter,
52 std::vector< BinaryAny >&& inArguments, bool currentContextMode,
53 com::sun::star::uno::UnoInterfaceReference currentContext);
54
56
57 void execute() const;
58
59private:
60 bool execute_throw(
61 BinaryAny * returnValue, std::vector< BinaryAny > * outArguments) const;
62
64 rtl::ByteSequence tid_;
65 OUString oid_; // initial object queryInterface; release
66 com::sun::star::uno::UnoInterfaceReference object_;
67 com::sun::star::uno::TypeDescription type_;
68 com::sun::star::uno::TypeDescription member_;
69 com::sun::star::uno::UnoInterfaceReference currentContext_;
70 std::vector< BinaryAny > inArguments_;
71 sal_uInt16 functionId_;
73 bool setter_;
75};
76
77}
78
79/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
IncomingRequest(const IncomingRequest &)=delete
IncomingRequest & operator=(const IncomingRequest &)=delete
com::sun::star::uno::UnoInterfaceReference object_
IncomingRequest(rtl::Reference< Bridge > const &bridge, rtl::ByteSequence tid, OUString oid, com::sun::star::uno::UnoInterfaceReference object, com::sun::star::uno::TypeDescription type, sal_uInt16 functionId, bool synchronous, com::sun::star::uno::TypeDescription const &member, bool setter, std::vector< BinaryAny > &&inArguments, bool currentContextMode, com::sun::star::uno::UnoInterfaceReference currentContext)
rtl::Reference< Bridge > bridge_
com::sun::star::uno::TypeDescription member_
bool execute_throw(BinaryAny *returnValue, std::vector< BinaryAny > *outArguments) const
com::sun::star::uno::TypeDescription type_
std::vector< BinaryAny > inArguments_
com::sun::star::uno::UnoInterfaceReference currentContext_