#include "acsncConsumer.h"
#include <acsutilAnyAide.h>
#include "acsncErrType.h"
#include "acsncSimpleConsumer.i"
Go to the source code of this file.
Define Documentation
#define ACS_NEW_SIMPLE_CONSUMER |
( |
|
simpConsumer_p, |
|
|
|
idlStruct, |
|
|
|
channelName, |
|
|
|
handlerFunction, |
|
|
|
handlerParam | |
|
) |
| | |
Value:MACRO must be used instead of manually allocating memory for SimpleConsumer pointers. This is done so that consumers/suppliers across the different programming languages do not confuse the type_name field of CORBA structured events.
- Parameters:
-
| simpleConsumer_p | A pointer to an unallocated SimpleConsumer. |
| idlStruct | The IDL struct that will be subscribed to (FRIDGE::temperatureDataBlockEvent for example). |
| channelName | Name of the channel events will be published too. |
| handlerFunction | A function pointer to a function capable of processing idlStruct events. |
| handlerParam | A single void parameter that will be passed to the handlerFunction in addition to the ICD event. |