Fission FSN
Loading...
Searching...
No Matches
fsIGuiComponent Class Reference

#include <fsIGuiComponent.h>

Inheritance diagram for fsIGuiComponent:

Public Member Functions

template<typename TComponent>
TComponent * siblingEntityComponentGet () const
template<typename TComponent>
TComponent * siblingEntityFamilyComponentGet () const
void listenerComponentsRegister (fsCEntity *const pRoot) const
void listenerComponentsDeRegister (fsCEntity *const pRoot) const
virtual fsBool onButtonClicked (fsCButtonComponent *pButtonComp)
Public Member Functions inherited from fsIComponent
template<typename TInterface>
std::vector< fsCEntity * > appSceneEntitiesWithComponentOfFamilyType () const
template<typename TInterface>
fsCEntityappSceneFirstEntityWithComponentOfFamilyType () const
fsCEntityappSceneEntityNamed (const fsStr &pName) const
void reset ()
void update (fsS32 pDeltaMs)
void render ()
void matrixApply ()
void postLoad ()
void deserialise ()
void serialise ()
void initialiseFromVariableTable (const fsCVariableTable &pVars)
void initialise ()
void finalise ()
fsCEntityparentGet () const
fsCEntitygrandparentGet () const

Static Public Member Functions

static void flush ()
static fsCEntityguiCreateFromCommands (fsStr &pCommands, fsCEntity *pParent=nullptr, fsBool pModal=true, fsBool pNewGrammarMode=false)
static fsCEntityguiCreateFromFile (const fsCResourceName &pGuiLayoutFileName, fsCEntity *pParent=nullptr, fsBool pModal=true)
static fsCGuiParseTree parseToTree (fsStr &pCommands, fsBool pNewGrammarMode=false)
static fsCEntityconstructFromTree (const fsCGuiParseTree &pTree, fsCEntity *pParent=nullptr, fsBool pModal=true)
static fsBool newGrammarFileNameResolve (const fsStr &pLegacyFileName, fsStr &pOutResolvedFileName)
static fsIGuiComponentguiParentGetFromComponent (const fsIComponent *pComponent)
static fsBool entityHasGuiComponentGet (const fsINode *pNode)

Protected Member Functions

void layoutFileProcess ()
void initialiseFromVariableTableDo (const fsCVariableTable &pVars) override
 fsIGuiComponent (fsCEntity *pParent)
virtual ~fsIGuiComponent ()
Protected Member Functions inherited from fsIComponent
virtual void resetDo ()
virtual void updateDo (fsS32 pDeltaMs)
virtual void renderDo ()
virtual void matrixApplyDo ()
virtual void postLoadDo ()
virtual void deserialiseDo ()
virtual void serialiseDo ()
virtual void initialiseDo ()
virtual void finaliseDo ()
virtual ~fsIComponent ()
 fsIComponent (fsCEntity *pParent)

Constructor & Destructor Documentation

◆ fsIGuiComponent()

fsIGuiComponent::fsIGuiComponent ( fsCEntity * pParent)
protected

◆ ~fsIGuiComponent()

fsIGuiComponent::~fsIGuiComponent ( )
protectedvirtual

Member Function Documentation

◆ constructFromTree()

fsCEntity * fsIGuiComponent::constructFromTree ( const fsCGuiParseTree & pTree,
fsCEntity * pParent = nullptr,
fsBool pModal = true )
static

◆ entityHasGuiComponentGet()

fsBool fsIGuiComponent::entityHasGuiComponentGet ( const fsINode * pNode)
static

◆ flush()

void fsIGuiComponent::flush ( )
static

◆ guiCreateFromCommands()

fsCEntity * fsIGuiComponent::guiCreateFromCommands ( fsStr & pCommands,
fsCEntity * pParent = nullptr,
fsBool pModal = true,
fsBool pNewGrammarMode = false )
static

◆ guiCreateFromFile()

fsCEntity * fsIGuiComponent::guiCreateFromFile ( const fsCResourceName & pGuiLayoutFileName,
fsCEntity * pParent = nullptr,
fsBool pModal = true )
static

◆ guiParentGetFromComponent()

fsIGuiComponent * fsIGuiComponent::guiParentGetFromComponent ( const fsIComponent * pComponent)
static

◆ initialiseFromVariableTableDo()

◆ layoutFileProcess()

void fsIGuiComponent::layoutFileProcess ( )
protected

◆ listenerComponentsDeRegister()

void fsIGuiComponent::listenerComponentsDeRegister ( fsCEntity *const pRoot) const

◆ listenerComponentsRegister()

void fsIGuiComponent::listenerComponentsRegister ( fsCEntity *const pRoot) const

◆ newGrammarFileNameResolve()

fsBool fsIGuiComponent::newGrammarFileNameResolve ( const fsStr & pLegacyFileName,
fsStr & pOutResolvedFileName )
static

◆ onButtonClicked()

◆ parseToTree()

fsCGuiParseTree fsIGuiComponent::parseToTree ( fsStr & pCommands,
fsBool pNewGrammarMode = false )
static

◆ siblingEntityComponentGet()

template<typename TComponent>
TComponent * fsIGuiComponent::siblingEntityComponentGet ( ) const

◆ siblingEntityFamilyComponentGet()

template<typename TComponent>
TComponent * fsIGuiComponent::siblingEntityFamilyComponentGet ( ) const

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