LibreOffice Module svl (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
DdeTransaction Class Reference

#include <svdde.hxx>

Inheritance diagram for DdeTransaction:
[legend]
Collaboration diagram for DdeTransaction:
[legend]

Public Member Functions

void Data (const DdeData *)
 
void Done (bool bDataValid)
 
virtual ~DdeTransaction ()
 
bool IsBusy () const
 
OUString GetName () const
 
void Execute ()
 
void SetDataHdl (const Link< const DdeData *, void > &rLink)
 
const Link< const DdeData *, void > & GetDataHdl () const
 
void SetDoneHdl (const Link< bool, void > &rLink)
 
const Link< bool, void > & GetDoneHdl () const
 
void SetFormat (SotClipboardFormatId nFmt)
 
SotClipboardFormatId GetFormat () const
 
tools::Long GetError () const
 

Protected Member Functions

 DdeTransaction (DdeConnection &, SAL_UNUSED_PARAMETER const OUString &, SAL_UNUSED_PARAMETER tools::Long=0)
 

Protected Attributes

DdeConnectionrDde
 
DdeData aDdeData
 
DdeStringpName
 
short nType
 
sal_IntPtr nId
 
sal_IntPtr nTime
 
Link< const DdeData *, void > aData
 
Link< bool, void > aDone
 
bool bBusy
 

Private Member Functions

 DdeTransaction (const DdeTransaction &)=delete
 
const DdeTransactionoperator= (const DdeTransaction &)=delete
 

Friends

class DdeInternal
 
class DdeConnection
 

Detailed Description

Definition at line 79 of file svdde.hxx.

Constructor & Destructor Documentation

◆ DdeTransaction() [1/2]

DdeTransaction::DdeTransaction ( DdeConnection ,
SAL_UNUSED_PARAMETER const OUString &  ,
SAL_UNUSED_PARAMETER tools::Long  = 0 
)
protected

◆ ~DdeTransaction()

DdeTransaction::~DdeTransaction ( )
virtual

◆ DdeTransaction() [2/2]

DdeTransaction::DdeTransaction ( const DdeTransaction )
privatedelete

Member Function Documentation

◆ Data()

void DdeTransaction::Data ( const DdeData p)

◆ Done()

void DdeTransaction::Done ( bool  bDataValid)

Definition at line 334 of file ddecli.cxx.

References aDone, and Link< typename Arg, typename Ret >::Call().

◆ Execute()

void DdeTransaction::Execute ( )

◆ GetDataHdl()

const Link< const DdeData *, void > & DdeTransaction::GetDataHdl ( ) const
inline

Definition at line 106 of file svdde.hxx.

References aData.

◆ GetDoneHdl()

const Link< bool, void > & DdeTransaction::GetDoneHdl ( ) const
inline

Definition at line 109 of file svdde.hxx.

References aDone.

◆ GetError()

tools::Long DdeTransaction::GetError ( ) const
inline

Definition at line 320 of file svdde.hxx.

◆ GetFormat()

SotClipboardFormatId DdeTransaction::GetFormat ( ) const
inline

Definition at line 112 of file svdde.hxx.

References aDdeData, and DdeData::GetFormat().

◆ GetName()

OUString DdeTransaction::GetName ( ) const

Definition at line 316 of file ddecli.cxx.

References pName, and DdeString::toOUString().

◆ IsBusy()

bool DdeTransaction::IsBusy ( ) const
inline

Definition at line 100 of file svdde.hxx.

References bBusy.

◆ operator=()

const DdeTransaction & DdeTransaction::operator= ( const DdeTransaction )
privatedelete

◆ SetDataHdl()

void DdeTransaction::SetDataHdl ( const Link< const DdeData *, void > &  rLink)
inline

Definition at line 105 of file svdde.hxx.

References aData.

◆ SetDoneHdl()

void DdeTransaction::SetDoneHdl ( const Link< bool, void > &  rLink)
inline

Definition at line 108 of file svdde.hxx.

References aDone.

◆ SetFormat()

void DdeTransaction::SetFormat ( SotClipboardFormatId  nFmt)
inline

Definition at line 111 of file svdde.hxx.

References aDdeData, and DdeData::SetFormat().

Friends And Related Function Documentation

◆ DdeConnection

friend class DdeConnection
friend

Definition at line 118 of file svdde.hxx.

◆ DdeInternal

friend class DdeInternal
friend

Definition at line 117 of file svdde.hxx.

Member Data Documentation

◆ aData

Link<const DdeData*,void> DdeTransaction::aData
protected

Definition at line 91 of file svdde.hxx.

Referenced by Data(), GetDataHdl(), and SetDataHdl().

◆ aDdeData

DdeData DdeTransaction::aDdeData
protected

Definition at line 86 of file svdde.hxx.

Referenced by DdeExecute::DdeExecute(), DdePoke::DdePoke(), Execute(), GetFormat(), and SetFormat().

◆ aDone

Link<bool,void> DdeTransaction::aDone
protected

Definition at line 92 of file svdde.hxx.

Referenced by Done(), GetDoneHdl(), and SetDoneHdl().

◆ bBusy

bool DdeTransaction::bBusy
protected

Definition at line 93 of file svdde.hxx.

Referenced by Execute(), and IsBusy().

◆ nId

sal_IntPtr DdeTransaction::nId
protected

Definition at line 89 of file svdde.hxx.

Referenced by Execute(), and ~DdeTransaction().

◆ nTime

sal_IntPtr DdeTransaction::nTime
protected

Definition at line 90 of file svdde.hxx.

Referenced by Execute(), and DdeLink::~DdeLink().

◆ nType

short DdeTransaction::nType
protected

◆ pName

DdeString* DdeTransaction::pName
protected

Definition at line 87 of file svdde.hxx.

Referenced by Execute(), GetName(), and ~DdeTransaction().

◆ rDde

DdeConnection& DdeTransaction::rDde
protected

Definition at line 85 of file svdde.hxx.

Referenced by Execute(), and ~DdeTransaction().


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