20 #ifndef RTC_PORTBASE_H
21 #define RTC_PORTBASE_H
29 #include <rtm/idl/RTCSkel.h>
37 #pragma warning( disable : 4290 )
42 class ConnectionCallback;
135 :
public virtual POA_RTC::PortService,
136 public virtual PortableServer::RefCountServantBase
237 throw (CORBA::SystemException);
319 throw (CORBA::SystemException);
361 throw (CORBA::SystemException);
520 virtual ReturnCode_t
connect(ConnectorProfile& connector_profile)
521 throw (CORBA::SystemException);
638 virtual ReturnCode_t
notify_connect(ConnectorProfile& connector_profile)
639 throw (CORBA::SystemException);
706 virtual ReturnCode_t
disconnect(
const char* connector_id)
707 throw (CORBA::SystemException);
798 throw (CORBA::SystemException);
820 throw (CORBA::SystemException);
880 void setName(
const char* name);
1345 virtual ReturnCode_t
1374 virtual ReturnCode_t
connectNext(ConnectorProfile& connector_profile);
1402 virtual ReturnCode_t
disconnectNext(ConnectorProfile& connector_profile);
1467 virtual ReturnCode_t
1577 bool isEmptyId(
const ConnectorProfile& connector_profile)
const;
1598 const std::string
getUUID()
const;
1619 void setUUID(ConnectorProfile& connector_profile)
const;
1819 PortInterfacePolarity pol);
1875 template <
class ValueType>
1949 #ifndef ORB_IS_RTORB
1950 bool checkPorts(::RTC::PortServiceList& ports);
1951 #else // ORB_IS_RTORB
1953 #endif // ORB_IS_RTORB
1957 RTC::ConnectorProfile& profile)
1967 RTC::ConnectorProfile& profile)
1976 RTC::ConnectorProfile& profile)
1986 RTC::ConnectorProfile& profile,
1998 RTC::ConnectorProfile& profile,
2010 RTC::ConnectorProfile& profile,
2022 RTC::ConnectorProfile& profile,
2028 portconnret_[
ON_CONNECTED].notify(portname, profile, ret);
2033 RTC::ConnectorProfile& profile,
2044 RTC::ConnectorProfile& profile,
2228 return m_id == std::string(cprof.connector_id);
2245 return m_port->_is_equivalent(port_ref);
2265 CORBA::String_var name(CORBA::string_dup(prof.instance_name));
2266 return ((
m_name == (
const char *)name) && (
m_pol == prof.polarity));
2275 #pragma warning( default : 4290 )
2278 #endif // RTC_PORTBASE_H