A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/usage__report__job_8hpp_source.html below:

NCBI C++ ToolKit: include/gui/objutils/usage_report_job.hpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef GUI_UTILS__USAGE_REPORT_JOB__HPP 2 #define GUI_UTILS__USAGE_REPORT_JOB__HPP 79  virtual

EJobState

Run

();

89  static bool

IsEnabled();

92  static void

SetEnabled(

bool

enable =

true

);

94  static void

SaveSettings();

95  static void

LoadSettings();

100  static string

x_GetOS();

101  static string

x_GetGbenchVersion();

121 #define REPORT_USAGE(event, args) \ 124  if (!CUsageReportJob::IsEnabled()) \ 126  CReportParams params; \ 127  params.Add("jsevent"

, (event)) args; \

128

CUsageReportJob::ReportUsage(params); \

Temporary object for holding extra report arguments.

std::map< string, string > TStringMap

virtual string GetDescr() const

Returns a human readable description of the Job (optional)

virtual CConstIRef< IAppJobProgress > GetProgress()

return progress object, the function shall be synchronized internally.

static volatile unsigned m_FailedAttempts

virtual void RequestCancel()

RequestCancel() is called to notify the Job that it shall exit Run() function ASAP.

virtual bool IsCanceled() const

virtual CConstIRef< IAppJobError > GetError()

Returns IAppJobError object describing internal error that caused the Job to fail.

virtual CRef< CObject > GetResult()

Returns the Job Result.

static std::mutex m_VersionStringMutex

version string access mutex

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

void Run(void)

Enter the main loop.

#define NCBI_GUIOBJUTILS_EXPORT

Defines to provide correct exporting from DLLs in Windows.

void ReportUsage(const wxString &dialog_name)

Report opening & accepting events in the editing package.

const GenericPointer< typename T::ValueType > T2 value

Multi-threading – mutexes; rw-locks; semaphore.

The NCBI C++/STL use hints.

string ToString(const wxRect &rc)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4