ALMA Computing Group

acsexmplClientFridgeNC.cpp File Reference

More...

#include <maciSimpleClient.h>
#include <acsncSimpleConsumer.h>
#include "acsexmplFridgeC.h"

Include dependency graph for acsexmplClientFridgeNC.cpp:

Include dependency graph

Go to the source code of this file.

Functions

void myHandlerFunction (FRIDGE::temperatureDataBlockEvent joe, void *handlerParam)
 Function designed to do something useful with temperatureDataBlockEvents received from the "fridge" channel.
int main (int argc, char *argv[])
 


Detailed Description



Parameters:
-ORBEndpoint iiop://yyy:xxxx Use this optional parameter to specify which host/port SimpleClient should run on.

-m corbaloc::yyy:xxxx/Manager Use this optional parameter to specify where manager is.

Definition in file acsexmplClientFridgeNC.cpp.


Function Documentation

int main int  argc,
char *  argv[]
 

Definition at line 118 of file acsexmplClientFridgeNC.cpp.

References myHandlerFunction().

void myHandlerFunction FRIDGE::temperatureDataBlockEvent  joe,
void *  handlerParam
 

Function designed to do something useful with temperatureDataBlockEvents received from the "fridge" channel.

Prints only the first five events so the modular test will be deterministic.

Parameters:
joe A temperatureDataBlockEvent describing the current status of a fridge device
Returns:
void *

Definition at line 104 of file acsexmplClientFridgeNC.cpp.

Referenced by main().