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

VxStructureTiedSvt Class Reference

Tied object for VxStructure. More...

#include <VxStructureTiedSvt.h>

List of all members.

Public Types

typedef POA_HxCorba::VxStructure_tie<
VxStructureTiedSvt > 
TieT
typedef VxStructure HxT
typedef HxCorba::VxStructure CorbaT

Public Methods

 VxStructureTiedSvt (const VxStructure &obj)
virtual ~VxStructureTiedSvt ()
virtual HxCorba::StringSeqgetLevelNames ()
virtual CORBA::Boolean push (const char *level, HxCorba::VxSegmentation_ptr seg)
virtual CORBA::Boolean pushFromFile (const char *level, const char *filename)
virtual HxCorba::VxSegmentation_ptr get (const char *levelId)
virtual HxCorba::VxSegmentation_ptr getFromInterval (const char *levelId, const HxCorba::VxTimeSpan &timeSpan, CORBA::Boolean complete)
virtual HxCorba::VxSegment_ptr getSegment (const char *levelId, CORBA::Long index)
virtual HxCorba::VxSegmentation_ptr getWhereInt (const char *levelId, const char *strType, CORBA::Long val)
virtual HxCorba::VxSegmentation_ptr getWhereString (const char *levelId, const char *strType, const char *val)
virtual HxCorba::VxSegmentation_ptr getShots ()
virtual HxCorba::VxSegmentation_ptr getEffects ()
virtual CORBA::Long mapsToIndex (const char *levelId, const HxCorba::VxTimeSpan &timeSpan)
virtual CORBA::Long mapsToIndexInt (const char *levelId, CORBA::Long timeSpan)
virtual HxCorba::VxSegment_ptr mapsToSegment (const char *levelId, CORBA::Long timeSpan)
virtual HxCorba::LongSeqgetSegmentBoundaries (const char *levelId, const HxCorba::VxTimeSpan &timeSpan)
virtual HxCorba::VxStructureEval compare (const char *levelId, HxCorba::VxSegmentation_ptr foundTruth)


Detailed Description

Tied object for VxStructure.


Member Typedef Documentation

typedef POA_HxCorba::VxStructure_tie<VxStructureTiedSvt> VxStructureTiedSvt::TieT
 

typedef VxStructure VxStructureTiedSvt::HxT
 

typedef HxCorba::VxStructure VxStructureTiedSvt::CorbaT
 


Constructor & Destructor Documentation

VxStructureTiedSvt::VxStructureTiedSvt const VxStructure &    obj
 

00018     : VxStructure(obj)
00019 {
00020 }

VxStructureTiedSvt::~VxStructureTiedSvt   [virtual]
 

00023 {
00024 }


Member Function Documentation

HxCorba::StringSeq * VxStructureTiedSvt::getLevelNames   [virtual]
 

00100 {
00101     std::list<HxString> list = VxStructure::getLevelNames();
00102     return HxMakeStringList<HxCorba::StringSeq, std::list<HxString> >(list);
00103 }

CORBA::Boolean VxStructureTiedSvt::push const char *    level,
HxCorba::VxSegmentation_ptr    seg
[virtual]
 

00028 {
00029     if(VxStructure::exist(level)) return false;
00030 
00031     VxSegmentList empty;
00032     VxSegmentList& list = HxGetTiedObject<VxSegmentationTiedSvt>(seg, empty);
00033     if(&empty != &list) //segmentation from this server
00034         VxStructure::push(level, list);
00035 
00036     return true;
00037 }

CORBA::Boolean VxStructureTiedSvt::pushFromFile const char *    level,
const char *    filename
[virtual]
 

00041 {
00042     return VxStructure::push(level, filename);
00043 }

HxCorba::VxSegmentation_ptr VxStructureTiedSvt::get const char *    levelId [virtual]
 

00047 {
00048     VxSegmentList list = VxStructure::get(levelId);
00049     return HxRegisterTiedServant<VxSegmentationTiedSvt>(list);
00050 }

