00001 //========================================================================= 00002 // PARSIMUTIL.H - part of 00003 // 00004 // OMNeT++/OMNEST 00005 // Discrete System Simulation in C++ 00006 // 00007 // Author: Andras Varga, 2003 00008 // Dept. of Electrical and Computer Systems Engineering, 00009 // Monash University, Melbourne, Australia 00010 // 00011 //========================================================================= 00012 00013 /*--------------------------------------------------------------* 00014 Copyright (C) 2003-2008 Andras Varga 00015 Copyright (C) 2006-2008 OpenSim Ltd. 00016 00017 This file is distributed WITHOUT ANY WARRANTY. See the file 00018 `license' for details on this and other legal matters. 00019 *--------------------------------------------------------------*/ 00020 00021 #ifndef __PARSIMUTIL_H 00022 #define __PARSIMUTIL_H 00023 00024 NAMESPACE_BEGIN 00025 00030 void getProcIdFromCommandLineArgs(int& myProcId, int& numPartitions, 00031 const char *caller); 00032 00033 NAMESPACE_END 00034 00035 #endif 00036