ICP  1
Classes | Typedefs | Functions | Variables
instctrl.cpp File Reference
#include "stdafx.h"

Go to the source code of this file.

Classes

class  InstCtrlApp
 

Typedefs

typedef HRESULT(isisicpLib::Idae::* comm_func_t )(BSTR *messages)
 
typedef HRESULT(isisicpLib::Idae::* comm_func_s_i_t )(_bstr_t name, long value, BSTR *messages)
 
typedef HRESULT(isisicpLib::Idae::* comm_func_i_t )(long value, BSTR *messages)
 

Functions

int _tmain (int argc, _TCHAR *argv[])
 
 BOOST_STATIC_ASSERT (sizeof(comm_names)==sizeof(comm_funcs))
 
 BOOST_STATIC_ASSERT (sizeof(comm_s_i_names)==sizeof(comm_s_i_funcs))
 
 BOOST_STATIC_ASSERT (sizeof(comm_i_names)==sizeof(comm_i_funcs))
 

Variables

static const char * comm_names [] = { "BEGIN", "END", "PAUSE", "RESUME", "ABORT", "UPDATE", "STORE", "QUIT", "WAIT", "ENDWAIT", NULL }
 
static comm_func_t comm_funcs []
 
static const char * comm_s_i_names [] = { "SETVAL", "LOAD", NULL }
 
static comm_func_s_i_t comm_s_i_funcs [] = { &isisicpLib::Idae::setICPValueLong, &isisicpLib::Idae::loadDAEWithData, NULL }
 
static const char * comm_i_names [] = { "CHANGE_PERIOD", NULL }
 
static comm_func_i_t comm_i_funcs [] = { &isisicpLib::Idae::changePeriod, NULL }
 

Typedef Documentation

typedef HRESULT(isisicpLib::Idae::* comm_func_i_t)(long value, BSTR *messages)

Definition at line 34 of file instctrl.cpp.

typedef HRESULT(isisicpLib::Idae::* comm_func_s_i_t)(_bstr_t name, long value, BSTR *messages)

Definition at line 33 of file instctrl.cpp.

typedef HRESULT(isisicpLib::Idae::* comm_func_t)(BSTR *messages)

Definition at line 32 of file instctrl.cpp.

Function Documentation

int _tmain ( int  argc,
_TCHAR *  argv[] 
)

Definition at line 24 of file instctrl.cpp.

BOOST_STATIC_ASSERT ( sizeof(comm_names = =sizeof(comm_funcs))
BOOST_STATIC_ASSERT ( sizeof(comm_s_i_names = =sizeof(comm_s_i_funcs))
BOOST_STATIC_ASSERT ( sizeof(comm_i_names = =sizeof(comm_i_funcs))

Variable Documentation

comm_func_t comm_funcs[]
static
Initial value:
= { &isisicpLib::Idae::beginRun, &isisicpLib::Idae::endRun,
&isisicpLib::Idae::pauseRun, &isisicpLib::Idae::resumeRun, &isisicpLib::Idae::abortRun,
&isisicpLib::Idae::updateCRPT, &isisicpLib::Idae::storeCRPT, &isisicpLib::Idae::quit,
&isisicpLib::Idae::startSEWait, &isisicpLib::Idae::endSEWait, NULL }

Definition at line 37 of file instctrl.cpp.

Referenced by InstCtrlApp::main().

comm_func_i_t comm_i_funcs[] = { &isisicpLib::Idae::changePeriod, NULL }
static

Definition at line 46 of file instctrl.cpp.

Referenced by InstCtrlApp::main().

const char* comm_i_names[] = { "CHANGE_PERIOD", NULL }
static

Definition at line 45 of file instctrl.cpp.

Referenced by InstCtrlApp::main().

const char* comm_names[] = { "BEGIN", "END", "PAUSE", "RESUME", "ABORT", "UPDATE", "STORE", "QUIT", "WAIT", "ENDWAIT", NULL }
static

Definition at line 36 of file instctrl.cpp.

Referenced by InstCtrlApp::main().

comm_func_s_i_t comm_s_i_funcs[] = { &isisicpLib::Idae::setICPValueLong, &isisicpLib::Idae::loadDAEWithData, NULL }
static

Definition at line 43 of file instctrl.cpp.

Referenced by InstCtrlApp::main().

const char* comm_s_i_names[] = { "SETVAL", "LOAD", NULL }
static

Definition at line 42 of file instctrl.cpp.

Referenced by InstCtrlApp::main().