LibreOffice Module binaryurp (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
binaryurp::Proxy Class Reference

#include <proxy.hxx>

Inheritance diagram for binaryurp::Proxy:
[legend]
Collaboration diagram for binaryurp::Proxy:
[legend]

Public Member Functions

 Proxy (rtl::Reference< Bridge > const &bridge, OUString oid, com::sun::star::uno::TypeDescription type)
 
const OUString & getOid () const
 
const com::sun::star::uno::TypeDescription & getType () const
 
void do_acquire ()
 
void do_release ()
 
void do_free ()
 
void do_dispatch (typelib_TypeDescription const *member, void *returnValue, void **arguments, uno_Any **exception) const
 

Static Public Member Functions

static bool isProxy (rtl::Reference< Bridge > const &bridge, com::sun::star::uno::UnoInterfaceReference const &object, OUString *oid)
 

Private Member Functions

 Proxy (const Proxy &)=delete
 
Proxyoperator= (const Proxy &)=delete
 
 ~Proxy ()
 
void do_dispatch_throw (typelib_TypeDescription const *member, void *returnValue, void **arguments, uno_Any **exception) const
 
bool isProxy (rtl::Reference< Bridge > const &bridge, OUString *oid) const
 

Private Attributes

rtl::Reference< Bridgebridge_
 
OUString oid_
 
com::sun::star::uno::TypeDescription type_
 
std::atomic< std::size_t > references_
 

Detailed Description

Definition at line 39 of file proxy.hxx.

Constructor & Destructor Documentation

◆ Proxy() [1/2]

binaryurp::Proxy::Proxy ( rtl::Reference< Bridge > const &  bridge,
OUString  oid,
com::sun::star::uno::TypeDescription  type 
)

◆ Proxy() [2/2]

binaryurp::Proxy::Proxy ( const Proxy )
privatedelete

◆ ~Proxy()

Proxy::~Proxy ( )
private

Definition at line 126 of file proxy.cxx.

Member Function Documentation

◆ do_acquire()

void Proxy::do_acquire ( )

Definition at line 79 of file proxy.cxx.

◆ do_dispatch()

void Proxy::do_dispatch ( typelib_TypeDescription const *  member,
void *  returnValue,
void **  arguments,
uno_Any **  exception 
) const

◆ do_dispatch_throw()

void Proxy::do_dispatch_throw ( typelib_TypeDescription const *  member,
void *  returnValue,
void **  arguments,
uno_Any **  exception 
) const
private

◆ do_free()

void Proxy::do_free ( )

Definition at line 91 of file proxy.cxx.

◆ do_release()

void Proxy::do_release ( )

Definition at line 85 of file proxy.cxx.

◆ getOid()

const OUString & binaryurp::Proxy::getOid ( ) const
inline

Definition at line 45 of file proxy.hxx.

References oid_.

Referenced by binaryurp::Bridge::freeProxy(), and binaryurp::Bridge::resurrectProxy().

◆ getType()

const com::sun::star::uno::TypeDescription & binaryurp::Proxy::getType ( ) const
inline

Definition at line 47 of file proxy.hxx.

References type_.

Referenced by binaryurp::Bridge::freeProxy(), and binaryurp::Bridge::resurrectProxy().

◆ isProxy() [1/2]

static bool binaryurp::Proxy::isProxy ( rtl::Reference< Bridge > const &  bridge,
com::sun::star::uno::UnoInterfaceReference const &  object,
OUString *  oid 
)
static

◆ isProxy() [2/2]

bool Proxy::isProxy ( rtl::Reference< Bridge > const &  bridge,
OUString *  oid 
) const
private

Definition at line 225 of file proxy.cxx.

◆ operator=()

Proxy & binaryurp::Proxy::operator= ( const Proxy )
privatedelete

Member Data Documentation

◆ bridge_

rtl::Reference< Bridge > binaryurp::Proxy::bridge_
private

Definition at line 77 of file proxy.hxx.

◆ oid_

OUString binaryurp::Proxy::oid_
private

Definition at line 78 of file proxy.hxx.

Referenced by getOid().

◆ references_

std::atomic<std::size_t> binaryurp::Proxy::references_
private

Definition at line 80 of file proxy.hxx.

◆ type_

com::sun::star::uno::TypeDescription binaryurp::Proxy::type_
private

Definition at line 79 of file proxy.hxx.

Referenced by getType().


The documentation for this class was generated from the following files: