55 int main(
const int argc,
char** argv )
61 if( !
eq::init( argc, argv, &nodeFactory ))
63 LBERROR <<
"Equalizer init failed" << std::endl;
71 initData.parseArguments( argc, argv );
74 lunchbox::RefPtr< eVolve::EVolve > client =
new eVolve::EVolve( initData );
75 if( !client->initLocal( argc, argv ))
77 LBERROR <<
"Can't init client" << std::endl;
84 const int ret = client->run();
89 LBASSERTINFO( client->getRefCount() == 1,
"Client still referenced by " <<
90 client->getRefCount() - 1 );
A channel represents a two-dimensional viewport within a Window.
A configuration is a visualization session driven by an application.
A Pipe represents a graphics card (GPU) on a Node.
A Node represents a single computer in the cluster.
void exitErrors()
Clear eVolve-specific error codes.
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.
void initErrors()
Set up eVolve-specific error codes.
EQ_API bool exit()
De-initialize the Equalizer client library.
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.