#include <XWindowsModule.h>
Inherits fsf::CNode.
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::CNode * | clone () const |
Cloning: necessary for run-time polymorphism. | |
Manipulators | |
CInterface & | operator= (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. |
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.
virtual fsf::CNode* xwindows::CInterface::clone | ( | ) | const [inline, virtual] |
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.