FACT++  1.0
static void command_routine ( void *  tagp,
void *  buf,
int *  size 
)
static

Definition at line 108 of file discpp.cxx.

References DimCommandHandler::commandHandler(), DimCommand::commandHandler(), DimCore::inCallback, DimCommandHandler::itsCommand, DimCommand::itsCommandHandler, DimCommand::itsData, DimCommand::itsSize, DimCommand::secs, size, and t.

Referenced by DimCommand::declareIt().

109 {
110 // int *tag = (int *)tagp;
111 // int id = *tag;
112  DimCommand *t;
113 
114 // t = (DimCommand *)id_get_ptr(id, SRC_DIS);
115  t = *(DimCommand **)tagp;
116  t->itsData = buf;
117  t->itsSize = *size;
118  t->secs = 0;
119  if( t->itsCommandHandler ) {
124  }
125  else
126  {
128  t->commandHandler();
130  }
131  t->itsData = 0;
132  t->itsSize = 0;
133 }
virtual void commandHandler()=0
void * itsData
Definition: dis.hxx:268
static int inCallback
Definition: dim.hxx:11
DimCommand * itsCommand
Definition: dis.hxx:40
DimCommandHandler * itsCommandHandler
Definition: dis.hxx:248
int size
Definition: db_dim_server.c:17
TT t
Definition: test_client.c:26
int secs
Definition: dis.hxx:298
virtual void commandHandler()
Definition: discpp.cxx:1471
int itsSize
Definition: dis.hxx:269

+ Here is the call graph for this function:

+ Here is the caller graph for this function: