30 #ifdef EQUALIZER_USE_QT4
31 # include <QApplication>
63 int main(
int argc,
char** argv )
71 initData.parseArguments( argc, argv );
73 #ifdef EQUALIZER_USE_QT4
74 QApplication* app = 0;
75 if( initData.getWindowSystem() ==
"Qt" )
80 app =
new QApplication( argc, argv );
84 if( !
eq::init( argc, argv, &nodeFactory ))
86 LBERROR <<
"Equalizer init failed" << std::endl;
92 lunchbox::RefPtr< eqPly::EqPly > client =
new eqPly::EqPly( initData );
93 if( !client->initLocal( argc, argv ))
95 LBERROR <<
"Can't init client" << std::endl;
101 const int ret = client->run();
106 LBASSERTINFO( client->getRefCount() == 1, client );
109 #ifdef EQUALIZER_USE_QT4
A channel represents a two-dimensional viewport within a Window.
The representation of one GPU.
A configuration is a visualization session driven by an application.
virtual eq::View * createView(eq::Layout *parent)
Create a new view.
A Pipe represents a graphics card (GPU) on a Node.
A Node represents a single computer in the cluster.
The rendering entity, updating a part of a Window.
lunchbox::RefPtr< Server > ServerPtr
A reference-counted pointer to an eq::Server.
A Window represents an on-screen or off-screen drawable.
virtual eq::Channel * createChannel(eq::Window *parent)
Create a new channel.
virtual eq::Window * createWindow(eq::Pipe *parent)
Create a new window.
bool init(const int argc, char **argv, NodeFactory *nodeFactory)
Initialize the Equalizer client library.
A layout groups one or more View, logically belonging together.
A View is a 2D area of a Layout.
void exitErrors()
Clear eqPly-specific error codes.
A window represent an OpenGL drawable and context.
void initErrors()
Set up eqPly-specific error codes.
Representation of a node in the cluster.
Manages the argument parsing and non-distributed part of the initialization data. ...
The EqPly application instance.
EQ_API bool exit()
De-initialize the Equalizer client library.
The configuration, run be the EqPly application.
virtual eq::Node * createNode(eq::Config *parent)
Create a new node.
virtual eq::Pipe * createPipe(eq::Node *parent)
Create a new pipe.
The node factory is a per-node singleton used to create and release Equalizer resource instances...
virtual eq::Config * createConfig(eq::ServerPtr parent)
Create a new config.