18 #ifndef EQSEQUEL_APPLICATION_H
19 #define EQSEQUEL_APPLICATION_H
21 #include <co/objectFactory.h>
22 #include <seq/types.h>
23 #include <eq/client/client.h>
58 SEQ_API
virtual bool init(
const int argc,
char** argv,
59 co::Object* initData );
75 SEQ_API
virtual bool run( co::Object* frameData );
83 SEQ_API
virtual bool exit();
101 virtual bool clientInit( co::Object* initData ) {
return true; }
138 detail::Application* getImpl() {
return _impl; }
142 detail::Application* _impl;
145 #endif // EQSEQUEL_APPLICATION_H
virtual void destroyRenderer(Renderer *renderer)
Delete the given renderer.
The main application object.
A configuration is a visualization session driven by an application.
void stopRunning()
Request that the application leaves its run loop.
virtual bool init(const int argc, char **argv, co::Object *initData)
Initialize the application instance.
co::NodePtr getMasterNode()
virtual bool exit()
Exit this application instance.
virtual ViewData * createViewData()
Create a new per-view data instance.
virtual bool clientExit()
Exit a render client.
Application()
Construct a new application instance.
virtual bool run(co::Object *frameData)
Run the application main loop.
The client represents a network node of the application in the cluster.
virtual void destroyViewData(ViewData *viewData)
Delete the given view data.
virtual Renderer * createRenderer()=0
Create a new renderer instance.
virtual ~Application()
Destruct this application instance.
virtual bool clientInit(co::Object *initData)
Initialize a render client.