Workspace 6.21.5
Functions
workspaceweb_c.cpp File Reference
#include "workspaceweb_c.h"
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <QCoreApplication>
#include <QHash>
#include <QTimer>
#include "Workspace/DataExecution/Execution/updater.h"
#include "TcpMessages/assignglobalnamemsg.h"
#include "TcpMessages/assigninputmsg.h"
#include "TcpMessages/executemsg.h"
#include "TcpMessages/listmsg.h"
#include "TcpMessages/stopexecutionmsg.h"
#include "TcpMessages/terminatemsg.h"
#include "TcpMessages/watchcancelmsg.h"
#include "TcpMessages/watchmsg.h"
#include "servereventloop.h"
#include "servertcpmessagehandler.h"
#include "tcpmessageserver.h"
#include "weblogging.h"
Include dependency graph for workspaceweb_c.cpp:

Functions

int server_init (int logLevel)
 
int server_listen_for_connection (const char *host, int port, NewConnectionCallback callback)
 
int server_listen_for_connection_and_wait (const char *host, int port, NewConnectionCallback callback)
 
int server_poll (int timeoutMs)
 
int server_start_event_loop (EventLoopStartedCallback callback)
 
int server_stop_event_loop ()
 
int workspace_cancel_watch (const WorkspaceId *ws, const char *watchIdStr)
 
int workspace_list_global_names (const WorkspaceId *ws, ListCallback callback)
 
int workspace_list_inputs (const WorkspaceId *ws, ListCallback callback)
 
int workspace_list_outputs (const WorkspaceId *ws, ListCallback callback)
 
int workspace_register_func_error (const WorkspaceId *ws, WorkspaceErrorCallback callback)
 
int workspace_register_func_failed (const WorkspaceId *ws, WorkspaceFailedCallback callback)
 
int workspace_register_func_success (const WorkspaceId *ws, WorkspaceSucceededCallback callback)
 
int workspace_run_continuously (const WorkspaceId *ws)
 
int workspace_run_once (const WorkspaceId *ws)
 
int workspace_set_global_name (const WorkspaceId *ws, const char *globalName, const char *content)
 
int workspace_set_input (const WorkspaceId *ws, const char *inputName, const char *content)
 
int workspace_stop (const WorkspaceId *ws)
 
int workspace_terminate (const WorkspaceId *ws)
 
int workspace_watch (const WorkspaceId *ws, JSONString watches, WatchCallback func, bool singleShot)