Altium C++ SDK 3.0
Loading...
Searching...
No Matches
SCH::CAbstractFlashWriter Class Referenceabstract

#include <EDP.SCH.AbstractClasses.h>

Inheritance diagram for SCH::CAbstractFlashWriter:
SCH::CAbstractRemoteExecuteBaseDriver CAbstractSupportService CDispatchObject IServicesSupportInternal CDispatchRecord

Public Member Functions

IFlashWriterGetIFlashWriter ()
Public Member Functions inherited from SCH::CAbstractRemoteExecuteBaseDriver
IRemoteExecuteBaseDriverGetIRemoteExecuteBaseDriver ()
Public Member Functions inherited from CAbstractSupportService
virtual HRESULT __stdcall QueryInterface (const IID &riid, void **ppvObject)
virtual ULONG __stdcall AddRef (void)
virtual ULONG __stdcall Release (void)
IServicesSupportInternalGetServicesSupportInternal ()
Public Member Functions inherited from CDispatchObject
 CDispatchObject ()
virtual ~CDispatchObject ()
IDispatch * GetIDispatch ()
Public Member Functions inherited from CDispatchRecord
 CDispatchRecord ()
virtual HRESULT __stdcall GetTypeInfoCount (UINT *pctinfo)
virtual HRESULT __stdcall GetTypeInfo (UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
virtual HRESULT __stdcall GetIDsOfNames (REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)

Protected Member Functions

virtual bool SupportsService (std::wstring const AServiceName)
virtual HRESULT __stdcall Invoke (DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
virtual int BeginTransaction ()=0
virtual int EndTransation ()=0
virtual int WriteFlash (long AFlashMemorySpaceIndex, IDataChunkImageInterface *ADataImageInterface, bool AEnableFilterFunction, bool APreserveUnwrittenData, bool AResetDevice, bool AVerifyWrite)=0
virtual int BlankCheckSectors (long AFlashMemorySpaceIndex, long AStartSector, long AEndSector)=0
virtual int EraseFlash (long AFlashMemorySpaceIndex)=0
virtual int EraseAddressRange (long AFlashMemorySpaceIndex, long AStartAddress, long AEndAddress, bool APreserveUnwrittenData)=0
virtual int EraseSectorRange (long AFlashMemorySpaceIndex, long AStartSector, long AEndSector)=0
virtual int CompareWithFlash (long AFlashMemorySpaceIndex, IDataChunkImageInterface *ADataImageInterface, long AFlashAddress, long ACompareByteCount, bool AEnableFilterFunction)=0
virtual void ClearAllFlashMemorySpaces ()=0
virtual int GetFlashMemorySpaceCount ()=0
virtual int AddFlashMemorySpace (long AGlobalMemorySpaceIndex, long AStartAddress, long AEndAddress, long AWidthInBits)=0
virtual int AbortCurrentProcess ()=0
virtual long GetFlashAddressFromSector (long AFlashMemorySpaceIndex, long ASectorNumber)=0
virtual long GetFlashSectorFromAddress (long AFlashMemorySpaceIndex, long AFlashAddress)=0
virtual bool IsFlashMemorySpace (long AMemorySpaceIndex, long AWriteAddress)=0
virtual int SetCallbackInterface (IFlashWriterCallback *ACallBackInterface)=0
virtual bool IsFlashWidthSupported (int AFlashWidth)=0
virtual int GetDefaultFlashWidth ()=0
virtual bool SupportsAction (long AnAction)=0
virtual void GetFlashMemorySpaceDescriptor (long AFlashMemorySpaceIndex, long *globalMemorySpaceIndex, long *startAddress, long *endAddress, long *widthInBits)=0
virtual DXP::IStringsGetSupportedDevicesList ()=0
Protected Member Functions inherited from SCH::CAbstractRemoteExecuteBaseDriver
virtual void SetRemoteDriverDeviceTitle (std::wstring ADeviceTitle)=0
virtual void SetRemoteDriverVendorName (std::wstring AVendorName)=0
virtual void SetRemoteDriverDeviceName (std::wstring ADeviceName)=0
virtual void SetRemoteDriverFileName (std::wstring AFileName)=0
virtual void SetRemoteDriverBaseAddress (long ABaseAddress)=0
virtual void SetRemoteDriverMainEntryPoint (long AMainEntryAddress)=0
virtual void SetRemoteDriverParamBaseAddress (long AParamAddress)=0
virtual void SetRemoteDriverDataBaseAddress (long ADataAddress)=0
virtual std::wstring GetRemoteDriverDeviceTitle ()=0
virtual std::wstring GetRemoteDriverDeviceName ()=0
virtual std::wstring GetRemoteDriverVendorName ()=0
virtual std::wstring GetRemoteDriverFileName ()=0
virtual long GetRemoteDriverBaseAddress ()=0
virtual long GetRemoteDriverMainEntryPoint ()=0
virtual long GetRemoteDriverParamBaseAddress ()=0
virtual long GetRemoteDriverDataBaseAddress ()=0
virtual bool GetInternalIsEnabled ()=0
virtual bool GetInternalIsInitialized ()=0
virtual bool GetInternalIsDriverLoaded ()=0
virtual bool GetInternalIsDriverInstalled ()=0
virtual bool GetInternalPreserveState ()=0
virtual bool GetInternalAbort ()=0

Additional Inherited Members

Protected Attributes inherited from CDispatchRecord
ULONG mRefCount

Member Function Documentation

◆ AbortCurrentProcess()

virtual int SCH::CAbstractFlashWriter::AbortCurrentProcess ( )
protectedpure virtual

◆ AddFlashMemorySpace()

virtual int SCH::CAbstractFlashWriter::AddFlashMemorySpace ( long AGlobalMemorySpaceIndex,
long AStartAddress,
long AEndAddress,
long AWidthInBits )
protectedpure virtual

◆ BeginTransaction()

virtual int SCH::CAbstractFlashWriter::BeginTransaction ( )
protectedpure virtual

◆ BlankCheckSectors()

virtual int SCH::CAbstractFlashWriter::BlankCheckSectors ( long AFlashMemorySpaceIndex,
long AStartSector,
long AEndSector )
protectedpure virtual

◆ ClearAllFlashMemorySpaces()

virtual void SCH::CAbstractFlashWriter::ClearAllFlashMemorySpaces ( )
protectedpure virtual

◆ CompareWithFlash()

virtual int SCH::CAbstractFlashWriter::CompareWithFlash ( long AFlashMemorySpaceIndex,
IDataChunkImageInterface * ADataImageInterface,
long AFlashAddress,
long ACompareByteCount,
bool AEnableFilterFunction )
protectedpure virtual

◆ EndTransation()

virtual int SCH::CAbstractFlashWriter::EndTransation ( )
protectedpure virtual

◆ EraseAddressRange()

virtual int SCH::CAbstractFlashWriter::EraseAddressRange ( long AFlashMemorySpaceIndex,
long AStartAddress,
long AEndAddress,
bool APreserveUnwrittenData )
protectedpure virtual

◆ EraseFlash()

virtual int SCH::CAbstractFlashWriter::EraseFlash ( long AFlashMemorySpaceIndex)
protectedpure virtual

◆ EraseSectorRange()

virtual int SCH::CAbstractFlashWriter::EraseSectorRange ( long AFlashMemorySpaceIndex,
long AStartSector,
long AEndSector )
protectedpure virtual

◆ GetDefaultFlashWidth()

virtual int SCH::CAbstractFlashWriter::GetDefaultFlashWidth ( )
protectedpure virtual

◆ GetFlashAddressFromSector()

virtual long SCH::CAbstractFlashWriter::GetFlashAddressFromSector ( long AFlashMemorySpaceIndex,
long ASectorNumber )
protectedpure virtual

◆ GetFlashMemorySpaceCount()

virtual int SCH::CAbstractFlashWriter::GetFlashMemorySpaceCount ( )
protectedpure virtual

◆ GetFlashMemorySpaceDescriptor()

virtual void SCH::CAbstractFlashWriter::GetFlashMemorySpaceDescriptor ( long AFlashMemorySpaceIndex,
long * globalMemorySpaceIndex,
long * startAddress,
long * endAddress,
long * widthInBits )
protectedpure virtual

◆ GetFlashSectorFromAddress()

virtual long SCH::CAbstractFlashWriter::GetFlashSectorFromAddress ( long AFlashMemorySpaceIndex,
long AFlashAddress )
protectedpure virtual

◆ GetIFlashWriter()

IFlashWriter * SCH::CAbstractFlashWriter::GetIFlashWriter ( )
inline

◆ GetSupportedDevicesList()

virtual DXP::IStrings * SCH::CAbstractFlashWriter::GetSupportedDevicesList ( )
protectedpure virtual

◆ Invoke()

virtual HRESULT __stdcall SCH::CAbstractFlashWriter::Invoke ( DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS * pDispParams,
VARIANT * pVarResult,
EXCEPINFO * pExcepInfo,
UINT * puArgErr )
protectedvirtual

◆ IsFlashMemorySpace()

virtual bool SCH::CAbstractFlashWriter::IsFlashMemorySpace ( long AMemorySpaceIndex,
long AWriteAddress )
protectedpure virtual

◆ IsFlashWidthSupported()

virtual bool SCH::CAbstractFlashWriter::IsFlashWidthSupported ( int AFlashWidth)
protectedpure virtual

◆ SetCallbackInterface()

virtual int SCH::CAbstractFlashWriter::SetCallbackInterface ( IFlashWriterCallback * ACallBackInterface)
protectedpure virtual

◆ SupportsAction()

virtual bool SCH::CAbstractFlashWriter::SupportsAction ( long AnAction)
protectedpure virtual

◆ SupportsService()

virtual bool SCH::CAbstractFlashWriter::SupportsService ( std::wstring const AServiceName)
protectedvirtual

◆ WriteFlash()

virtual int SCH::CAbstractFlashWriter::WriteFlash ( long AFlashMemorySpaceIndex,
IDataChunkImageInterface * ADataImageInterface,
bool AEnableFilterFunction,
bool APreserveUnwrittenData,
bool AResetDevice,
bool AVerifyWrite )
protectedpure virtual

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