ALBA
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
mmaApplicationLayout Class Reference

#include <mmaApplicationLayout.h>

Inheritance diagram for mmaApplicationLayout:
Inheritance graph
[legend]
Collaboration diagram for mmaApplicationLayout:
Collaboration graph
[legend]

Public Member Functions

 mmaApplicationLayout ()
 
virtual ~mmaApplicationLayout ()
 
 albaTypeMacro (mmaApplicationLayout, albaAttribute)
 
virtual void DeepCopy (const albaAttribute *a)
 
virtual bool Equals (const albaAttribute *a)
 
void SetApplicationInfo (int maximized, int pos[2], int size[2])
 
void GetApplicationInfo (int &maximized, int pos[2], int size[2])
 
void SetInterfaceElementVisibility (albaString panel_name, int visibility)
 
int GetToolBarVisibility ()
 
int GetLogBarVisibility ()
 
int GetSideBarVisibility ()
 
void SetVMEChooserInfo (int pos[2], int size[2])
 
void GetVMEChooserInfo (int pos[2], int size[2])
 
- Public Member Functions inherited from albaAttribute
 albaAbstractTypeMacro (albaAttribute, albaReferenceCounted)
 
void operator= (const albaAttribute &a)
 
bool operator== (const albaAttribute &a) const
 
virtual void DeepCopy (const albaAttribute *a)
 
albaAttributeMakeCopy ()
 
bool Equals (const albaAttribute *a) const
 
void SetName (const char *name)
 
const char * GetName () const
 
albaObjectNewObjectInstance () const
 
albaAttributeNewInstance () const
 
virtual void Print (std::ostream &os, const int tabs=0) const
 
- Public Member Functions inherited from albaReferenceCounted
 albaReferenceCounted ()
 
virtual ~albaReferenceCounted ()
 
 albaAbstractTypeMacro (albaReferenceCounted, albaObject)
 
virtual void Delete ()
 
void Register (void *obj)
 
virtual void UnRegister (void *obj)
 
int GetReferenceCount ()
 
void SetReferenceCount (int)
 
- Public Member Functions inherited from albaObject
 albaObject ()
 
virtual ~albaObject ()
 
virtual void Delete ()
 
virtual const char * GetTypeName () const
 
virtual bool IsA (const char *type_name) const
 
virtual bool IsA (const albaTypeID &type_id) const
 
virtual albaObjectNewObjectInstance () const =0
 
virtual const albaTypeIDGetTypeId () const
 
virtual void Print (std::ostream &os, const int indent=0) const
 
 albaObject (const albaObject &c)
 
- Public Member Functions inherited from albaStorable
 albaStorable ()
 
int Store (albaStorageElement *element)
 
int Restore (albaStorageElement *element)
 
albaObjectCastToObject ()
 
bool IsStorable ()
 

Protected Member Functions

virtual int InternalStore (albaStorageElement *parent)
 
virtual int InternalRestore (albaStorageElement *node)
 
virtual int InternalStore (albaStorageElement *parent)
 
virtual int InternalRestore (albaStorageElement *node)
 
virtual int InternalStore (albaStorageElement *node)=0
 
virtual int InternalRestore (albaStorageElement *node)=0
 

Protected Attributes

int m_AppMaximized
 
int m_AppPosition [2]
 
int m_AppSize [2]
 
int m_SideBarVisibility
 
int m_ToolBarVisibility
 
int m_LogBarVisibility
 
int m_VMEChooserPosition [2]
 
int m_VMEChooserSize [2]
 
- Protected Attributes inherited from albaAttribute
albaString m_Name
 
- Protected Attributes inherited from albaReferenceCounted
int m_ReferenceCount
 
- Protected Attributes inherited from albaObject
bool m_HeapFlag
 
- Protected Attributes inherited from albaStorable
bool m_Storable
 

Additional Inherited Members

- Static Public Member Functions inherited from albaObject
static const char * GetStaticTypeName ()
 
static bool IsStaticType (const char *type_name)
 
static bool IsStaticType (const albaTypeID &type_id)
 
static const albaTypeIDGetStaticTypeId ()
 
static albaObjectSafeDownCast (albaObject *o)
 
- Static Public Member Functions inherited from albaStorable
static albaStorableSafeCastToObject (albaObject *o)
 

Detailed Description

