Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

new_sim_utils.cpp File Reference

The file includes some function for the work with time values and FRU states. More...

#include <time.h>
#include "new_sim_utils.h"

Include dependency graph for new_sim_utils.cpp:


Functions

const char * NewSimulatorFruStateToString (tNewSimulatorFruState val)
 Returns a string for a Fru state.
void NewSimulatorDateToString (unsigned int t, char *str)
 Fill a string a with date information.
void NewSimulatorTimeToString (unsigned int t, char *str)
 Fill a string a with time information.
void NewSimulatorDateTimeToString (unsigned int t, char *str)
 Fill a string a with date and time information.

Detailed Description

The file includes some function for the work with time values and FRU states.

Author:
Lars Wetzel <larswetzel@users.sourceforge.net>
Version:
0.1
Date:
2010
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This file and program are licensed under a BSD style license. See the Copying file included with the OpenHPI distribution for full licensing terms.

The new Simulator plugin is adapted from the ipmidirect plugin. Thanks to
Thomas Kanngieser <thomas.kanngieser@fci.com>


Function Documentation

void NewSimulatorDateTimeToString unsigned int  t,
char *  str
 

Fill a string a with date and time information.

Parameters:
t time value
str pointer on the string to be filled

void NewSimulatorDateToString unsigned int  t,
char *  str
 

Fill a string a with date information.

Parameters:
t time value
str pointer on the string to be filled

const char* NewSimulatorFruStateToString tNewSimulatorFruState  val  ) 
 

Returns a string for a Fru state.

Parameters:
val state of the FRU
Returns:
string with the FRU state text

void NewSimulatorTimeToString unsigned int  t,
char *  str
 

Fill a string a with time information.

Parameters:
t time value
str pointer on the string to be filled


Generated on Mon Apr 26 14:38:42 2010 for New Simulator by  doxygen 1.4.4