LibreOffice Module sc (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ScAddInAsync Class Referencefinal

#include <adiasync.hxx>

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

Public Member Functions

 ScAddInAsync (sal_uLong nHandle, LegacyFuncData *pFuncData, ScDocument *pDoc)
 
virtual ~ScAddInAsync () override
 
bool IsValid () const
 
ParamType GetType () const
 
double GetValue () const
 
const OUString & GetString () const
 
bool HasDocument (ScDocument *pDoc) const
 
void AddDocument (ScDocument *pDoc)
 
bool operator< (const ScAddInAsync &r) const
 
- Public Member Functions inherited from SvtBroadcaster
 SvtBroadcaster ()
 
 SvtBroadcaster (const SvtBroadcaster &rBC)
 
virtual ~SvtBroadcaster ()
 
void Broadcast (const SfxHint &rHint)
 
ListenersTypeGetAllListeners ()
 
const ListenersTypeGetAllListeners () const
 
bool HasListeners () const
 
void PrepareForDestruction ()
 

Static Public Member Functions

static ScAddInAsyncGet (sal_uLong nHandle)
 
static void CallBack (sal_uLong nHandle, void *pData)
 
static void RemoveDocument (ScDocument *pDocument)
 

Private Attributes

union {
   double   nVal
 
   OUString *   pStr
 
}; 
 
std::unique_ptr< ScAddInDocspDocs
 
LegacyFuncDatampFuncData
 
sal_uLong nHandle
 
ParamType meType
 
bool bValid
 

Additional Inherited Members

- Public Types inherited from SvtBroadcaster
typedef std::vector< SvtListener * > ListenersType
 
- Protected Member Functions inherited from SvtBroadcaster
virtual void ListenersGone ()
 

Detailed Description

Definition at line 35 of file adiasync.hxx.

Constructor & Destructor Documentation

◆ ScAddInAsync()

ScAddInAsync::ScAddInAsync ( sal_uLong  nHandle,
LegacyFuncData pFuncData,
ScDocument pDoc 
)

Definition at line 41 of file adiasync.cxx.

References meType, nHandle, pDocs, and theAddInAsyncTbl.

◆ ~ScAddInAsync()

ScAddInAsync::~ScAddInAsync ( )
overridevirtual

Definition at line 53 of file adiasync.cxx.

References meType, mpFuncData, nHandle, pDocs, pStr, PTR_STRING, and LegacyFuncData::Unadvice().

Member Function Documentation

◆ AddDocument()

void ScAddInAsync::AddDocument ( ScDocument pDoc)
inline

Definition at line 63 of file adiasync.hxx.

References pDocs.

Referenced by ScInterpreter::ScExternal().

◆ CallBack()

void ScAddInAsync::CallBack ( sal_uLong  nHandle,
void *  pData 
)
static

◆ Get()

ScAddInAsync * ScAddInAsync::Get ( sal_uLong  nHandle)
static

Definition at line 62 of file adiasync.cxx.

References theAddInAsyncTbl.

Referenced by ScInterpreter::ScExternal().

◆ GetString()

const OUString & ScAddInAsync::GetString ( ) const
inline

Definition at line 60 of file adiasync.hxx.

References pStr.

Referenced by ScInterpreter::ScExternal().

◆ GetType()

ParamType ScAddInAsync::GetType ( ) const
inline

Definition at line 58 of file adiasync.hxx.

References meType.

Referenced by ScInterpreter::ScExternal().

◆ GetValue()

double ScAddInAsync::GetValue ( ) const
inline

Definition at line 59 of file adiasync.hxx.

References nVal.

Referenced by ScInterpreter::ScExternal().

◆ HasDocument()

bool ScAddInAsync::HasDocument ( ScDocument pDoc) const
inline

Definition at line 61 of file adiasync.hxx.

References pDocs.

Referenced by ScInterpreter::ScExternal().

◆ IsValid()

bool ScAddInAsync::IsValid ( ) const
inline

Definition at line 57 of file adiasync.hxx.

References bValid.

Referenced by ScInterpreter::ScExternal().

◆ operator<()

bool ScAddInAsync::operator< ( const ScAddInAsync r) const
inline

Definition at line 66 of file adiasync.hxx.

References nHandle.

◆ RemoveDocument()

void ScAddInAsync::RemoveDocument ( ScDocument pDocument)
static

Definition at line 118 of file adiasync.cxx.

References p, pDocs, and theAddInAsyncTbl.

Referenced by ScDocument::~ScDocument().

Member Data Documentation

◆ 

union { ... } ScAddInAsync::@1

◆ bValid

bool ScAddInAsync::bValid
private

Definition at line 47 of file adiasync.hxx.

Referenced by IsValid().

◆ meType

ParamType ScAddInAsync::meType
private

Definition at line 46 of file adiasync.hxx.

Referenced by GetType(), and ~ScAddInAsync().

◆ mpFuncData

LegacyFuncData* ScAddInAsync::mpFuncData
private

Definition at line 44 of file adiasync.hxx.

Referenced by ~ScAddInAsync().

◆ nHandle

sal_uLong ScAddInAsync::nHandle
private

Definition at line 45 of file adiasync.hxx.

Referenced by operator<(), and ~ScAddInAsync().

◆ nVal

double ScAddInAsync::nVal

Definition at line 40 of file adiasync.hxx.

Referenced by GetValue().

◆ pDocs

std::unique_ptr<ScAddInDocs> ScAddInAsync::pDocs
private

Definition at line 43 of file adiasync.hxx.

Referenced by AddDocument(), HasDocument(), RemoveDocument(), ScAddInAsync(), and ~ScAddInAsync().

◆ pStr

OUString* ScAddInAsync::pStr

Definition at line 41 of file adiasync.hxx.

Referenced by GetString(), and ~ScAddInAsync().


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