Annotation Pro API
Public Member Functions | Protected Member Functions | Properties | Events | List of all members
DataServer Class Reference

A data server. More...

Inherits Component.

Public Member Functions

 DataServer ()
 Default constructor. More...
 
 DataServer (IContainer container)
 Constructor. More...
 
void ExportToCSV (bool open)
 Export to CSV. More...
 
void ExportToEAF (bool open)
 Export to EAF (ELAN). More...
 
void ExportToTextGrid (bool open)
 Export to text grid. More...
 
void ExportToXRA (bool open)
 Export to XRA (Sppas). More...
 
string GetContentCSVString ()
 Gets content CSV string. More...
 
string GetContentHeaderCSVString ()
 Gets content header CSV string. More...
 
void GetFrequencyList (Dictionary< string, int > frequencyList, bool groupByFiles)
 Gets frequency list. More...
 

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used. More...
 

Properties

Annotation Annotation [get, set]
 Gets or sets the annotation. More...
 
Audio Audio [get, set]
 Gets or sets the audio. More...
 
bool InSessionMode [get, set]
 Gets or sets a value indicating whether the in session mode. More...
 
bool LockExistingLayersInSession [get, set]
 Gets or sets a value indicating whether the existing layers in session is locked. More...
 
string MainWindowTitleText [get]
 Gets the main window title text. More...
 
Synchronizer Synchronizer [get, set]
 Gets or sets the synchronizer. More...
 

Events

ChangedHandler AnnotationChanged
 Event queue for all listeners interested in AnnotationChanged events. More...
 
ChangedHandler AnnotationModified
 Event queue for all listeners interested in AnnotationModified events. More...
 
SelectionChangedHandler AnnotationSelectionChanged
 Event queue for all listeners interested in AnnotationSelectionChanged events. More...
 
AudioChangedHandler AudioChanged
 Event queue for all listeners interested in AudioChanged events. More...
 
ModifiedHandler AudioModified
 Event queue for all listeners interested in AudioModified events. More...
 
PlaybackStartedHandler PlaybackStarted
 Event queue for all listeners interested in PlaybackStarted events. More...
 
PlaybackStoppedHandler PlaybackStopped
 Event queue for all listeners interested in PlaybackStopped events. More...
 
RecordingStartedHandler RecordingStarted
 Event queue for all listeners interested in RecordingStarted events. More...
 

Detailed Description

A data server.

Constructor & Destructor Documentation

◆ DataServer() [1/2]

DataServer ( )
inline

Default constructor.

◆ DataServer() [2/2]

DataServer ( IContainer  container)
inline

Constructor.

Parameters
containerThe container.

Member Function Documentation

◆ Dispose()

override void Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.

◆ ExportToCSV()

void ExportToCSV ( bool  open)
inline

Export to CSV.

Parameters
opentrue to open.

◆ ExportToEAF()

void ExportToEAF ( bool  open)
inline

Export to EAF (ELAN).

Parameters
openIf true open after export.

◆ ExportToTextGrid()

void ExportToTextGrid ( bool  open)
inline

Export to text grid.

Parameters
openOpen folder with result file if true.

◆ ExportToXRA()

void ExportToXRA ( bool  open)
inline

Export to XRA (Sppas).

Parameters
openIf true open after export.

◆ GetContentCSVString()

string GetContentCSVString ( )
inline

Gets content CSV string.

Returns
The content CSV string.

◆ GetContentHeaderCSVString()

string GetContentHeaderCSVString ( )
inline

Gets content header CSV string.

Returns
The content header CSV string.

◆ GetFrequencyList()

void GetFrequencyList ( Dictionary< string, int >  frequencyList,
bool  groupByFiles 
)
inline

Gets frequency list.

Parameters
frequencyListList of frequencies.
groupByFilestrue to group by files.

Property Documentation

◆ Annotation

Gets or sets the annotation.

The annotation.

◆ Audio

Audio Audio
getset

Gets or sets the audio.

The audio.

◆ InSessionMode

bool InSessionMode
getset

Gets or sets a value indicating whether the in session mode.

true if in session mode, false if not.

◆ LockExistingLayersInSession

bool LockExistingLayersInSession
getset

Gets or sets a value indicating whether the existing layers in session is locked.

true if lock existing layers in session, false if not.

◆ MainWindowTitleText

string MainWindowTitleText
get

Gets the main window title text.

The main window title text.

◆ Synchronizer

Gets or sets the synchronizer.

The synchronizer.

Event Documentation

◆ AnnotationChanged

ChangedHandler AnnotationChanged

Event queue for all listeners interested in AnnotationChanged events.

◆ AnnotationModified

ChangedHandler AnnotationModified

Event queue for all listeners interested in AnnotationModified events.

◆ AnnotationSelectionChanged

SelectionChangedHandler AnnotationSelectionChanged

Event queue for all listeners interested in AnnotationSelectionChanged events.

◆ AudioChanged

AudioChangedHandler AudioChanged

Event queue for all listeners interested in AudioChanged events.

◆ AudioModified

ModifiedHandler AudioModified

Event queue for all listeners interested in AudioModified events.

◆ PlaybackStarted

PlaybackStartedHandler PlaybackStarted

Event queue for all listeners interested in PlaybackStarted events.

◆ PlaybackStopped

PlaybackStoppedHandler PlaybackStopped

Event queue for all listeners interested in PlaybackStopped events.

◆ RecordingStarted

RecordingStartedHandler RecordingStarted

Event queue for all listeners interested in RecordingStarted events.


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