Changeset 4521 for platform/USRP/trunk/USRP/src/USRP.h
- Timestamp:
- 08/01/07 10:24:16 (6 years ago)
- Location:
- platform/USRP/trunk/USRP/src
- Files:
-
- 1 added
- 1 moved
-
. (added)
-
USRP.h (moved) (moved from platform/USRP/trunk/USRP/USRP.h) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
platform/USRP/trunk/USRP/src/USRP.h
r2589 r4521 26 26 #include <omnithread.h> 27 27 28 #ifdef HAVE_USRP29 28 #include "usrp_standard.h" 30 #endif 29 #include "usrp_dbid.h" 30 #include "usrp_prims.h" 31 31 32 32 #include "ossie/cf.h" … … 147 147 148 148 { 149 friend class USRP_RX_Control_i;150 friend class USRP_TX_Control_i;151 152 friend void rx_data_process(void *);153 154 public:155 USRP_i(char *id, char *label, char *profile);156 157 static void do_rx_data_process(void *u) {((USRP_i *)u)->rx_data_process(); };158 static void do_tx_data_process(void *u) {((USRP_i *)u)->tx_data_process(); };159 160 // Methods from the SCA definition149 friend class USRP_RX_Control_i; 150 friend class USRP_TX_Control_i; 151 152 friend void rx_data_process(void *); 153 154 public: 155 USRP_i(char *id, char *label, char *profile); 156 157 static void do_rx_data_process(void *u) {((USRP_i *)u)->rx_data_process(); }; 158 static void do_tx_data_process(void *u) {((USRP_i *)u)->tx_data_process(); }; 159 160 // Methods from the SCA definition 161 161 void start() throw (CF::Resource::StartError, CORBA::SystemException); 162 162 void stop() throw (CF::Resource::StopError, CORBA::SystemException); … … 182 182 // static void rx_data_process(void * data); ///\todo verify statis is the online way 183 183 184 /// Prints warning about unsupported USRP daughter boards 185 void PrintDaughterboardWarning(const char * db_name); 186 184 187 // Port objects 185 188 USRP_RX_Control_i* rx_control_port; … … 214 217 215 218 long set_rx_packet_count; 216 long rx_packet_count; //Number of packets to collect from USRP, -1 is forever217 unsigned int rx_packet_size; //Number of samples to send to clients218 unsigned int rx_data_size; //Size of words coming from USRP219 long rx_packet_count; ///< Number of packets to collect from USRP, -1 is forever 220 unsigned int rx_packet_size; ///< Number of samples to send to clients 221 unsigned int rx_data_size; ///< Size of words coming from USRP 219 222 unsigned int number_of_channels; 220 bool complex; //True for complex data from USRP223 bool complex; ///< True for complex data from USRP 221 224 unsigned int rx_overruns; 222 225