20 #ifndef FE_NAVDATA_PORT_H 21 #define FE_NAVDATA_PORT_H 25 #include <redhawk/FRONTEND/NavigationData.h> 31 virtual frontend::NavigationPacket
get_nav_packet(
const std::string& port_name) {
32 return frontend::NavigationPacket();
34 virtual void set_nav_packet(
const std::string& port_name,
const frontend::NavigationPacket &nav_info) {
63 return "IDL:FRONTEND/NavData:1.0";
74 template<
typename PortType_var,
typename PortType>
83 frontend::NavigationPacket retval;
84 typename std::vector < std::pair < PortType_var, std::string > >::iterator i;
89 const FRONTEND::NavigationPacket_var tmp = ((*i).first)->
nav_packet();
98 typename std::vector < std::pair < PortType_var, std::string > >::iterator i;
std::string name
Definition: Port_impl.h:316
void nav_packet(const FRONTEND::NavigationPacket &gps)
Definition: fe_navdata_port_impl.h:56
boost::mutex updatingPortsLock
Definition: Port_impl.h:360
Definition: fe_tuner_device.h:37
Definition: fe_navdata_port_impl.h:112
Definition: Port_impl.h:364
std::vector< std::pair< PortType_var, std::string > > outConnections
Definition: fe_port_impl.h:298
~OutNavDataPortT()
Definition: fe_navdata_port_impl.h:80
void nav_packet(const frontend::NavigationPacket &nav)
Definition: fe_navdata_port_impl.h:97
nav_delegation * parent
Definition: fe_navdata_port_impl.h:64
Definition: fe_navdata_port_impl.h:29
InNavDataPort(std::string port_name, nav_delegation *_parent)
Definition: fe_navdata_port_impl.h:43
~InNavDataPort()
Definition: fe_navdata_port_impl.h:48
Definition: fe_navdata_port_impl.h:40
FRONTEND::NavigationPacket * nav_packet()
Definition: fe_navdata_port_impl.h:50
OutNavDataPortT(std::string port_name)
Definition: fe_navdata_port_impl.h:78
virtual frontend::NavigationPacket get_nav_packet(const std::string &port_name)
Definition: fe_navdata_port_impl.h:31
boost::mutex portAccess
Definition: fe_navdata_port_impl.h:68
bool active
Definition: Port_impl.h:359
virtual void set_nav_packet(const std::string &port_name, const frontend::NavigationPacket &nav_info)
Definition: fe_navdata_port_impl.h:34
FRONTEND::NavigationPacket * returnNavigationPacket(const frontend::NavigationPacket &val)
Definition: fe_port_impl.h:166
OutNavDataPort(std::string port_name)
Definition: fe_navdata_port_impl.h:114
frontend::NavigationPacket nav_packet()
Definition: fe_navdata_port_impl.h:82
Definition: fe_navdata_port_impl.h:75
std::string getRepid() const
Definition: fe_navdata_port_impl.h:62
Definition: fe_port_impl.h:238