56 for ( i=0; i<argc; ++
i) {
57 args[
i] = va_arg( ap,
void*);
72 for ( i=0; i<argc-1; ++
i) {
73 args[
i] = va_arg( ap,
void*);
75 int *status = va_arg( ap,
int *);
81 int *type,
int *size,
char *u_str,
int u_len)
85 if ( u_str && u_len) {
86 int len=unit.size(),
n=
std::min(len,
int(u_len));
87 std::copy( unit.c_str(), unit.c_str()+
n, u_str);
88 std::fill_n( u_str+1+
n,
std::max(0,
int(u_len-len)), 0);
Contains the wrapper routines for C++ binding of Roccom API.
void COM_get_attribute(const std::string wa_str, char *loc, int *type, int *ncomp, std::string *unit)
#define COM_assertion_msg(EX, msg)
Vector_n max(const Array_n_const &v1, const Array_n_const &v2)
This file contains the C wrapper for Roccom_base.
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to ** copy
This file contains a set of routines for error assertion.
void COM_call_function(const int wf, int argc,...)
Vector_n min(const Array_n_const &v1, const Array_n_const &v2)
COM_END_NAME_SPACE COM::Roccom_base * COM_get_roccom()
void COM_icall_function(const int wf, int argc,...)
Contains declaration of the base class for Roccom implementations.