Back to index

salome-kernel  6.5.0
Defines | Functions
CalciumCInterface.cxx File Reference
#include "CalciumCInterface.hxx"
#include "CalciumCxxInterface.hxx"
#include <stdio.h>

Go to the source code of this file.

Defines

#define DEBTRACE(msg)
#define STAR   *

Functions

 CALCIUM_C2CPP_INTERFACE_CXX_ (intc, int, int,)
 CALCIUM_C2CPP_INTERFACE_CXX_ (long, long, long,)
 CALCIUM_C2CPP_INTERFACE_CXX_ (integer, integer, cal_int,)
 CALCIUM_C2CPP_INTERFACE_CXX_ (int2integer, integer, int,)
 CALCIUM_C2CPP_INTERFACE_CXX_ (long2integer, integer, long,)
 CALCIUM_C2CPP_INTERFACE_CXX_ (float, float, float,)
 CALCIUM_C2CPP_INTERFACE_CXX_ (double, double, double,)
 CALCIUM_C2CPP_INTERFACE_CXX_ (bool, bool, int,)
 CALCIUM_C2CPP_INTERFACE_CXX_ (cplx, cplx, float,)
 CALCIUM_C2CPP_INTERFACE_CXX_ (str, str, char *,)
CalciumTypes::InfoType ecp_fin_ (void *component, int code)
CalciumTypes::InfoType ecp_cd_ (void *component, char *instanceName)
CalciumTypes::InfoType ecp_fini_ (void *component, char *nomvar, int i)
CalciumTypes::InfoType ecp_fint_ (void *component, char *nomvar, float t)
CalciumTypes::InfoType ecp_effi_ (void *component, char *nomvar, int i)
CalciumTypes::InfoType ecp_efft_ (void *component, char *nomvar, float t)

Define Documentation

#define DEBTRACE (   msg)

Definition at line 30 of file CalciumCInterface.cxx.

#define STAR   *

Definition at line 41 of file CalciumCInterface.cxx.


Function Documentation

CALCIUM_C2CPP_INTERFACE_CXX_ ( intc  ,
int  ,
int   
)
CALCIUM_C2CPP_INTERFACE_CXX_ ( long  ,
long  ,
long   
)
CALCIUM_C2CPP_INTERFACE_CXX_ ( integer  ,
integer  ,
cal_int   
)
CALCIUM_C2CPP_INTERFACE_CXX_ ( int2integer  ,
integer  ,
int   
)
CALCIUM_C2CPP_INTERFACE_CXX_ ( long2integer  ,
integer  ,
long   
)
CALCIUM_C2CPP_INTERFACE_CXX_ ( float  ,
float  ,
float   
)
CALCIUM_C2CPP_INTERFACE_CXX_ ( double  ,
double  ,
double   
)
CALCIUM_C2CPP_INTERFACE_CXX_ ( bool  ,
bool  ,
int   
)
CALCIUM_C2CPP_INTERFACE_CXX_ ( cplx  ,
cplx  ,
float   
)
CALCIUM_C2CPP_INTERFACE_CXX_ ( str  ,
str  ,
char *   
)
CalciumTypes::InfoType ecp_cd_ ( void *  component,
char *  instanceName 
)

Definition at line 94 of file CalciumCInterface.cxx.

                                                {
  Superv_Component_i * _component = static_cast<Superv_Component_i *>(component); 
  std::string name;
  CalciumInterface::ecp_cd( *_component,name);
  strcpy(instanceName,name.c_str());
  return CalciumTypes::CPOK;
}

Here is the call graph for this function:

Here is the caller graph for this function:

CalciumTypes::InfoType ecp_effi_ ( void *  component,
char *  nomvar,
int  i 
)

Definition at line 137 of file CalciumCInterface.cxx.

{
  Superv_Component_i * _component = static_cast<Superv_Component_i *>(component); 
  try
    {
      CalciumInterface::ecp_effi( *_component,nomvar,i);
    }
  catch ( const CalciumException & ex)
    {
      DEBTRACE( ex.what() );
      return ex.getInfo();
    }
  return CalciumTypes::CPOK;

}

Here is the call graph for this function:

Here is the caller graph for this function:

CalciumTypes::InfoType ecp_efft_ ( void *  component,
char *  nomvar,
float  t 
)

Definition at line 154 of file CalciumCInterface.cxx.

{
  Superv_Component_i * _component = static_cast<Superv_Component_i *>(component); 
  try
    {
      CalciumInterface::ecp_efft( *_component,nomvar,t);
    }
  catch ( const CalciumException & ex)
    {
      DEBTRACE( ex.what() );
      return ex.getInfo();
    }
  return CalciumTypes::CPOK;
}

Here is the call graph for this function:

Here is the caller graph for this function:

CalciumTypes::InfoType ecp_fin_ ( void *  component,
int  code 
)

Definition at line 76 of file CalciumCInterface.cxx.

                                      {

  Superv_Component_i * _component = static_cast<Superv_Component_i *>(component); 

  bool provideLastGivenValue = false;
  if (code == CalciumTypes::CP_CONT ) provideLastGivenValue = true;

  try {                                                                 
    CalciumInterface::ecp_fin( *_component,                             
                               provideLastGivenValue); 
  } catch ( const CalciumException & ex) { //tester l'arręt par exception
    DEBTRACE( ex.what() );
    return ex.getInfo();                                                
  }                                                                     
  return CalciumTypes::CPOK;
};

Here is the call graph for this function:

Here is the caller graph for this function:

CalciumTypes::InfoType ecp_fini_ ( void *  component,
char *  nomvar,
int  i 
)

Definition at line 104 of file CalciumCInterface.cxx.

{
  Superv_Component_i * _component = static_cast<Superv_Component_i *>(component); 
  try
    {
      CalciumInterface::ecp_fini( *_component,nomvar,i);
    }
  catch ( const CalciumException & ex)
    {
      DEBTRACE( ex.what() );
      return ex.getInfo();
    }
  return CalciumTypes::CPOK;

}

Here is the call graph for this function:

Here is the caller graph for this function:

CalciumTypes::InfoType ecp_fint_ ( void *  component,
char *  nomvar,
float  t 
)

Definition at line 121 of file CalciumCInterface.cxx.

{
  Superv_Component_i * _component = static_cast<Superv_Component_i *>(component); 
  try
    {
      CalciumInterface::ecp_fint( *_component,nomvar,t);
    }
  catch ( const CalciumException & ex)
    {
      DEBTRACE( ex.what() );
      return ex.getInfo();
    }
  return CalciumTypes::CPOK;
}

Here is the call graph for this function:

Here is the caller graph for this function: