Horus Doc || Corba Reference || Corba   Client Server   Stubs C++   Stubs Java   Servant Generator  

HxImageSeqDisplayer.h

Go to the documentation of this file.
00001 /*
00002  *  Copyright (c) 2001, University of Amsterdam, The Netherlands.
00003  *  All rights reserved.
00004  *
00005  *  Author(s):
00006  *  Marc Navarro            (mnavarro@wins.uva.nl)
00007  */
00008 
00009 #ifndef HxImageSeqDisplayer_h
00010 #define HxImageSeqDisplayer_h
00011 
00012 #include <OB/CORBA.h>
00013 #include "HxCorbaImageSeq_skel.h"
00014 #include "HxImageSeq.h"
00015 
00016 
00018 class HxImageSeqDisplayer : public POA_HxCorba::ImageSeqDisplayer, 
00019                             public PortableServer::RefCountServantBase 
00020 {
00021 public:
00022                                 HxImageSeqDisplayer(const HxImageSeq& seq);
00023                                 ~HxImageSeqDisplayer();
00024 
00025     virtual HxCorba::RgbSeq*    getRgb2d(CORBA::Long frameNr)
00026                                         throw(CORBA::SystemException);
00027     virtual void                fillRgb2d(CORBA::Long frameNr,
00028                                     HxCorba::RgbBuffer_ptr buf)
00029                                         throw(CORBA::SystemException);
00030 
00031     virtual CORBA::Long         nrFrames()
00032                                         throw(CORBA::SystemException);
00033     virtual void                setDisplayMode(const char* displayMode)
00034                                         throw(CORBA::SystemException);
00035     virtual char*               getDisplayMode()
00036                                         throw(CORBA::SystemException);
00037     virtual void                setSize(const HxCorba::Sizes& newSize)
00038                                         throw(CORBA::SystemException);
00039     virtual HxCorba::Sizes      getSizes()
00040                                         throw(CORBA::SystemException);
00041     virtual HxCorba::Sizes      getOriginalSizes()
00042                                         throw(CORBA::SystemException);
00043 
00044     virtual void                close()
00045                                         throw(CORBA::SystemException);
00046 
00047 private:
00048 
00049     HxImageSeq                  _seq;
00050     HxString                    _displayMode;
00051     int                         _resWidth;
00052     int                         _resHeight;
00053     int                         _nPixels;
00054     CORBA::Long*                _data;
00055 };
00056 
00057 #endif

Generated on Tue Feb 3 14:20:11 2004 for CorbaReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001