This command can be used to switch to other resource-sets during runtime.
More...
#include <GUISwitchResourceSetsCmd.h>
|
static const eC_Char | XMLTAG_RESOURCESETNAME [] |
| resource-setname
|
|
static const eC_Char | XMLTAG_RESOURCETYPE [] |
| resource-type
|
|
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 const eC_Char | XMLTAG_CLASSVERSION [] |
|
|
virtual void | Do () |
|
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) |
|
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 |
|
This command can be used to switch to other resource-sets during runtime.
◆ CGUISwitchResourceSetsCmd()
CGUISwitchResourceSetsCmd::CGUISwitchResourceSetsCmd |
( |
const ResourceType_t |
eResourceType, |
|
|
const eC_String |
kResourceSetName |
|
) |
| |
Constructor
- Parameters
-
eResourceType | |
kResourceSetName | |
◆ Do()
virtual void CGUISwitchResourceSetsCmd::Do |
( |
| ) |
|
|
protectedvirtual |
Action of the command object. Must be implemented in the derived class.
Implements CGUICommand.
◆ ReadFromStream()
virtual void CGUISwitchResourceSetsCmd::ReadFromStream |
( |
| ) |
|
|
virtual |
◆ WriteToStream()
virtual void CGUISwitchResourceSetsCmd::WriteToStream |
( |
const eC_Bool |
bWriteClassID = false | ) |
|
|
virtual |
Writes attributes to the streaming file. A CGUIStreamWriter has to be initialized.
- Parameters
-
bWriteClassID | This flag is used to switch writing of the class ID, leading and trailing tags. When implementing a new streamable object, check this flag. If it is true, first write the class ID, then continue with this object's attributes, and finally call the base class implementation with this flag set to false (this is the default). |
Reimplemented from CGUICommand.
The documentation for this class was generated from the following file: