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

#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 36 of file adiasync.hxx.

Constructor & Destructor Documentation

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

Definition at line 43 of file adiasync.cxx.

References meType, nHandle, pDocs, and theAddInAsyncTbl.

ScAddInAsync::~ScAddInAsync ( )
overridevirtual

Definition at line 56 of file adiasync.cxx.

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

Member Function Documentation

void ScAddInAsync::AddDocument ( ScDocument pDoc)
inline

Definition at line 64 of file adiasync.hxx.

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

Definition at line 65 of file adiasync.cxx.

References theAddInAsyncTbl.

const OUString& ScAddInAsync::GetString ( ) const
inline

Definition at line 61 of file adiasync.hxx.

References pStr.

ParamType ScAddInAsync::GetType ( ) const
inline

Definition at line 59 of file adiasync.hxx.

References meType.

double ScAddInAsync::GetValue ( ) const
inline

Definition at line 60 of file adiasync.hxx.

References nVal.

bool ScAddInAsync::HasDocument ( ScDocument pDoc) const
inline

Definition at line 62 of file adiasync.hxx.

bool ScAddInAsync::IsValid ( ) const
inline

Definition at line 58 of file adiasync.hxx.

References bValid.

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

Definition at line 67 of file adiasync.hxx.

References nHandle.

void ScAddInAsync::RemoveDocument ( ScDocument pDocument)
static

Definition at line 121 of file adiasync.cxx.

References p, pDocs, and theAddInAsyncTbl.

Referenced by ScDocument::~ScDocument().

Member Data Documentation

union { ... }
bool ScAddInAsync::bValid
private

Definition at line 48 of file adiasync.hxx.

Referenced by CallBack(), and IsValid().

ParamType ScAddInAsync::meType
private

Definition at line 47 of file adiasync.hxx.

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

LegacyFuncData* ScAddInAsync::mpFuncData
private

Definition at line 45 of file adiasync.hxx.

Referenced by ~ScAddInAsync().

sal_uLong ScAddInAsync::nHandle
private

Definition at line 46 of file adiasync.hxx.

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

double ScAddInAsync::nVal

Definition at line 41 of file adiasync.hxx.

Referenced by CallBack(), and GetValue().

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

Definition at line 44 of file adiasync.hxx.

Referenced by CallBack(), RemoveDocument(), ScAddInAsync(), and ~ScAddInAsync().

OUString* ScAddInAsync::pStr

Definition at line 42 of file adiasync.hxx.

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


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