CHAI SDK  Version 1.3
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
CPNS::ICHAI_WatcherNotificationHandler Class Reference

Notification handler for CHAI's watcher feature. More...

Public Member Functions

virtual void OnCHAI_Watcher_DestinationChange (CPNS::DeviceID const devID, CPNS::uint16 const wDestCount)
 Called when some destination changed on a source device along the network. More...
 
virtual void OnCHAI_Watcher_SourceChange (CPNS::DeviceID const devID, CPNS::uint16 const wDestCount)
 Called when some source changed on a target device along the network. More...
 
virtual void OnCHAI_Watcher_ControllerAssignmentChange (CPNS::Endpoint const outputEndpoint)
 Called when some controller assignment changed behind the specified output. More...
 
virtual void OnCHAI_Watcher_SmartConnectOpenSession (CPNS::DeviceID const devID, CPNS::uint16 const wSessionID)
 Called when a SmartConnect session is open on a controller device along the network. More...
 
virtual void OnCHAI_Watcher_SmartConnectOperationCompleted (CPNS::DeviceID const devID, CPNS::uint16 const wSessionID)
 Called when a SmartConnect session is terminated on a controller device along the network. More...
 
virtual void OnCHAI_Watcher_PropertyChanged (CPNS::DeviceID const devID, CPNS::uint16 const wPropertyNum)
 Called when a property value changed on a device along the network. More...
 
virtual void OnCHAI_Watcher_AudioSourceDefinitionChanged (CPNS::DeviceID const devID)
 
virtual void OnCHAI_Watcher_AudioTargetDefinitionChanged (CPNS::DeviceID const devID)
 
virtual void OnCHAI_Watcher_AudioConnectionChanged (CPNS::DeviceID const devID)
 

Detailed Description

Notification handler for CHAI's watcher feature.

See Also
ICHAI::RegisterNotificationHandler

Member Function Documentation

virtual void CPNS::ICHAI_WatcherNotificationHandler::OnCHAI_Watcher_ControllerAssignmentChange ( CPNS::Endpoint const  outputEndpoint)
inlinevirtual

Called when some controller assignment changed behind the specified output.

Remarks
This notification can be called only if the watcher has been registered with CPNS::Enums::WPOI_Controllers flag set.
Parameters
[in]outputEndpointthe output endpoint
virtual void CPNS::ICHAI_WatcherNotificationHandler::OnCHAI_Watcher_DestinationChange ( CPNS::DeviceID const  devID,
CPNS::uint16 const  wDestCount 
)
inlinevirtual

Called when some destination changed on a source device along the network.

Remarks
This notification can be called only if the watcher has been registered with CPNS::Enums::WPOI_Destinations flag set.
Parameters
[in]devIDthe device id
[in]wDestCounttotal number of destinations for Outputs that are not locked or hidden. This value can be 0xFFFF is issued from a CHAI version < 1.2
virtual void CPNS::ICHAI_WatcherNotificationHandler::OnCHAI_Watcher_PropertyChanged ( CPNS::DeviceID const  devID,
CPNS::uint16 const  wPropertyNum 
)
inlinevirtual

Called when a property value changed on a device along the network.

Remarks
This notification can be called only if the watcher has been registered with CPNS::Enums::WPOI_Properties flag set.
Parameters
[in]devIDthe device id
[in]wPropertyNumthe property number
virtual void CPNS::ICHAI_WatcherNotificationHandler::OnCHAI_Watcher_SmartConnectOpenSession ( CPNS::DeviceID const  devID,
CPNS::uint16 const  wSessionID 
)
inlinevirtual

Called when a SmartConnect session is open on a controller device along the network.

Remarks
This notification can be called only if the watcher has been registered with CPNS::Enums::WPOI_SmartConnect flag set.
Parameters
[in]devIDthe device id
[in]wSessionIDthe SmartConnect session ID
virtual void CPNS::ICHAI_WatcherNotificationHandler::OnCHAI_Watcher_SmartConnectOperationCompleted ( CPNS::DeviceID const  devID,
CPNS::uint16 const  wSessionID 
)
inlinevirtual

Called when a SmartConnect session is terminated on a controller device along the network.

Remarks
This notification can be called only if the watcher has been registered with CPNS::Enums::WPOI_SmartConnect flag set.
Parameters
[in]devIDthe device id
[in]wSessionIDthe SmartConnect session ID
virtual void CPNS::ICHAI_WatcherNotificationHandler::OnCHAI_Watcher_SourceChange ( CPNS::DeviceID const  devID,
CPNS::uint16 const  wDestCount 
)
inlinevirtual

Called when some source changed on a target device along the network.

Remarks
This notification can be called only if the watcher has been registered with CPNS::Enums::WPOI_Sources flag set.
Parameters
[in]devIDthe device id
[in]wSrcCounttotal number of sources for Input that are not hidden.