HxCorba::VxSegmentation_ptr VxStructureTiedSvt::getFromInterval const char *    levelId,
const HxCorba::VxTimeSpan   timeSpan,
CORBA::Boolean    complete
[virtual]
 

00055 {
00056     VxSegment seg = VxSegment(timeSpan.start, timeSpan.end);
00057     VxSegmentList list = VxStructure::get(levelId, seg, complete);
00058     return HxRegisterTiedServant<VxSegmentationTiedSvt>(list);
00059 }

HxCorba::VxSegment_ptr VxStructureTiedSvt::getSegment const char *    levelId,
CORBA::Long    index
[virtual]
 

00063 {
00064     VxSegment seg = VxStructure::getSegment(levelId, index);
00065     return HxRegisterTiedServant<VxSegmentTiedSvt>(seg);
00066 }

HxCorba::VxSegmentation_ptr VxStructureTiedSvt::getWhereInt const char *    levelId,
const char *    strType,
CORBA::Long    val
[virtual]
 

00071 {
00072     VxSegmentList list = VxStructure::getWhere(levelId, strType, val);
00073     return HxRegisterTiedServant<VxSegmentationTiedSvt>(list);
00074 }

HxCorba::VxSegmentation_ptr VxStructureTiedSvt::getWhereString const char *    levelId,
const char *    strType,
const char *    val
[virtual]
 

00079 {
00080     VxSegmentList list = VxStructure::getWhere(levelId, strType, val);
00081     return HxRegisterTiedServant<VxSegmentationTiedSvt>(list);
00082 }

HxCorba::VxSegmentation_ptr VxStructureTiedSvt::getShots   [virtual]
 

00086 {
00087     VxSegmentList list = VxStructure::getShots();
00088     return HxRegisterTiedServant<VxSegmentationTiedSvt>(list);
00089 }

HxCorba::VxSegmentation_ptr VxStructureTiedSvt::getEffects   [virtual]
 

00093 {
00094     VxSegmentList list = VxStructure::getEffects();
00095     return HxRegisterTiedServant<VxSegmentationTiedSvt>(list);
00096 }

CORBA::Long VxStructureTiedSvt::mapsToIndex const char *    levelId,
const HxCorba::VxTimeSpan   timeSpan
[virtual]
 

00115 {
00116     VxSegment seg = VxSegment(timeSpan.start, timeSpan.end);
00117     return VxStructure::mapsToIndex(levelId, seg);
00118 }

CORBA::Long VxStructureTiedSvt::mapsToIndexInt const char *    levelId,
CORBA::Long    timeSpan
[virtual]
 

00108 {
00109     return VxStructure::mapsToIndex(levelId, timeSpan);
00110 }

HxCorba::VxSegment_ptr VxStructureTiedSvt::mapsToSegment const char *    levelId,
CORBA::Long    timeSpan
[virtual]
 

00123 {
00124     VxSegment seg = VxStructure::mapsToSegment(levelId, timeSpan);
00125     return HxRegisterTiedServant<VxSegmentTiedSvt>(seg);
00126 }

HxCorba::LongSeq * VxStructureTiedSvt::getSegmentBoundaries const char *    levelId,
const HxCorba::VxTimeSpan   timeSpan
[virtual]
 

00131 {
00132     VxSegment seg = VxSegment(timeSpan.start, timeSpan.end);
00133     std::list<int> list = VxStructure::getSegmentBoundaries(levelId, seg);
00134     return HxMakeBasicList<HxCorba::LongSeq, std::list<int> >(list);
00135 }

HxCorba::VxStructureEval VxStructureTiedSvt::compare const char *    levelId,
HxCorba::VxSegmentation_ptr    foundTruth
[virtual]
 

00140 {
00141     VxSegmentList list = HxGetTiedObject<VxSegmentationTiedSvt>(foundTruth);
00142 
00143     VxStructureEval e = VxStructure::compare(levelId, list);
00144     HxCorba::VxStructureEval result = {e.correct, e.missed, e.falseAlarm};
00145     return result;
00146 }


The documentation for this class was generated from the following files:
Generated on Mon Jan 27 15:20:56 2003 for CorbaReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001