#include <acsncSimpleSupplier.h>
List of all members.
Detailed Description
SimpleSupplier is used to publish data onto a notification channel defined by the string passed to SimpleSupplier's constructor. To publish data onto the channel, simply invoke the publishData method on the templated type. This particular class blocks until the event is received on manager's host and supports just about any number of event types for the channel it is connected to.
TODO:
Constructor & Destructor Documentation
Constructor. All the work is done in the superclass's constructor.
- Parameters:
-
| channlName | The name of the channel events will be published to. |
| component | A reference to a component is needed for the Event Description (which is normally hidden from Consumers). |
virtual nc::SimpleSupplier::~SimpleSupplier |
( |
|
) |
[protected, virtual] |
Member Function Documentation
void nc::SimpleSupplier::operator= |
( |
const SimpleSupplier & |
|
) |
[private] |
ALMA C++ coding standards state copy operators should be disabled.
publishData is the templated method that actually sends the event to the channel. The templated parameter is the ICD event (i.e., IDL struct) to be sent. Really this is the only Supplier method developers should be invoking from their code.
- Parameters:
-
| data | The templated data structure to be published. |
| evProcCallback | Pointer to the callback to handle event's fate, by default is null |
- Exceptions:
-
| ACSErrTypeCommon::CORBAProblemEx |
|
Member Data Documentation
CORBA Any taken out of the publishData method for a small performance increase.
The documentation for this class was generated from the following file: