Guiliani  Version 2.5 revision 7293 (documentation build 13)
CGUISetDataPoolCmd Class Reference

This command can be used to execute specific code inside the application. More...

#include <GUISetDataPoolCmd.h>

Inheritance diagram for CGUISetDataPoolCmd:

Public Member Functions

 CGUISetDataPoolCmd ()
 Default constructor used by streaming factory.
 
 CGUISetDataPoolCmd (const DataPoolResource_t &eDataPoolID, const CGUIValue &kValue, const eC_UInt &uiX, const eC_UInt &uiY)
 
virtual void ReadFromStream ()
 
virtual void WriteToStream (const eC_Bool bWriteClassID=false)
 
- Public Member Functions inherited from CGUICommand
void AddAdditionalCmd (CGUICommandPtr pkCmd, eC_Bool bOneTime=false)
 
CGUICommandPtr GetAdditionalCmd (const eC_UInt &uiIndex) const
 
eC_UInt GetNumberOfAdditionalCmds () const
 
eC_UInt GetPriority () const
 
eC_UInt GetTimeUntilNextExecution () const
 
eC_Bool IsFinished () const
 
virtual void ReadFromStream ()
 
void RemoveAdditionalCmd (CGUICommandPtr pkCmd)
 
void RemoveAllAdditionalCmds ()
 Removes all additional commands from this command's list.
 
void SetPriority (eC_UInt uiPriority)
 
void SetTimeUntilNextExecution (eC_UInt uiTime)
 
virtual void WriteToStream (const eC_Bool bWriteClassID=false)
 
- Public Member Functions inherited from CGUIStreamableObject
const eC_String & GetXMLTag () const
 
virtual void ReadFromStream ()
 
void SetXMLTag (const eC_String &kXMLTag)
 
virtual void WriteToStream (const eC_Bool bWriteClassID=false)
 
- Public Member Functions inherited from NSmartPtr::RefCounted
 RefCounted ()
 Create RefCounted object. The reference count is initialized to 0.
 
virtual ~RefCounted ()
 Destroy reference counted object.
 
void AddRef ()
 Increase reference count.
 
eC_Int RefCount () const
 
void Release ()
 
bool Unique () const
 

Protected Member Functions

void Do ()
 Implements the actual command functionality. More...
 
- Protected Member Functions inherited from CGUICommand
 CGUICommand (const eC_UInt uiPriority=0, const eC_UInt uiTimeUntilFirstExecution=0, const eC_Bool bFinished=true)
 
virtual ~CGUICommand ()
 Destructor.
 
virtual void Do ()=0
 
void SetToBeFinished (eC_Bool bIsFinished)
 
- Protected Member Functions inherited from CGUIStreamableObject
eC_UInt ReadStreamingHeader (const eC_UInt &uiClassVersion, const eC_UInt &uiClassMinVersion=0) const
 
void WriteStreamingFooter (const eC_Bool &bWriteClassID) const
 
void WriteStreamingHeader (const eC_Bool &bWriteClassID, const eC_Char *const pkClassIDTag, const eC_Int &iClassID, const eC_UInt &uiClassVersion) const
 

Protected Attributes

DataPoolResource_t m_eDataPoolID
 id of datapool-resource
 
CGUIValue m_kValue
 value
 
eC_UInt m_uiX
 x-coordinate
 
eC_UInt m_uiY
 y-coordinate
 

Additional Inherited Members

- Static Public Attributes inherited from CGUICommand
static const eC_Char XMLTAG_ADDITIONALCMDCOUNT []
 XML tag to be used when writing the additional command count into a stream.
 
static const eC_Char XMLTAG_COMMANDCLASSID []
 XML tag to be used when writing the command class ID into a stream.
 
static const eC_Char XMLTAG_REMOVE_AFTER_EXECUTION []
 XML tag to be used when writing the remove after execution flag.
 
- Static Public Attributes inherited from CGUIStreamableObject
static const eC_Char XMLTAG_CLASSVERSION []
 

Detailed Description

This command can be used to execute specific code inside the application.

Constructor & Destructor Documentation

◆ CGUISetDataPoolCmd()

CGUISetDataPoolCmd::CGUISetDataPoolCmd ( const DataPoolResource_t eDataPoolID,
const CGUIValue kValue,
const eC_UInt &  uiX,
const eC_UInt &  uiY 
)

Constructor.

Parameters
eDataPoolIDid of datapool-resource
kValuevalue
uiXx-coordinate in two-dimensional array
uiYy-coordinate in two-dimensional array

Member Function Documentation

◆ Do()

void CGUISetDataPoolCmd::Do ( )
protectedvirtual

Implements the actual command functionality.

Implements CGUICommand.

◆ ReadFromStream()

virtual void CGUISetDataPoolCmd::ReadFromStream ( )
virtual

Reads all attributes from streaming file. This method is called by CGUIFactoryManager after one of the registered factories has created an instance of this class.

Reimplemented from CGUICommand.

◆ WriteToStream()

virtual void CGUISetDataPoolCmd::WriteToStream ( const eC_Bool  bWriteClassID = false)
virtual

Writes all attributes to the streaming file. A CGUIStreamWriter has to be initialized first.

Parameters
bWriteClassIDThis flag is used to select if writing of command class ID, leading and trailing tags is performed.

Reimplemented from CGUICommand.


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