Stimfit @PACKAGE_VERSION@
Loading...
Searching...
No Matches
stf.h File Reference
#include <vector>
#include <map>
#include <string>
#include "./gui/zoom.h"
#include <wx/wxprec.h>
#include <wx/wx.h>
#include <wx/aui/aui.h>
#include <wx/docview.h>
#include <wx/docmdi.h>
#include <wx/wfstream.h>
#include <wx/progdlg.h>
#include "../libstfio/stfio.h"
#include "../libstfnum/stfnum.h"
Include dependency graph for stf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  stf::wxProgressInfo
 Progress Info interface adapter; maps to wxProgressDialog. More...
struct  stf::UserInput
 Represents user input from dialogs that can be used in plugins. More...
struct  stf::Plugin
 User-defined plugin. More...
struct  stf::Extension
 User-defined Python extension. More...
struct  stf::ifstreamMan
 Resource manager for ifstream objects. More...
struct  stf::ofstreamMan
 Resource manager for ofstream objects. More...
class  stf::Event
 Describes the attributes of an event. More...
struct  stf::PyMarker
 A marker that can be set from Python. More...
struct  stf::SectionAttributes
struct  stf::SectionPointer

Namespaces

namespace  stf
 The stimfit namespace.
namespace  std
 STL namespace.

Macros

#define StfDll   __declspec( dllimport )
 Defines dll export or import functions for Windows.

Typedefs

typedef wxDocMDIChildFrame wxStfChildType
 child frame type; depends on whether aui is used for the doc/view interface
typedef wxDocMDIParentFrame wxStfParentType
 parent frame type; depends on whether aui is used for the doc/view interface
typedef boost::function< Recording(const Recording &, const Vector_double &, std::map< std::string, double > &)> stf::PluginFunc
 Get a Recording, do something with it, return the new Recording.
typedef std::vector< wxString >::iterator wxs_it
typedef std::vector< wxString >::const_iterator c_wxs_it
typedef std::vector< stf::Event >::iterator event_it
typedef std::vector< stf::Event >::const_iterator c_event_it
typedef std::vector< stf::PyMarker >::iterator marker_it
typedef std::vector< stf::PyMarker >::const_iterator c_marker_it

Enumerations

enum  stf::cursor_type {
  stf::measure_cursor , stf::peak_cursor , stf::base_cursor , stf::decay_cursor ,
  stf::latency_cursor , stf::zoom_cursor , stf::event_cursor , stf::annotation_cursor ,
  stf::undefined_cursor
}
 Mouse cursor types. More...
enum  stf::zoom_channels { stf::zoomch1 , stf::zoomch2 , stf::zoomboth }
 Determines which channels to scale. More...
enum  stf::latency_mode {
  stf::manualMode = 0 , stf::peakMode = 1 , stf::riseMode = 2 , stf::halfMode = 3 ,
  stf::footMode = 4 , stf::undefinedMode
}
 Latency cursor settings. More...
enum  stf::latency_window_mode { stf::defaultMode = 0 , stf::windowMode = 1 }
 Latency window settings. More...
enum  stf::extraction_mode { stf::criterion , stf::correlation , stf::deconvolution }
 Deconvolution. More...

Functions

std::string stf::wx2std (const wxString &wxs)
wxString stf::std2wx (const std::string &sst)
wxString stf::sectionToString (const Section &section)
 Converts a Section to a wxString.
wxString stf::CreatePreview (const wxString &fName)
 Creates a preview of a text file.
wxString stf::noPath (const wxString &fName)
 Strips the directory off a full path name, returns only the filename.
int stf::round (double toRound)
 Does what it says.

Variables

const double stf::PI =3.14159265358979323846
 Add decimals if you are not satisfied.

Macro Definition Documentation

◆ StfDll

#define StfDll   __declspec( dllimport )

Defines dll export or import functions for Windows.

Definition at line 55 of file stf.h.

Referenced by wxGetApp().

Typedef Documentation

◆ c_event_it

typedef std::vector<stf::Event>::const_iterator c_event_it

constant stf::Event iterator

Definition at line 441 of file stf.h.

◆ c_marker_it

typedef std::vector<stf::PyMarker>::const_iterator c_marker_it

constant stf::PyMarker iterator

Definition at line 443 of file stf.h.

◆ c_wxs_it

typedef std::vector<wxString>::const_iterator c_wxs_it

constant std::string iterator

Definition at line 439 of file stf.h.

◆ event_it

typedef std::vector<stf::Event>::iterator event_it

stf::Event iterator

Definition at line 440 of file stf.h.

◆ marker_it

typedef std::vector<stf::PyMarker>::iterator marker_it

stf::PyMarker iterator

Definition at line 442 of file stf.h.

◆ wxs_it

typedef std::vector<wxString>::iterator wxs_it

std::string iterator

Definition at line 438 of file stf.h.

◆ wxStfChildType

child frame type; depends on whether aui is used for the doc/view interface

Definition at line 83 of file stf.h.

◆ wxStfParentType

parent frame type; depends on whether aui is used for the doc/view interface

Definition at line 86 of file stf.h.