RFTester Tool for automated testing relevance feedback algorithms fro known-item search

Public Member Functions | Static Public Member Functions | Properties | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
RFTesterBackend.ResourceManagers.VideoData Class Reference

Loads informations about each selected frame. More...

## Public Member Functions
string | GetPath (int i)
string | GetVideoName (int i)
string | GetVideoShotName (int i)
int | Length ()
int | GetIdByName (string name)

## Static Public Member Functions
static void | Init ()
| Loads informations about selected frames. More...

## Properties
static ResourceState | VideoDataState`[get]`
static VideoData | Data`[get]`
| Returns a reference to the singleton object data. More...
Dictionary< string, int > | VideoLengths`[get]`
Dictionary< string, List< int > > | ShotIds`[get]`
Dictionary< string, List< int > > | VideoIds`[get]`

## Private Member Functions
| VideoData ()
string | GetVideoName (string path)

## Private Attributes
string[] | imagePaths
| Paths to the images. More...
Dictionary< string, int > | videoLengths = new Dictionary<string, int>()
| Lengths of videos. More...
Dictionary< string, List< int > > | shotIds = new Dictionary<string, List<int>>()
| Mapping shots to list of selected frames. More...
Dictionary< string, List< int > > | videoIds = new Dictionary<string, List<int>>()
| Mapping videos to list of selected frames. More...

## Static Private Attributes
static readonly log4net.ILog | log
static ResourceState | videoDataState = ResourceState.NOT_LOADED
| State of resources. More...
static readonly object | vdSync = new object()
| Synchronization object. More...
static VideoData | videoData
| Singleton object. More...

## Detailed Description

Loads informations about each selected frame.

## Constructor & Destructor Documentation

## ◆ VideoData()

RFTesterBackend.ResourceManagers.VideoData.VideoData | ( |  | ) |
| inlineprivate

## Member Function Documentation

## ◆ GetIdByName()

int RFTesterBackend.ResourceManagers.VideoData.GetIdByName | ( | string | name | ) |
| inline

## ◆ GetPath()

string RFTesterBackend.ResourceManagers.VideoData.GetPath | ( | int | i | ) |
| inline

## ◆ GetVideoName() [1/2]

string RFTesterBackend.ResourceManagers.VideoData.GetVideoName | ( | int | i | ) |
| inline

## ◆ GetVideoName() [2/2]

string RFTesterBackend.ResourceManagers.VideoData.GetVideoName | ( | string | path | ) |
| inlineprivate

## ◆ GetVideoShotName()

string RFTesterBackend.ResourceManagers.VideoData.GetVideoShotName | ( | int | i | ) |
| inline

## ◆ Init()

static void RFTesterBackend.ResourceManagers.VideoData.Init | ( |  | ) |
| inlinestatic

Loads informations about selected frames.

## ◆ Length()

int RFTesterBackend.ResourceManagers.VideoData.Length | ( |  | ) |
| inline

## Member Data Documentation

## ◆ imagePaths

string [] RFTesterBackend.ResourceManagers.VideoData.imagePaths
| private

Paths to the images.

## ◆ log

readonly log4net.ILog RFTesterBackend.ResourceManagers.VideoData.log
| staticprivate

Initial value:
= log4net.LogManager.GetLogger(
System.Reflection.MethodBase.GetCurrentMethod().DeclaringType)

## ◆ shotIds

Dictionary<string, List<int> > RFTesterBackend.ResourceManagers.VideoData.shotIds = new Dictionary<string, List<int>>()
| private

Mapping shots to list of selected frames.

## ◆ vdSync

readonly object RFTesterBackend.ResourceManagers.VideoData.vdSync = new object()
| staticprivate

Synchronization object.

## ◆ videoData

VideoData RFTesterBackend.ResourceManagers.VideoData.videoData
| staticprivate

Singleton object.

## ◆ videoDataState

ResourceState RFTesterBackend.ResourceManagers.VideoData.videoDataState = ResourceState.NOT_LOADED
| staticprivate

State of resources.

## ◆ videoIds

Dictionary<string, List<int> > RFTesterBackend.ResourceManagers.VideoData.videoIds = new Dictionary<string, List<int>>()
| private

Mapping videos to list of selected frames.

## ◆ videoLengths

Dictionary<string, int> RFTesterBackend.ResourceManagers.VideoData.videoLengths = new Dictionary<string, int>()
| private

Lengths of videos.

## Property Documentation

## ◆ Data

VideoData RFTesterBackend.ResourceManagers.VideoData.Data
| staticget

Returns a reference to the singleton object data.

## ◆ ShotIds

Dictionary<string, List<int> > RFTesterBackend.ResourceManagers.VideoData.ShotIds
| get

## ◆ VideoDataState

ResourceState RFTesterBackend.ResourceManagers.VideoData.VideoDataState
| staticget

## ◆ VideoIds

Dictionary<string, List<int> > RFTesterBackend.ResourceManagers.VideoData.VideoIds
| get

## ◆ VideoLengths

Dictionary<string, int> RFTesterBackend.ResourceManagers.VideoData.VideoLengths
| get

The documentation for this class was generated from the following file:

- RFTesterBackend/ResourceManagers/VideoData.cs