Horus Doc || IDL Reference || C++ Binding   Java Binding || Doxygen's quick Index  

HxCorbaVxSegmentation.idl

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 HxCorbaVxSegmentation_idl
00010 #define HxCorbaVxSegmentation_idl
00011 
00012 #include "HxCorbaTypes.idl"
00013 
00014 module HxCorba
00015 {
00016 
00018 struct VxTimeSpan { long start; long end; };
00019 
00021 typedef sequence<VxTimeSpan> VxTimeSpanSeq;
00022 
00023 
00025 interface VxSegment
00026 {
00027     long        start();
00028     long        end();
00029     long        length();
00030 
00031     StringSeq   getIds();
00032     StringSeq   getTypes();
00033 
00034     long        getInt(in string id);
00035     double      getDouble(in string id);
00036     string      getString(in string id);
00037 
00038     long        getIntFlag(in string id, out boolean present);
00039     double      getDoubleFlag(in string id, out boolean present);
00040     string      getStringFlag(in string id, out boolean present);
00041 
00042     //boolean     compareInt(in string id, in long i);
00043     //boolean     compareDouble(in string id, in double d);
00044     //boolean     compareString(in string id, in string s);
00045 };
00046 
00047 
00049 typedef sequence<VxSegment> VxSegmentSeq;
00050 
00051 
00053 interface VxSegmentation
00054 {
00055     long            size();
00056     VxSegmentSeq    getAll();
00057     VxTimeSpanSeq   getTimeSpans();
00058 
00059     StringSeq       getIds();
00060     StringSeq       getTypes();
00061 
00062     VxSegment       getSegment(in long index);
00063     VxSegment       mapsToSegment(in long timeSpan);
00064 
00065     //void          push_back(in VxSegment seg);
00066 };
00067 
00068 
00070 interface VxSegmentationFactory
00071 {
00072     VxSegmentation  makeVxSegmentation(in string filename);
00073     VxSegmentation  importSegmentation(in VxSegmentation seg);
00074 };
00075 
00076 }; // module HxCorba
00077     
00078 #endif //HxCorbaVxSegmentation_idl

Generated on Mon Jan 27 15:09:39 2003 for IDLReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001