quick start:g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_mmedia.a #include <Machine.h> static boolean diagnose(Integral::DEBUG debug_level); PROTOCOL getProtocol(); boolean setProtocol(PROTOCOL arg); String& getNodeName(); boolean setNodeName(String& arg); String& getArchitecture(); boolean setArchitecture(String& arg); long getNumProcessors(); boolean setNumProcessors(long arg); VectorDouble& getProcessorSpeed(); boolean setProcessorSpeed(VectorDouble& arg); double getMainMemory(); boolean setMainMemory(double arg); double getSwapMemory(); boolean setSwapMemory(double arg); String& getOS(); boolean setOS(String& arg); String& getOSVersion(); boolean setOSVersion(String& arg);
description:String tmp_str; Machine mach_00; tmp_str.assign(L"isip004"); mach_00.setNodeName(tmp_str); mach_00.getNodeName().eq(tmp_str);
static const String CLASS_NAME = L"Machine";
enum PROTOCOL { REMOTE_SHELL = 0, SECURE_SHELL, DEF_PROTOCOL = REMOTE_SHELL };
static const String DEF_PARAM;
static const String PARAM_PROTOCOL;
static const String PARAM_NODE_NAME;
static const String PARAM_ARCHITECTURE;
static const String PARAM_NUM_PROCESSORS;
static const String PARAM_PROCESSOR_SPEED;
static const String PARAM_MAIN_MEMORY;
static const String PARAM_SWAP_MEMORY;
static const String PARAM_OS_NAME;
static const String PARAM_OS_VERSION;
static const long DEF_NUM_PROCESSORS = 1;
static const double DEF_PROCESSOR_SPEED = 3.0e8;
static const double DEF_MAIN_MEMORY = 0.0;
static const double DEF_SWAP_MEMORY = 0.0;
static const NameMap PROTOCOL_MAP;
PROTOCOL protocol_d;
String node_name_d;
String architecture_d;
Long num_processors_d;
VectorDouble speed_d;
Double main_memory_d;
Double swap_memory_d;
String os_d;
String os_version_d;
static Integral::DEBUG debug_level_d;
static MemoryManager mgr_d;
static const String& name();
boolean debug(const unichar* msg) const;
static boolean setDebug(Integral::DEBUG arg);
static boolean diagnose(Integral::DEBUG debug_level);
~Machine();
Machine();
Machine(const Machine& arg);
boolean assign(const Machine& arg);
not present.
long sofSize() const;
boolean read(Sof& sof, long tag);
boolean read(Sof& sof, long tag, const String& name);
boolean write(Sof& sof, long tag) const;
boolean write(Sof& sof, long tag, const String& name) const;
boolean readData(Sof& sof, const String& pname = DEF_PARAM, long size = SofParser::FULL_OBJECT, boolean param = true, boolean nested = false);
boolean writeData(Sof& sof, const String& pname = DEF_PARAM) const;
boolean eq(const Machine& arg) const;
static void* operator new(size_t arg);
static void* operator new[](size_t arg);
static void operator delete(void* arg);
static void operator delete[](void* arg);
static boolean setGrowSize(long arg);
boolean clear(Integral::CMODE cmode = Integral::DEF_CMODE);
PROTOCOL getProtocol();
boolean setProtocol(PROTOCOL arg);
String& getNodeName();
boolean setNodeName(String& arg);
String& getArchitecture();
boolean setArchitecture(String& arg);
long getNumProcessors();
boolean setNumProcessors(long arg);
VectorDouble& getProcessorSpeed();
boolean setProcessorSpeed(VectorDouble& arg);
double getMainMemory();
boolean setMainMemory(double arg);
double getSwapMemory();
boolean setSwapMemory(double arg);
String& getOS();
boolean setOS(String& arg);
String& getOSVersion();
boolean setOSVersion(String& arg);