INOS
CTFTIncoMemory Class Reference

#include <cinossiotftexp.h>

Inheritance diagram for CTFTIncoMemory:

Public Member Functions

 CTFTIncoMemory (CINOSSioTftExpTab *apParent, XMLNode axVarNode)
 Constructor.
 
virtual ~CTFTIncoMemory ()
 Destructor.
 
virtual void GetValue (char *apBuf, uint32 auSize)
 Get string form of current value.
 
virtual void SetValue (char *apBuf)
 Set new value.
 
virtual uint32 GetCharacteristics ()
 Get characteristics of member.
 
virtual bool IsWritable (uint32 auUserLevel)
 Check if member is writable for editing with given level.
 
virtual const charFindName (const char *apLangName=NULL)
 Find member name according to given language.
 
void SetAdr (uint32 auAdr)
 Set memory address to show content of.
 
- Public Member Functions inherited from CTFTIncoMember
 CTFTIncoMember (CINOSSioTftExpTab *apParent, XMLNode axVarNode)
 Constructor.
 
virtual ~CTFTIncoMember ()
 Destructor.
 
virtual void GetValueLimited (char *apBuf, uint32 auSize)
 Get string form of current value.
 
virtual void GetUnit (char *apBuf, uint32 auSize)
 Get unit of member.
 
bool SetCharacteristics (uint32 auChar, ETFTCharCmd aeCmd)
 Change characteristics.
 
virtual void SelLanguage (const char *apLangName, const char *apLangFile, const char *apLangFileEnd)
 Set name according to selected language (or default).
 
virtual bool UpdateInco ()
 Update inco item pointer if member has one.
 
virtual bool RepaintNeeded ()
 Update member and check if anything requires a repaint.
 
virtual const charGetName ()
 Get current name of member (depends on selected language).
 
virtual void GetDefaultName (char *apBuf, uint32 auSize)
 Get default name independent of language.
 
virtual bool CanToggle ()
 Returns true if the member can be toggled.
 
virtual void Toggle ()
 Toggles the value of this member.
 
virtual uint16 GetCoordX ()
 
virtual uint16 GetCoordY ()
 
virtual void SetCoordY (uint16 auCoordY)
 
virtual uint16 GetSizeX ()
 
virtual uint16 GetSizeY ()
 
virtual bool HitTest (uint16 auCoordX, uint16 auCoordY)
 
virtual EBlockTextAlignment GetAlignment ()
 
uint8 GetForeColor ()
 
uint8 GetBackColor ()
 
void SetBackColor (uint8 auColor)
 
uint8 GetFrame ()
 
STFTFontInfoGetFont ()
 
void SetReadOnly ()
 
void SetWritable ()
 
uint8 GetKeyBoard () const
 

Protected Attributes

uintptr m_uAdr
 Memory address to display content of.
 
- Protected Attributes inherited from CTFTIncoMember
CINOSSioTftExpTabm_pParent
 
XMLNode m_xVarNode
 Config node for this member.
 
const charm_pName
 Pointer to current name (depending on language).
 
uint32 m_uType
 Type of member.
 
uint16 m_uColumns
 Column setting (value, unit) for this member.
 
uint16 m_uCoordX
 X coordinate of member (to check for touches).
 
uint16 m_uCoordY
 Y coordinate of member (to check for touches).
 
uint8 m_uHeight
 Height of this member.
 
uint16 m_uSizeX
 X size of member.
 
uint16 m_uSizeY
 Y size of member.
 
EBlockTextAlignment m_eAlign
 
uint8 m_uColFore
 
uint8 m_uColBack
 
uint8 m_uFrame
 
uint8 m_uKeyboard
 required keyboard
 
bool m_bReadOnly
 Flag indicating if the user is not allowed to change the member.
 
bool m_bUserReadOnly
 Flag indicating if the user is not allowed to change the member in this state.
 
STFTFontInfo m_Font
 Font for this member.
 

Detailed Description

Memory member, show some memory content.

Member Function Documentation

◆ FindName()

virtual const char * CTFTIncoMemory::FindName ( const char apLangName = NULL)
virtual

Find member name according to given language.

Parameters
apLangNameName of language to look for, NULL for default name.
Returns
Matching member name (or default).

Reimplemented from CTFTIncoMember.

◆ GetCharacteristics()

virtual uint32 CTFTIncoMemory::GetCharacteristics ( )
virtual

Get characteristics of member.

Returns
Member characteristics.

Reimplemented from CTFTIncoMember.

◆ GetValue()

virtual void CTFTIncoMemory::GetValue ( char apBuf,
uint32  auSize 
)
virtual

Get string form of current value.

Parameters
apBufBuffer to receive value string.
auSizeSize of string buffer.

Reimplemented from CTFTIncoMember.

◆ IsWritable()

virtual bool CTFTIncoMemory::IsWritable ( uint32  auUserLevel)
virtual

Check if member is writable for editing with given level.

Parameters
auUserLevelUser level to check against for writing.
Returns
True if member is writable for this user.

Reimplemented from CTFTIncoMember.

◆ SetAdr()

void CTFTIncoMemory::SetAdr ( uint32  auAdr)
inline

Set memory address to show content of.

Parameters
auAdrNew memory address.

◆ SetValue()

virtual void CTFTIncoMemory::SetValue ( char apBuf)
virtual

Set new value.

Parameters
Stringform of new value to set.

Reimplemented from CTFTIncoMember.


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