hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
main.hpp File Reference
#include <sys/utsname.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <pthread.h>
#include <signal.h>
#include <unistd.h>
#include <stdlib.h>
#include <fcntl.h>
#include <string.h>
#include <iostream>
#include <map>
#include <Poco/Util/OptionSet.h>
#include <Poco/Util/OptionProcessor.h>
#include <Poco/Path.h>
#include "Admin.hpp"
#include "DataClientProxy.hpp"
#include "RouterServerProxy.hpp"
#include "DataReducerProxy.hpp"
#include "DataClientData.hpp"
#include "DataServerProxy.hpp"
#include "DataProcessorData.hpp"
#include "LoggerConfigLoader.hpp"
#include "LoggerStream.hpp"
#include "ServiceMessages.hpp"
Include dependency graph for main.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  HCE
 < HCE::ServerApplication provides global variable 'HCE::database::Session' which initializes in function 'HCE::ServerApplication::initializeDataBaseSession()'

Variables

const std::string APP_VERSION = " " + std::string(__TIME__)
 <hce-node application version string
const std::string NODE_CLI_NAME = "name"
const std::string NODE_CLI_ADMIN = "admin"
const std::string NODE_CLI_CLIENT = "client"
const std::string NODE_CLI_SERVER = "server"
const std::string NODE_CLI_DATAMODE = "mode"
const std::string NODE_CLI_ROLE = "role"
const std::string NODE_CLI_INI_FILE = "ini"
const std::string NODE_CLI_LOG_MODE = "log"
const std::string NODE_CLI_HELP = "help"
const std::string NODE_CLI_VERSION = "ver"
const std::string NODE_CLI_DEMONIZE = "demonize"
 CLI argument role values names definitions.
const std::string NODE_CLI_ROLE_ROUTER = "router"
const std::string NODE_CLI_ROLE_SMANAGER = "smanager"
const std::string NODE_CLI_ROLE_RMANAGER = "rmanager"
const std::string NODE_CLI_ROLE_RMANAGER_ROUND_ROBIN = "rmanager-round-robin"
const std::string NODE_CLI_ROLE_RMANAGER_RND = "rmanager-rnd"
const std::string NODE_CLI_ROLE_RMANAGER_RESOURCES_USAGE = "rmanager-resources-usage"
const std::string NODE_CLI_ROLE_REPLICA = "replica"
 HCE-node application exist logger names.
const std::string HCE_MAIN_LOGGER = Poco::Logger::ROOT
const std::string DRCE_TASKS_LOGGER = "DRCEFO-Tasks"

Variable Documentation

const std::string APP_VERSION = " " + std::string(__TIME__)

<hce-node application version string

CLI arguments names definitions

Definition at line 50 of file main.hpp.

const std::string DRCE_TASKS_LOGGER = "DRCEFO-Tasks"

Definition at line 76 of file main.hpp.

const std::string HCE_MAIN_LOGGER = Poco::Logger::ROOT

Definition at line 75 of file main.hpp.

const std::string NODE_CLI_ADMIN = "admin"

Definition at line 54 of file main.hpp.

const std::string NODE_CLI_CLIENT = "client"

Definition at line 55 of file main.hpp.

const std::string NODE_CLI_DATAMODE = "mode"

Definition at line 57 of file main.hpp.

const std::string NODE_CLI_DEMONIZE = "demonize"

CLI argument role values names definitions.

Definition at line 63 of file main.hpp.

const std::string NODE_CLI_HELP = "help"

Definition at line 61 of file main.hpp.

const std::string NODE_CLI_INI_FILE = "ini"

Definition at line 59 of file main.hpp.

const std::string NODE_CLI_LOG_MODE = "log"

Definition at line 60 of file main.hpp.

const std::string NODE_CLI_NAME = "name"

Definition at line 53 of file main.hpp.

const std::string NODE_CLI_ROLE = "role"

Definition at line 58 of file main.hpp.

const std::string NODE_CLI_ROLE_REPLICA = "replica"

HCE-node application exist logger names.

Definition at line 72 of file main.hpp.

const std::string NODE_CLI_ROLE_RMANAGER = "rmanager"

Definition at line 68 of file main.hpp.

const std::string NODE_CLI_ROLE_RMANAGER_RESOURCES_USAGE = "rmanager-resources-usage"

Definition at line 71 of file main.hpp.

const std::string NODE_CLI_ROLE_RMANAGER_RND = "rmanager-rnd"

Definition at line 70 of file main.hpp.

const std::string NODE_CLI_ROLE_RMANAGER_ROUND_ROBIN = "rmanager-round-robin"

Definition at line 69 of file main.hpp.

const std::string NODE_CLI_ROLE_ROUTER = "router"

Definition at line 66 of file main.hpp.

const std::string NODE_CLI_ROLE_SMANAGER = "smanager"

Definition at line 67 of file main.hpp.

const std::string NODE_CLI_SERVER = "server"

Definition at line 56 of file main.hpp.

const std::string NODE_CLI_VERSION = "ver"

Definition at line 62 of file main.hpp.