Layout Class Reference

#include <Layout.hpp>

Inheritance diagram for Layout:

Inheritance graph
[legend]
Collaboration diagram for Layout:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class is used to create new frames from an existing frame.

It is overloaded to partition the space in a frame in several different ways.

Definition at line 45 of file Layout.hpp.

Public Member Functions

 Layout (const Frame &frame)
 Constructor.
virtual int getFrameCount (void)
virtual Frame getFrame (int fnum)
virtual Frame getParentFrame (void)

Protected Attributes

Frame target
 The frame from which nre frames are created in this layout.


Constructor & Destructor Documentation

Layout const Frame frame  )  [inline]
 

Constructor.

Parameters:
frame Frame to create layout within

Definition at line 54 of file Layout.hpp.


Member Function Documentation

virtual Frame getFrame int  fnum  )  [inline, virtual]
 

Parameters:
fnum Frame index number
Returns:
The fnum-th frame

Reimplemented in BorderLayout, GridLayout, HLayout, and VLayout.

Definition at line 67 of file Layout.hpp.

virtual int getFrameCount void   )  [inline, virtual]
 

Returns:
Number of frames contained in this layout.

Reimplemented in BorderLayout, GridLayout, HLayout, and VLayout.

Definition at line 60 of file Layout.hpp.

virtual Frame getParentFrame void   )  [inline, virtual]
 

Returns:
The frame from which this layout was created.

Definition at line 74 of file Layout.hpp.


Member Data Documentation

Frame target [protected]
 

The frame from which nre frames are created in this layout.

Definition at line 80 of file Layout.hpp.


The documentation for this class was generated from the following file:
Generated on Sat May 18 03:31:33 2013 for GPS ToolKit Software Library by  doxygen 1.3.9.1