#include <VxStructureTiedSvt.h>
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::StringSeq * | getLevelNames () |
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::LongSeq * | getSegmentBoundaries (const char *levelId, const HxCorba::VxTimeSpan &timeSpan) |
virtual HxCorba::VxStructureEval | compare (const char *levelId, HxCorba::VxSegmentation_ptr foundTruth) |
|
|
|
|
|
|
|
00018 : VxStructure(obj) 00019 { 00020 } |
|
00023 { 00024 } |
|
00100 { 00101 std::list<HxString> list = VxStructure::getLevelNames(); 00102 return HxMakeStringList<HxCorba::StringSeq, std::list<HxString> >(list); 00103 } |
|
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 } |
|
00041 { 00042 return VxStructure::push(level, filename); 00043 } |
|
00047 { 00048 VxSegmentList list = VxStructure::get(levelId); 00049 return HxRegisterTiedServant<VxSegmentationTiedSvt>(list); 00050 } |
|
|
|
00063 { 00064 VxSegment seg = VxStructure::getSegment(levelId, index); 00065 return HxRegisterTiedServant<VxSegmentTiedSvt>(seg); 00066 } |
|
00071 { 00072 VxSegmentList list = VxStructure::getWhere(levelId, strType, val); 00073 return HxRegisterTiedServant<VxSegmentationTiedSvt>(list); 00074 } |
|
00079 { 00080 VxSegmentList list = VxStructure::getWhere(levelId, strType, val); 00081 return HxRegisterTiedServant<VxSegmentationTiedSvt>(list); 00082 } |
|
00086 { 00087 VxSegmentList list = VxStructure::getShots(); 00088 return HxRegisterTiedServant<VxSegmentationTiedSvt>(list); 00089 } |
|
00093 { 00094 VxSegmentList list = VxStructure::getEffects(); 00095 return HxRegisterTiedServant<VxSegmentationTiedSvt>(list); 00096 } |
|
|
|
00108 { 00109 return VxStructure::mapsToIndex(levelId, timeSpan); 00110 } |
|
00123 { 00124 VxSegment seg = VxStructure::mapsToSegment(levelId, timeSpan); 00125 return HxRegisterTiedServant<VxSegmentTiedSvt>(seg); 00126 } |
|
|
|
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 } |