 |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
|
Go to the documentation of this file. 1 #ifndef SDK_BASE_CONNECTION_POINTS_INTERFACE_H_
11 #define SDK_BASE_CONNECTION_POINTS_INTERFACE_H_
40 SDKUInt32& count)
const throw() = 0;
43 IConnectionPointSP& cp)
const throw() = 0;
46 IConnectionPointSP& cp)
const throw() = 0;
64 SDKUInt32& cookie)
throw() = 0;
70 IConnectionsEnumeratorSP& enumerator)
const throw() = 0;
75 SDK_DECLARE_IID(IConnectionPoint)
84 SDKUInt32* cookie)
const throw() = 0;
88 SDK_IMPLEMENT_IID(IConnectionsEnumerator)
89 SDK_END_INTERFACE(IConnectionsEnumerator)
91 SDK_DECLARE_IID(IConnectionsEnumerator)
96 #endif // SDK_BASE_CONNECTION_POINTS_INTERFACE_H_
A list of SDK error/return results.
virtual SDKResult SDK_CALLTYPE GetConnectionInterfaceId(InterfaceId &id) const =0
Returns connection point interface identifier.
Provides access to connection points implemented by component.
Definition: connection_points_interface.h:35
Interfaces wrapper with reference count control.
virtual SDKResult SDK_CALLTYPE Unadvise(SDKUInt32 &cookie)=0
Disconnects from the connection point.
virtual SDKResult SDK_CALLTYPE FindConnectionPoint(const InterfaceId &id, IConnectionPointSP &cp) const =0
Search for connection points with specified identifier.
virtual SDKResult SDK_CALLTYPE Advise(ISDKComponent *sink, SDKUInt32 &cookie)=0
Connects to the connection point. Cookie starts from 0.
Uuid InterfaceId
Definition of interface UUID.
Definition: sdk_uuid.h:45
virtual SDKResult SDK_CALLTYPE GetConnections(IConnectionsEnumeratorSP &enumerator) const =0
Returns existing connections.
virtual SDKResult SDK_CALLTYPE Reset()=0
Resets the enumeration sequence to the beginning.
virtual SDKResult SDK_CALLTYPE Next(ISDKComponent **sink, SDKUInt32 *cookie) const =0
Retrieves the next connection in the enumeration sequence.
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
virtual SDKResult SDK_CALLTYPE GetConnectionPoint(SDKUInt32 idx, IConnectionPointSP &cp) const =0
Returns specified by index connection points.
Common base SDK interfaces.
SDKUInt32 ConnectionPointCookie
Connection point cookie.
Definition: connection_points_interface.h:27
Base interface for all SDK interfaces.
Definition: sdk_component_interface.h:41
static const SDKUInt32 SDK_MAX_UINT32
Max limit of 32-bit unsigned integer.
Definition: platform.h:179
Allows to connect to the connection point and enumerate all existing connections.
Definition: connection_points_interface.h:55
virtual SDKResult SDK_CALLTYPE GetConnectionPointsCount(SDKUInt32 &count) const =0
Returns number of connection points.
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.
static const ConnectionPointCookie kConnectionPointInvalidCookie
Invalid connection point cookie.
Definition: connection_points_interface.h:29