Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

DDSSubscriber.h File Reference

#include <DDSHelper.h>
#include <acsddsncDataReaderListener.h>
#include <dds/DCPS/SubscriberImpl.h>

Include dependency graph for DDSSubscriber.h:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  ddsnc

Classes

class  ddsnc::DDSSubscriber

Defines

#define ACS_NEW_DDS_SUBSCRIBER(subscriber_p, idlStruct, channelName, handlerFunc, handlerParam)


Define Documentation

#define ACS_NEW_DDS_SUBSCRIBER subscriber_p,
idlStruct,
channelName,
handlerFunc,
handlerParam   ) 
 

Value:

{ \ subscriber_p= new ddsnc::DDSSubscriber(channelName); \ subscriber_p->initialize<idlStruct, idlStruct##TypeSupport_var, idlStruct##TypeSupportImpl>(); \ subscriber_p->addSubscription<idlStruct##DataReader_var, idlStruct##DataReader, idlStruct>(handlerFunc, handlerParam); \ }
Create a new DDS Subscriber in an easy way.

Create a new DDSSubscribe object, then initialize the subscribe and finally execute the addSubscription function.

See also:
DDSSubscriber()

initialize()

addSubscription()


Generated on Thu Apr 30 02:34:40 2009 for ACS C++ API by doxygen 1.3.8