Implementation of Rocout for creation of a data file from a Roccom window. More...
#include <sys/stat.h>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <string>
#include <algorithm>
#include <errno.h>
#include "Rocout.h"
#include "Rocout_hdf4.h"
Go to the source code of this file.
Classes | |
struct | WriteAttrInfo |
Pass write_attribute arguments to the background worker thread. More... | |
Macros | |
#define | SwitchOnDataType(dType, funcCall) |
#define | ERROR_MSG(msg) |
Functions | |
static bool | is_option_name (const std::string &name) |
Return true if the given string is the name of a Rocout option. More... | |
static bool | is_whole (const std::string &s) |
static bool | is_option_value (const std::string &name, const std::string &val) |
Return true if the given Rocout option name/value pair is valid. More... | |
void | Rocout_load_module (const char *name) |
Load the module Rocout into Roccom using the given module name. More... | |
void | Rocout_unload_module (const char *name) |
Unload the module Rocout from Roccom. More... | |
void | COM_F_FUNC2 (rocout_load_module, ROCOUT_LOAD_MODULE) const |
void | COM_F_FUNC2 (rocout_unload_module, ROCOUT_UNLOAD_MODULE) const |
Variables | |
static USE_COM_NAME_SPACE const int | MAX_ASYNC_WRITES = 10 |
Implementation of Rocout for creation of a data file from a Roccom window.
Definition in file Rocout.C.
#define ERROR_MSG | ( | msg | ) |
Definition at line 123 of file Rocout.C.
Referenced by Rocout::get_fname(), Rocout::read_control_file(), and Rocout::set_option().
void COM_F_FUNC2 | ( | rocout_load_module | , |
ROCOUT_LOAD_MODULE | |||
) | const |
Definition at line 943 of file Rocout.C.
References Mesquite::length(), and Rocout_load_module().
void COM_F_FUNC2 | ( | rocout_unload_module | , |
ROCOUT_UNLOAD_MODULE | |||
) | const |
Definition at line 945 of file Rocout.C.
References Mesquite::length(), and Rocout_unload_module().
|
static |
Return true if the given string is the name of a Rocout option.
Definition at line 506 of file Rocout.C.
Referenced by Rocout::read_control_file(), and Rocout::set_option().
|
static |
Return true if the given Rocout option name/value pair is valid.
Definition at line 528 of file Rocout.C.
References is_whole().
Referenced by Rocout::read_control_file(), and Rocout::set_option().
|
static |
Definition at line 515 of file Rocout.C.
Referenced by is_option_value().
void Rocout_load_module | ( | const char * | name | ) |
Load the module Rocout into Roccom using the given module name.
This module provides one subroutine: "write_attribute".
Definition at line 934 of file Rocout.C.
References Rocout::init().
Referenced by COM_F_FUNC2(), main(), and RFC_Window_base::write_sdv().
void Rocout_unload_module | ( | const char * | name | ) |
Unload the module Rocout from Roccom.
Definition at line 937 of file Rocout.C.
References Rocout::finalize().
Referenced by COM_F_FUNC2(), and RFC_Window_base::write_sdv().