xwindows::CInterface Class Reference
[Nodes]

A specialized interface node to create and interact with an XWindows window. More...

#include <XWindowsModule.h>

Inherits fsf::CNode.

Collaboration diagram for xwindows::CInterface:

Collaboration graph
[legend]

List of all members.

Public Member Functions

Creators
 CInterface ()
 Default constructor.
 CInterface (fsf::CNode *pParent, fsf::Time tTime=0)
 2-parameter constructor: parent and time stamp
 CInterface (const std::string &strName, fsf::CNode *pParent=NULL, fsf::Time tTime=0)
 3-parameter constructor: node name, parent and time stamp
 CInterface (const string &strWindowTitle, long nWidth, long nHeight, fsf::CNode *pParent=NULL, fsf::Time tTime=0)
 5-parameter initialization constructor: window title, width and height, node parent and time stamp
 CInterface (const string &strName, const string &strWindowTitle, long nWidth, long nHeight, fsf::CNode *pParent=NULL, fsf::Time tTime=0)
 6-parameter initialization constructor: node name, window title, width and height, node parent and time stamp
 CInterface (const CInterface &)
 Copy constructor.
virtual fsf::CNodeclone () const
 Cloning: necessary for run-time polymorphism.
Manipulators
CInterfaceoperator= (const CInterface &)
 Assignment operator.
void setSize (int nWidth, int nHeight)
 Sets the window width and height.
void setTitle (std::string strTitle)
 Sets the window's title string.
bool drawImage (image::CImage *pImage)
 Displays image data in this window.
Accessors
virtual void getTypeID (string &str) const
XWindowsInterface management thread
void startInterface ()
 Starts event loop for this window.


Detailed Description

A specialized interface node to create and interact with an XWindows window.


Constructor & Destructor Documentation

CInterface::CInterface (  ) 

Default constructor.

CInterface::CInterface ( fsf::CNode pParent,
fsf::Time  tTime = 0 
)

2-parameter constructor: parent and time stamp

xwindows::CInterface::CInterface ( const std::string &  strName,
fsf::CNode pParent = NULL,
fsf::Time  tTime = 0 
)

3-parameter constructor: node name, parent and time stamp

CInterface::CInterface ( const string &  strWindowTitle,
long  nWidth,
long  nHeight,
fsf::CNode pParent = NULL,
fsf::Time  tTime = 0 
)

5-parameter initialization constructor: window title, width and height, node parent and time stamp

CInterface::CInterface ( const string &  strName,
const string &  strWindowTitle,
long  nWidth,
long  nHeight,
fsf::CNode pParent = NULL,
fsf::Time  tTime = 0 
)

6-parameter initialization constructor: node name, window title, width and height, node parent and time stamp

CInterface::CInterface ( const CInterface rhs  ) 

Copy constructor.


Member Function Documentation

virtual fsf::CNode* xwindows::CInterface::clone (  )  const [inline, virtual]

Cloning: necessary for run-time polymorphism.

Reimplemented from fsf::CNode.

bool CInterface::drawImage ( image::CImage pImage  ) 

Displays image data in this window.

virtual void xwindows::CInterface::getTypeID ( string &  str  )  const [inline, virtual]

CInterface & CInterface::operator= ( const CInterface rhs  ) 

Assignment operator.

void xwindows::CInterface::setSize ( int  nWidth,
int  nHeight 
) [inline]

Sets the window width and height.

void xwindows::CInterface::setTitle ( std::string  strTitle  )  [inline]

Sets the window's title string.

void CInterface::startInterface (  ) 

Starts event loop for this window.


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

Generated on Thu Oct 21 12:39:20 2010 for MFSM Modules by  doxygen 1.5.9