42 #ifndef SUTRA_RTC_BRAHMA_H_
43 #define SUTRA_RTC_BRAHMA_H_
45 #include <BRAHMA_context.h>
47 #include <SutraRtcBrahmaListenerImpl.h>
54 DDS::Subscriber_var sub;
55 DDS::Publisher_var pub;
57 DDS::DataReaderListener_var cmd_listener;
59 DDS::DataReader_var cmd_dr;
61 DDS::DataWriter_var superframe_base_dw;
62 BRAHMA::SuperFrameDataWriter_var superframe_dw;
63 DDS::InstanceHandle_t superframe_handle;
65 DDS::DataWriter_var megaframe_base_dw;
66 BRAHMA::MegaFrameDataWriter_var megaframe_dw;
67 DDS::InstanceHandle_t megaframe_handle;
69 CORBA::Octet *buff_wfs;
70 CORBA::Octet *buff_wfs_phase;
71 CORBA::Octet *buff_intensities;
72 CORBA::Octet *buff_slopes;
73 CORBA::Octet *buff_commands;
74 CORBA::Octet *buff_target;
75 CORBA::Octet *buff_target_phase;
77 CORBA::ULong *dims_wfs;
78 CORBA::ULong *dims_wfs_phase;
79 CORBA::ULong *dims_intensities;
80 CORBA::ULong *dims_slopes;
81 CORBA::ULong *dims_commands;
82 CORBA::ULong *dims_target;
83 CORBA::ULong *dims_target_phase;
92 int target_phase_size;
109 void allocate_buffers();