27#ifndef NIDAS_CORE_DSMSERVERAPP_H
28#define NIDAS_CORE_DSMSERVERAPP_H
39namespace nidas {
namespace core {
56 static int main(
int argc,
char** argv)
throw();
int main()
Definition ck_arinc.cc:117
Definition DSMServerApp.h:46
Dataset getDataset()
Definition DSMServerApp.cc:456
void initLogger()
Definition DSMServerApp.cc:199
void setupSignals()
Create a signal mask, and block those masked signals.
Definition DSMServerApp.cc:375
int parseRunstring(int argc, char **argv)
Definition DSMServerApp.cc:88
NidasApp _app
Definition DSMServerApp.h:162
void killStatusThread()
Definition DSMServerApp.cc:350
std::string _configsXMLName
The xml file that contains all the project configurations, by date.
Definition DSMServerApp.h:143
void parseXMLConfigFile(const std::string &xmlFileName, Project &)
Invoke a XMLCachingParser to parse the XML and initialize the Project.
Definition DSMServerApp.cc:427
~DSMServerApp()
Definition DSMServerApp.cc:82
static DSMServerApp * getInstance()
Definition DSMServerApp.h:58
bool _externalControl
Definition DSMServerApp.h:152
const std::string & getXMLFileName()
What is the XML configuration file name.
Definition DSMServerApp.h:105
pthread_t _myThreadId
Definition DSMServerApp.h:158
bool _debug
-d option.
Definition DSMServerApp.h:133
void killXmlRpcThread()
Definition DSMServerApp.cc:324
runState
Definition DSMServerApp.h:128
@ QUIT
Definition DSMServerApp.h:128
@ RESTART
Definition DSMServerApp.h:128
@ RUN
Definition DSMServerApp.h:128
@ ERROR
Definition DSMServerApp.h:128
void startStatusThread(DSMServer *svr)
Definition DSMServerApp.cc:341
std::string _datasetName
Definition DSMServerApp.h:160
void waitForSignal(int timeoutSecs)
Unblock and wait for signals of interest up to timeoutSecs.
Definition DSMServerApp.cc:388
bool _optionalProcessing
Definition DSMServerApp.h:154
DSMServerApp & operator=(const DSMServerApp &)
Assignment not needed.
enum runState _runState
Definition DSMServerApp.h:145
DSMServerIntf * _xmlrpcThread
This thread provides XML-based Remote Procedure calls.
Definition DSMServerApp.h:148
int usage()
Send usage message to cerr.
Definition DSMServerApp.cc:134
int initProcess()
Definition DSMServerApp.cc:204
NidasAppArg ExternalControl
Definition DSMServerApp.h:164
DSMServerStat * _statusThread
Definition DSMServerApp.h:150
DSMServerApp(const DSMServerApp &)
Copy not needed.
sigset_t _signalMask
Definition DSMServerApp.h:156
void startXmlRpcThread()
Definition DSMServerApp.cc:315
NidasAppArg OptionalProcessing
Definition DSMServerApp.h:165
DSMServerApp()
Definition DSMServerApp.cc:62
std::string _xmlFileName
The xml file that is being used for configuration information.
Definition DSMServerApp.h:138
static DSMServerApp * _instance
Definition DSMServerApp.h:126
int run()
Definition DSMServerApp.cc:211
A thread that provides XML-based Remote Procedure Calls to web interfaces from the DSMServer.
Definition DSMServerIntf.h:44
Thread which provides status from a dsm_server on a datagram socket.
Definition StatusThread.h:176
A provider of services to a DSM.
Definition DSMServer.h:50
A Dataset is a named collection of parameters, that are used in data processing.
Definition Datasets.h:48
A NidasAppArg is command-line argument which can be handled by NidasApp.
Definition NidasApp.h:76
NidasApp handles common options for NIDAS applications.
Definition NidasApp.h:576
Root namespace for the NCAR In-Situ Data Acquisition Software.
Definition A2DConverter.h:31
static int timeoutSecs
Definition sing.cc:62