19 #ifndef EQSEQUEL_APPLICATION_H 20 #define EQSEQUEL_APPLICATION_H 22 #include <co/objectFactory.h> 23 #include <seq/types.h> 24 #include <eq/client.h> 56 SEQ_API
virtual bool init(
int argc,
char** argv, 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 )
137 detail::Application* getImpl() {
return _impl; }
151 SEQ_API
bool registerObject( co::Object*
object,
const uint32_t type );
161 SEQ_API
bool deregister( co::Object*
object );
169 detail::Application* _impl;
172 #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.
virtual bool clientInit(co::Object *initData)
Initialize a render client.
The main application object.
virtual SEQ_API ViewData * createViewData(View &view)
Create a new per-view data instance.
virtual SEQ_API bool init(int argc, char **argv, co::Object *initData)
Initialize the application instance.
virtual Renderer * createRenderer()=0
Create a new renderer instance.
SEQ_API bool registerObject(co::Object *object, const uint32_t type)
Add and register a new object as master instance.
SEQ_API bool deregister(co::Object *object)
Remove and deregister an object.
virtual bool clientExit()
Exit a render client.
SEQ_API Application()
Construct a new application instance.
A View is a 2D area of a Layout.
virtual SEQ_API ~Application()
Destruct this application instance.
SEQ_API co::NodePtr getMasterNode()
virtual SEQ_API void destroyRenderer(Renderer *renderer)
Delete the given renderer.
Sequel - A simple interface to the Equalizer parallel rendering framework.
The client represents a network node of the application in the cluster.
virtual SEQ_API void destroyViewData(ViewData *viewData)
Delete the given view data.