49 int main(
const int argc,
char** argv )
53 if( !
eq::init( argc, argv, &nodeFactory ))
55 LBERROR <<
"Equalizer init failed" << std::endl;
65 if( config->
init( eq::uint128_t( 0 )))
68 LBWARN <<
"Error during initialization: " << config->
getError()
72 eq::uint128_t spin( 0 );
90 LBERROR <<
"Cannot get config" << std::endl;
96 return error ? EXIT_FAILURE : EXIT_SUCCESS;
virtual eq::Window * createWindow(eq::Pipe *parent)
Create a new window.
A configuration is a visualization session driven by an application.
A channel represents a two-dimensional viewport within a Window.
eq::fabric::Error getError() const
virtual bool init(const uint128_t &initID)
Initialize this configuration.
A Window represents an on-screen or off-screen drawable.
virtual eq::Pipe * createPipe(eq::Node *parent)
Create a new pipe.
A Node represents a single computer in the cluster.
A Pipe represents a graphics card (GPU) on a Node.
virtual uint32_t startFrame(const uint128_t &frameID)
Request a new frame of rendering.
The node factory is a per-node singleton used to create and release Equalizer resource instances...
virtual uint32_t finishFrame()
Finish the rendering of a frame.
Config * getConfig(const int argc, char **argv)
Convenience function to retrieve a configuration.
bool init(const int argc, char **argv, NodeFactory *nodeFactory)
Initialize the Equalizer client library.
bool exit()
De-initialize the Equalizer client library.
virtual bool exit()
Exit this configuration.
void releaseConfig(Config *config)
Convenience function to release a configuration.
virtual eq::Channel * createChannel(eq::Window *parent)
Create a new channel.