Definition at line 30 of file mmaApplicationLayout.h.

Constructor & Destructor Documentation

◆ mmaApplicationLayout()

mmaApplicationLayout::mmaApplicationLayout ( )

◆ ~mmaApplicationLayout()

virtual mmaApplicationLayout::~mmaApplicationLayout ( )
virtual

Member Function Documentation

◆ albaTypeMacro()

mmaApplicationLayout::albaTypeMacro ( mmaApplicationLayout  ,
albaAttribute   
)

◆ DeepCopy()

virtual void mmaApplicationLayout::DeepCopy ( const albaAttribute a)
virtual

Copy the contents of another Meter attribute into this one.

Reimplemented from albaAttribute.

◆ Equals()

virtual bool mmaApplicationLayout::Equals ( const albaAttribute a)
virtual

Compare with another Meter attribute.

◆ SetApplicationInfo()

void mmaApplicationLayout::SetApplicationInfo ( int  maximized,
int  pos[2],
int  size[2] 
)

Set a informations regarding the application dimension, position and maximize state.

◆ GetApplicationInfo()

void mmaApplicationLayout::GetApplicationInfo ( int &  maximized,
int  pos[2],
int  size[2] 
)

Retrieve the stored frame settings.

◆ SetInterfaceElementVisibility()

void mmaApplicationLayout::SetInterfaceElementVisibility ( albaString  panel_name,
int  visibility 
)

Set the visibility for the corresponding interface element.

◆ GetToolBarVisibility()

int mmaApplicationLayout::GetToolBarVisibility ( )
inline

Return the stored visibility for the Toolbar.

Definition at line 55 of file mmaApplicationLayout.h.

◆ GetLogBarVisibility()

int mmaApplicationLayout::GetLogBarVisibility ( )
inline

Return the stored visibility for the Logbar.

Definition at line 58 of file mmaApplicationLayout.h.

◆ GetSideBarVisibility()

int mmaApplicationLayout::GetSideBarVisibility ( )
inline

Return the stored visibility for the Sidebar.

Definition at line 61 of file mmaApplicationLayout.h.

◆ SetVMEChooserInfo()

void mmaApplicationLayout::SetVMEChooserInfo ( int  pos[2],
int  size[2] 
)

Set a informations regarding the VMEChooser dimension, position.

◆ GetVMEChooserInfo()

void mmaApplicationLayout::GetVMEChooserInfo ( int  pos[2],
int  size[2] 
)

Retrieve the stored frame settings.

◆ InternalStore()

virtual int mmaApplicationLayout::InternalStore ( albaStorageElement node)
protectedvirtual

This is called by Store() and must be reimplemented by subclasses.

The node element where the object should store itself is passed as argument.

Reimplemented from albaAttribute.

◆ InternalRestore()

virtual int mmaApplicationLayout::InternalRestore ( albaStorageElement node)
protectedvirtual

This is called by Restore() and must be reimplemented by subclasses The element from which the object should restore itself is passed as argument.

Reimplemented from albaAttribute.

Member Data Documentation

◆ m_AppMaximized

int mmaApplicationLayout::m_AppMaximized
protected

Definition at line 73 of file mmaApplicationLayout.h.

◆ m_AppPosition

int mmaApplicationLayout::m_AppPosition[2]
protected

Definition at line 74 of file mmaApplicationLayout.h.

◆ m_AppSize

int mmaApplicationLayout::m_AppSize[2]
protected

Definition at line 75 of file mmaApplicationLayout.h.

◆ m_SideBarVisibility

int mmaApplicationLayout::m_SideBarVisibility
protected

Definition at line 77 of file mmaApplicationLayout.h.

◆ m_ToolBarVisibility

int mmaApplicationLayout::m_ToolBarVisibility
protected

Definition at line 78 of file mmaApplicationLayout.h.

◆ m_LogBarVisibility

int mmaApplicationLayout::m_LogBarVisibility
protected

Definition at line 79 of file mmaApplicationLayout.h.

◆ m_VMEChooserPosition

int mmaApplicationLayout::m_VMEChooserPosition[2]
protected

Definition at line 81 of file mmaApplicationLayout.h.

◆ m_VMEChooserSize

int mmaApplicationLayout::m_VMEChooserSize[2]
protected

Definition at line 82 of file mmaApplicationLayout.h.


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