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>
55 SEQ_API
virtual bool init(
const int argc,
char** argv,
56 co::Object* initData );
72 SEQ_API
virtual bool run( co::Object* frameData );
80 SEQ_API
virtual bool exit();
98 virtual bool clientInit( co::Object* initData LB_UNUSED )
136 detail::Application* getImpl() {
return _impl; }
144 detail::Application* _impl;
147 #endif // EQSEQUEL_APPLICATION_H
virtual SEQ_API bool exit()
Exit this application instance.
SEQ_API void stopRunning()
Request that the application leaves its run loop.
virtual SEQ_API bool run(co::Object *frameData)
Run the application main loop.
A configuration is a visualization session driven by an application.
The main application object.
virtual SEQ_API ViewData * createViewData()
Create a new per-view data instance.
virtual Renderer * createRenderer()=0
Create a new renderer instance.
virtual bool clientExit()
Exit a render client.
SEQ_API Application()
Construct a new application instance.
virtual SEQ_API ~Application()
Destruct this application instance.
virtual bool clientInit(co::Object *initData 1)
Initialize a render client.
SEQ_API co::NodePtr getMasterNode()
virtual SEQ_API void destroyRenderer(Renderer *renderer)
Delete the given renderer.
The client represents a network node of the application in the cluster.
virtual SEQ_API bool init(const int argc, char **argv, co::Object *initData)
Initialize the application instance.
virtual SEQ_API void destroyViewData(ViewData *viewData)
Delete the given view data.