CHAI SDK
Version 1.3
|
The RemoteDevice object is used to perform remote operations on any device on the network. More...
Public Member Functions | |
virtual CPNS::boolean | IsValid () const =0 |
Check if the device is valid. More... | |
virtual void | CancelSubTask ()=0 |
Cancel a IRemoteDevice creation initiated by ICHAI::CreateRemoteDevice. More... | |
virtual CPNS::DeviceID | GetDeviceID () const =0 |
Get the DeviceID. More... | |
virtual CPNS::DeviceID | GetParentDeviceID () const =0 |
Get the parent DeviceID. More... | |
virtual CPNS::CombinedDeviceCapabilities | GetDeviceCapabilities () const =0 |
Get the consolidated capabilities of the device and its children. More... | |
virtual CPNS::CombinedInOutCapabilities | GetOutputCapabilities () const =0 |
Get the consolidated Output capabilities of the device and its children. More... | |
virtual CPNS::CombinedInOutCapabilities | GetInputCapabilities () const =0 |
Get the consolidated Input capabilities of the device and its children. More... | |
virtual CPNS::CombinedDeviceCapabilities | GetOwnDeviceCapabilities () const =0 |
Get the device capabilities. More... | |
virtual CPNS::CombinedInOutCapabilities | GetOwnOutputCapabilities () const =0 |
Get the Output capabilities. More... | |
virtual CPNS::CombinedInOutCapabilities | GetOwnInputCapabilities () const =0 |
Get the Input capabilities. More... | |
virtual CPNS::CombinedExtendedDeviceCapabilities | GetExtendedDeviceCapabilities () const =0 |
Get the extended device capabilities. More... | |
virtual CPNS::UTF8String | GetName () const =0 |
Get the display name. More... | |
virtual CPNS::UTF8String | GetMachineName () const =0 |
Get the machine name. More... | |
virtual CPNS::UTF8String | GetMachineMACAddress () const =0 |
Get the machine MAC address. More... | |
virtual CPNS::MachineID | GetMachineID () const =0 |
Get the machine ID. More... | |
virtual CPNS::boolean | IsLocal ()=0 |
Check if the device is local. More... | |
virtual CPNS::uint32 | GetCHAIGroups () const =0 |
Get the Group flags related to the device. More... | |
virtual CPNS::Enums::Errors | GenericChange (CPNS::char8 const *const utf8CustomName, CPNS::Enums::DuplicateModes const duplicateMode, CPNS::uint32 const dwDuplicateNumber, CPNS::uint32 const dwGroups)=0 |
Apply generic changes. More... | |
virtual void | RegisterWatcherNotificationHandler (CPNS::CombinedWatcherPOIs const POIs, CPNS::IRemoteDevice_WatcherNotificationHandler *const pHandler)=0 |
Register a watcher notification handler. More... | |
virtual void | UnregisterWatcherNotificationHandler (CPNS::IRemoteDevice_WatcherNotificationHandler *const pHandler)=0 |
Unregister a watcher notification handler. More... | |
virtual CPNS::IAsync * | GetName_Async (CPNS::Enums::DeviceNameFormats const format, CPNS::IRemoteDevice_GetName_AsyncReturnHandler *const pHandler, void *const pUserPointer)=0 |
Get the device name. More... | |
virtual CPNS::IAsync * | GetProperty_Async (CPNS::Enums::ExplorationCommands const ec, CPNS::uint16 const propertyID, CPNS::IRemoteDevice_GetProperty_AsyncReturnHandler *const pHandler, void *const pUserPointer)=0 |
Get a device property. More... | |
virtual CPNS::Enums::Errors | ClearAllDestinations (CPNS::boolean const fRecursive)=0 |
Clear all destinations on all Outputs. More... | |
virtual CPNS::Enums::Errors | ClearDestinations (CPNS::uint16 const wOutputID)=0 |
Clear all destinations for the specified Output. More... | |
virtual CPNS::IAsync * | GetDestination_Async (CPNS::uint16 const wOutputID_or_ControllerID, CPNS::uint16 const wDestinationIndex, CPNS::IRemoteDevice_GetDestination_AsyncReturnHandler *const pHandler, void *const pUserPointer)=0 |
Get a destination. More... | |
virtual CPNS::IAsync * | GetDetailedDestination_Async (CPNS::uint16 const wOutputID_or_ControllerID, CPNS::uint16 const wDestinationIndex, CPNS::IRemoteDevice_GetDetailedDestination_AsyncReturnHandler *const pHandler, void *const pUserPointer)=0 |
Get a destination with more details (path, machine name...) This method can be used to enumerate the current destinations related to the specified Output. More... | |
virtual CPNS::Enums::Errors | AddDestination (CPNS::uint16 const wOutputID, CPNS::Endpoint const &destination)=0 |
Add a destination to an Output. More... | |
virtual CPNS::Enums::Errors | ChangeDestination (CPNS::uint16 const wOutputID, CPNS::Endpoint const &prevDestination, CPNS::Endpoint const &newDestination)=0 |
Change a destination on an Output. More... | |
virtual CPNS::Enums::Errors | RemoveDestination (CPNS::uint16 const wOutputID, CPNS::Endpoint const &destination)=0 |
Remove a destination from an Output. More... | |
virtual CPNS::IAsync * | GetDestinationCount_Async (CPNS::uint16 const wOutputID_or_ControllerID, CPNS::IRemoteDevice_GetDestinationCount_AsyncReturnHandler *const pHandler, void *const pUserPointer)=0 |
Get the number of destination. More... | |
virtual CPNS::IAsync * | GetConnectedDevices_Async (CPNS::boolean const fIncludingSubDevices, CPNS::IRemoteDevice_GetConnectedDevices_AsyncReturnHandler *const pHandler, void *const pUserPointer)=0 |
Get the list of connected devices. More... | |
virtual CPNS::Enums::Errors | ClearAllRecordingDestinations (CPNS::boolean const fRecursive)=0 |
Clear all recording destinations. More... | |
virtual CPNS::Enums::Errors | ClearRecordingDestinations (CPNS::uint16 const wOutputID_or_ControllerID)=0 |
Clear all recording destinations for the specified Output or Controller. More... | |
virtual CPNS::IAsync * | GetRecordingDestination_Async (CPNS::uint16 const wOutputID, CPNS::uint16 const wDestinationIndex, CPNS::IRemoteDevice_GetDestination_AsyncReturnHandler *const pHandler, void *const pUserPointer)=0 |
Get a recording destination from the specified Output or Controller. More... | |
virtual CPNS::IAsync * | GetRecordingDetailedDestination_Async (CPNS::uint16 const wOutputID_or_ControllerID, CPNS::uint16 const wDestinationIndex, CPNS::IRemoteDevice_GetDetailedDestination_AsyncReturnHandler *const pHandler, void *const pUserPointer)=0 |
Get a recording destination with more details (path, machine name...) from the specified Output or Controller. More... | |
virtual CPNS::Enums::Errors | AddRecordingDestination (CPNS::uint16 const wOutputID_or_ControllerID, CPNS::Endpoint const &destination)=0 |
Add a recording destination to the specified Output or Controller. More... | |
virtual CPNS::Enums::Errors | ChangeRecordingDestination (CPNS::uint16 const wOutputID_or_ControllerID, CPNS::Endpoint const &prevDestination, CPNS::Endpoint const &newDestination)=0 |
Change a recording destination on the specified Output or Controller. More... | |
virtual CPNS::Enums::Errors | RemoveRecordingDestination (CPNS::uint16 const wOutputID_or_ControllerID, CPNS::Endpoint const &destination)=0 |
Remove a recording destination from the specified Output or Controller. More... | |
virtual CPNS::IAsync * | GetInputInfo_Async (CPNS::Enums::ExplorationCommands const ec, CPNS::uint16 const wInputID, CPNS::IRemoteDevice_GetInputInfo_AsyncReturnHandler *const pHandler, void *const pUserPointer)=0 |
Get input information. More... | |
virtual CPNS::IAsync * | GetOutputInfo_Async (CPNS::Enums::ExplorationCommands const ec, CPNS::uint16 const wOutputID, CPNS::IRemoteDevice_GetOutputInfo_AsyncReturnHandler *const pHandler, void *const pUserPointer)=0 |
Get output information. More... | |
virtual CPNS::IAsync * | GetControllerInfo_Async (CPNS::Enums::ExplorationCommands const ec, CPNS::uint16 const wControllerID, CPNS::IRemoteDevice_GetControllerInfo_AsyncReturnHandler *const pHandler, void *const pUserPointer)=0 |
Get Controller information. More... | |
virtual CPNS::IAsync * | GetParameterInfo_Async (CPNS::Enums::ExplorationCommands const ec, CPNS::SectionID const §ionID, CPNS::uint16 const wFilterInputID, CPNS::ParameterID const ¶mID, CPNS::IRemoteDevice_GetParameterInfo_AsyncReturnHandler *const pHandler, void *const pUserPointer)=0 |
Get parameter information. More... | |
virtual CPNS::IAsync * | GetModifierDataTypeInfo_Async (CPNS::ParameterID const ¶mID, CPNS::Enums::ExplorationCommands const ec, CPNS::Enums::DataTypes const dataType, CPNS::IRemoteDevice_GetModifierDataTypeInfo_AsyncReturnHandler *const pHandler, void *const pUserPointer)=0 |
Get Modifier parameter value range information. More... | |
virtual CPNS::IAsync * | GetSelectorParameterValueText_Async (CPNS::IListID *const pSelectorItemListID, CPNS::uint16 const wItemIndex, CPNS::boolean const fRequestMultipleValues, CPNS::IRemoteDevice_GetSelectorParameterValueText_AsyncReturnHandler *const pHandler, void *const pUserPointer)=0 |
Get Selector parameter item description. More... | |
virtual CPNS::IAsync * | GetIndexListItem_Async (CPNS::IListID *const pIndexListID, CPNS::uint16 const wMsgIndex, CPNS::boolean const fRequestMultipleValues, CPNS::IRemoteDevice_GetIndexListItem_AsyncReturnHandler *const pHandler, void *const pUserPointer)=0 |
Get one or more ItemList irem description. More... | |
virtual CPNS::IAsync * | GetParameterPath_Async (CPNS::ParameterID const ¶mID, CPNS::IRemoteDevice_GetParameterPath_AsyncReturnHandler *const pHandler, void *const pUserPointer)=0 |
Get a parameter path. More... | |
virtual CPNS::Enums::Errors | AssignController (CPNS::uint16 const wControllerID, CPNS::ControllerAssignment const &assignment)=0 |
Assign a controller to a message. More... | |
virtual CPNS::Enums::Errors | ResetController (CPNS::uint16 const wControllerID)=0 |
Reset default controller assignment. More... | |
virtual CPNS::Enums::Errors | ResetAllControllers (CPNS::boolean const fRecursive)=0 |
Reset all controllers. More... | |
virtual CPNS::IAsync * | CollectSnapshotData_Async (CPNS::Enums::SnapshotTypes const type, CPNS::uint32 const dwOffset, CPNS::uint32 const dwContextData, CPNS::uint16 const wMaxBlockSize, CPNS::IRemoteDevice_CollectSnapshotData_AsyncReturnHandler *const pHandler, void *const pUserPointer)=0 |
Collect snapshot data. More... | |
virtual CPNS::IAsync * | RestoreSnapshotData_Async (CPNS::Enums::SnapshotTypes const type, CPNS::uint32 const dwOffset, CPNS::uint32 const dwContextData, CPNS::uint16 const wBlockSize, CPNS::boolean const fLastBlock, CPNS::byte const *const pBlockData, CPNS::IRemoteDevice_RestoreSnapshotData_AsyncReturnHandler *const pHandler, void *const pUserPointer)=0 |
Restore a snapshot data block to the remote device. More... | |
virtual CPNS::Enums::Errors | Learn (CPNS::boolean const activate, CPNS::uint16 const wControllerID)=0 |
Set the remote device in learning mode. More... | |
virtual CPNS::IAsync * | SmartConnectStart_Async (CPNS::uint16 const wArraySize, CPNS::DeviceID const *const arSourceDeviceIDs, CPNS::IRemoteDevice_SmartConnectStart_AsyncReturnHandler *const pHandler, void *const pUserPointer)=0 |
Initiate a SmartConnect session. More... | |
Public Member Functions inherited from CPNS::IHookedObject | |
virtual void | Acquire ()=0 |
Acquire an object. More... | |
virtual void | Release ()=0 |
Release an object. More... | |
virtual CPNS::uint32 | GetHookCounter () const =0 |
Get object's hook counter. More... | |
Public Member Functions inherited from CPNS::IObject | |
virtual CPNS::ICHAI * | GetCHAI ()=0 |
Get a pointer to the CHAI hosting this object. More... | |
virtual void | RegisterObjectNotificationHandler (CPNS::IObject_NotificationHandler *const pHandler)=0 |
Register an Object's notification handler. More... | |
virtual void | UnregisterObjectNotificationHandler (CPNS::IObject_NotificationHandler *const pHandler)=0 |
Unregister an Object's notification handler. More... | |
virtual CPNS::Enums::ObjectTypes | GetObjectType () const =0 |
Get the object type. More... | |
virtual CPNS::uint32 | GetHandle () const =0 |
Get a unique handle to the object if this object is handled by the trashcan. More... | |
virtual void | SetUserDataPtr (void const *const pData)=0 |
Set a custom user ptr data. More... | |
virtual void * | GetUserDataPtr () const =0 |
Get custom user ptr data. More... | |
virtual void | SetUserDataUInt32 (const CPNS::uint32 dwData)=0 |
Set a custom user uint32 data. More... | |
virtual CPNS::uint32 | GetUserDataUInt32 () const =0 |
Get custom user uint32 data. More... | |
The RemoteDevice object is used to perform remote operations on any device on the network.
|
pure virtual |
Add a destination to an Output.
[in] | wOutputID | Output ID, can be 0xFFFF to apply on all outputs. |
[in] | destination | destination endpoint |
|
pure virtual |
Add a recording destination to the specified Output or Controller.
[in] | wOutputID_or_ControllerID | Output ID or Controller ID |
[in] | destination | destination endpoint |
|
pure virtual |
Assign a controller to a message.
[in] | wControllerID | the Controller ID. |
[in] | assignment | the assignment, containing target endpoint and message description. |
|
pure virtual |
Cancel a IRemoteDevice creation initiated by ICHAI::CreateRemoteDevice.
It is very important to cancel a remote device creation using this method before destroying the notification object implementing IRemoteDevice_NotificationHandler or IRemoteDevice_NotificationHandler2.
|
pure virtual |
Change a destination on an Output.
[in] | wOutputID | Output ID , can be 0xFFFF to apply on all outputs. |
[in] | prevDestination | previous destination endpoint |
[in] | newDestination | new destination endpoint |
|
pure virtual |
Change a recording destination on the specified Output or Controller.
[in] | wOutputID_or_ControllerID | Output ID or Controller ID |
[in] | prevDestination | previous destination endpoint |
[in] | newDestination | new destination endpoint |
|
pure virtual |
Clear all destinations on all Outputs.
[in] | fRecursive | TRUE to clear all destination of the remote device and all of its children |
|
pure virtual |
Clear all recording destinations.
[in] | fRecursive | TRUE to clear all destination of the remote device and all of its children |
|
pure virtual |
Clear all destinations for the specified Output.
[in] | wOutputID | Output ID, can be 0xFFFF to apply on all Outputs. |
|
pure virtual |
Clear all recording destinations for the specified Output or Controller.
[in] | wOutputID_or_ControllerID | Output ID or ControllerID, can be 0xFFFF to apply on all recording destination. |
|
pure virtual |
Collect snapshot data.
[in] | type | Requested snapshot information type |
[in] | dwOffset | Collect operation starts with offset 0. |
[in] | dwContextData | Context data. 0 for the 1st block, then value get from previous OnRemoteDevice_CollectSnapshotData_Return |
[in] | wMaxBlockSize | Specify a maximum block size. This is the maximum amount of data the collecting application can handle. |
[in] | pHandler | Pointer to the application object implementing IRemoteDevice_CollectSnapshotData_AsyncReturnHandler |
[in] | pUserPointer | a user pointer available in the AsyncReturnHandler using CPNS::IAsync::GetUserPointer() |
|
pure virtual |
Apply generic changes.
[in] | utf8CustomName | Custom name, can be NULL to clear it and come back to default name |
[in] | duplicateMode | Duplicate resolution mode |
[in] | dwDuplicateNumber | Preferred duplicate number for DM_Auto mode (might change in case of conflict), or requested number for DM_Fixed mode. |
[in] | dwGroups | Group bit field: 31 LSB = one per group; MSB = super-group |
|
pure virtual |
Get the Group flags related to the device.
|
pure virtual |
Get the list of connected devices.
[in] | fIncludingSubDevices | TRUE if the query is related to the remote device and all of its sub-devices. |
[in] | pHandler | Pointer to the application object implementing IRemoteDevice_GetConnectedDevices_AsyncReturnHandler |
[in] | pUserPointer | a user pointer available in the AsyncReturnHandler using CPNS::IAsync::GetUserPointer() |
|
pure virtual |
Get Controller information.
[in] | ec | exploration command. |
[in] | wControllerID | Relevant when ec in (EC_FindFirst, EC_FindNext, EC_FindPrev, EC_FindLast). Controller ID related to the exploration command |
[in] | pHandler | Pointer to the application object implementing IRemoteDevice_GetControllerInfo_AsyncReturnHandler |
[in] | pUserPointer | a user pointer available in the AsyncReturnHandler using CPNS::IAsync::GetUserPointer() |
|
pure virtual |
Get a destination.
This method can be used to enumerate the current destinations related to the specified Output.
[in] | wOutputID_or_ControllerID | Output or Controller ID |
[in] | wDestinationIndex | Destination index. To enumerate destinations, start from 0 and loop until the AsyncReturnHandler fails. Note that a Controller manages only one destination. |
[in] | pHandler | Pointer to the application object implementing IRemoteDevice_GetDestination_AsyncReturnHandler |
[in] | pUserPointer | a user pointer available in the AsyncReturnHandler using CPNS::IAsync::GetUserPointer() |
|
pure virtual |
Get the number of destination.
[in] | wOutputID_or_ControllerID | Output or Controller ID |
[in] | pHandler | Pointer to the application object implementing IRemoteDevice_GetDestinationCount_AsyncReturnHandler |
[in] | pUserPointer | a user pointer available in the AsyncReturnHandler using CPNS::IAsync::GetUserPointer() |
|
pure virtual |
Get a destination with more details (path, machine name...) This method can be used to enumerate the current destinations related to the specified Output.
[in] | wOutputID_or_ControllerID | Output or Controller ID |
[in] | wDestinationIndex | Destination index. To enumerate destinations, start from 0 and loop until the AsyncReturnHandler fails. Note that a Controller manages only one destination. |
[in] | pHandler | Pointer to the application object implementing IRemoteDevice_GetDetailedDestination_AsyncReturnHandler |
[in] | pUserPointer | a user pointer available in the AsyncReturnHandler using CPNS::IAsync::GetUserPointer() |
|
pure virtual |
Get the consolidated capabilities of the device and its children.
|
pure virtual |
Get the DeviceID.
|
pure virtual |
Get the extended device capabilities.
|
pure virtual |
Get one or more ItemList irem description.
[in] | pIndexListID | the Index List ID. |
[in] | wMsgIndex | Message index. CAUTION: first item is related to message index 1! |
[in] | fRequestMultipleValues | TRUE if multiple consecutive values from wMsgIndex are requested. |
[in] | pHandler | Pointer to the application object implementing IRemoteDevice_GetIndexListItem_AsyncReturnHandler |
[in] | pUserPointer | a user pointer available in the AsyncReturnHandler using CPNS::IAsync::GetUserPointer() |
|
pure virtual |
Get the consolidated Input capabilities of the device and its children.
|
pure virtual |
Get input information.
[in] | ec | exploration command. |
[in] | wInputID | Relevant when ec in (EC_FindNext, EC_FindPrev, EC_Get). Input ID related to the exploration command |
[in] | pHandler | Pointer to the application object implementing IRemoteDevice_GetInputInfo_AsyncReturnHandler |
[in] | pUserPointer | a user pointer available in the AsyncReturnHandler using CPNS::IAsync::GetUserPointer() |
|
pure virtual |
Get the machine ID.
|
pure virtual |
Get the machine MAC address.
|
pure virtual |
Get the machine name.
|
pure virtual |
Get Modifier parameter value range information.
[in] | paramID | Parameter ID. The index part is ignored since we are collecting the Parameter description, not the Parameter instances! |
[in] | ec | the exploration command. |
[in] | dataType | Relevant when ec in (EC_FindNext, EC_FindPrev, EC_Get). The data type related to the exploration command |
[in] | pHandler | Pointer to the application object implementing IRemoteDevice_GetModifierDataTypeInfo_AsyncReturnHandler |
[in] | pUserPointer | a user pointer available in the AsyncReturnHandler using CPNS::IAsync::GetUserPointer() |
|
pure virtual |
Get the display name.
|
pure virtual |
Get the device name.
Query the remote device about its name, depending on format argument.
[in] | format | requested name format |
[in] | pHandler | Pointer to the application object implementing IRemoteDevice_GetName_AsyncReturnHandler |
[in] | pUserPointer | a user pointer available in the AsyncReturnHandler using CPNS::IAsync::GetUserPointer() |
|
pure virtual |
Get the consolidated Output capabilities of the device and its children.
|
pure virtual |
Get output information.
[in] | ec | exploration command. |
[in] | wOutputID | Relevant when ec in (EC_FindNext, EC_FindPrev, EC_Get). Output ID related to the exploration command |
[in] | pHandler | Pointer to the application object implementing IRemoteDevice_GetOutputInfo_AsyncReturnHandler |
[in] | pUserPointer | a user pointer available in the AsyncReturnHandler using CPNS::IAsync::GetUserPointer() |
|
pure virtual |
Get the device capabilities.
|
pure virtual |
Get the Input capabilities.
|
pure virtual |
Get the Output capabilities.
|
pure virtual |
Get parameter information.
[in] | ec | exploration command. |
[in] | sectionID | Relevant when ec in (EC_FindFirst, EC_FindNext, EC_FindPrev, EC_FindLast). Section ID from where to enumerate parameters. Wildcards can be used (CPNS::SectionID::AnySectionID | CPNS::SectionID::AnyInstanceOf) |
[in] | wFilterInputID | Relevant when ec in (EC_FindFirst, EC_FindNext, EC_FindPrev, EC_FindLast). Can be used to limit the scan range to a single input in case of sectionID wildcard usage. To avoid filtering, use the wildcard 0xFFFF. |
[in] | paramID | Relevant when ec in (EC_FindNext, EC_FindPrev, EC_Get). Parameter ID related to the exploration command |
[in] | pHandler | Pointer to the application object implementing IRemoteDevice_GetParameterInfo_AsyncReturnHandler |
[in] | pUserPointer | a user pointer available in the AsyncReturnHandler using CPNS::IAsync::GetUserPointer() |
|
pure virtual |
Get a parameter path.
[in] | paramID | Parameter ID. |
[in] | pHandler | Pointer to the application object implementing IRemoteDevice_GetParameterPath_AsyncReturnHandler |
[in] | pUserPointer | a user pointer available in the AsyncReturnHandler using CPNS::IAsync::GetUserPointer() |
|
pure virtual |
Get the parent DeviceID.
|
pure virtual |
Get a device property.
Query the remote device about one of its properties, depending on exploration command and propertyID argument.
[in] | ec | exploration command. |
[in] | propertyID | Relevant when ec in (EC_FindNext, EC_FindPrev, EC_Get). requested property related to the exploration command |
[in] | pHandler | Pointer to the application object implementing IRemoteDevice_GetProperty_AsyncReturnHandler |
[in] | pUserPointer | a user pointer available in the AsyncReturnHandler using CPNS::IAsync::GetUserPointer() |
|
pure virtual |
Get a recording destination from the specified Output or Controller.
[in] | wOutputID | Output ID or Controller ID |
[in] | wDestinationIndex | Destination index. To enumerate destinations, start from 0 and loop until the AsyncReturnHandler fails. |
[in] | pHandler | Pointer to the application object implementing IRemoteDevice_GetDestination_AsyncReturnHandler |
[in] | pUserPointer | a user pointer available in the AsyncReturnHandler using CPNS::IAsync::GetUserPointer() |
|
pure virtual |
Get a recording destination with more details (path, machine name...) from the specified Output or Controller.
[in] | wOutputID_or_ControllerID | Output ID or Controller ID |
[in] | wDestinationIndex | Destination index. To enumerate destinations, start from 0 and loop until the AsyncReturnHandler fails. |
[in] | pHandler | Pointer to the application object implementing IRemoteDevice_GetDetailedDestination_AsyncReturnHandler |
[in] | pUserPointer | a user pointer available in the AsyncReturnHandler using CPNS::IAsync::GetUserPointer() |
|
pure virtual |
Get Selector parameter item description.
[in] | pSelectorItemListID | the selector's item list ID |
[in] | wItemIndex | item index, 0 based |
[in] | fRequestMultipleValues | TRUE if multiple consecutive values from wItemIndex are requested. |
[in] | pHandler | Pointer to the application object implementing IRemoteDevice_GetSelectorParameterValueText_AsyncReturnHandler |
[in] | pUserPointer | a user pointer available in the AsyncReturnHandler using CPNS::IAsync::GetUserPointer() |
|
pure virtual |
Check if the device is local.
|
pure virtual |
Check if the device is valid.
|
pure virtual |
Set the remote device in learning mode.
[in] | activate | TRUE to activate the learn mode, FALSE to stop it. |
[in] | wControllerID | Controller to be assigned by learning. |
|
pure virtual |
Register a watcher notification handler.
The watcher notification handler is used to notify the application when something occurs on the remote device side.
[in] | POIs | Bitfield containing the points of interest. |
[in] | pHandler | Pointer to the application object implementing IRemoteDevice_WatcherNotificationHandler. If pHandler is NULL, clear all registered handlers. |
|
pure virtual |
Remove a destination from an Output.
[in] | wOutputID | Output ID , can be 0xFFFF to apply on all outputs. |
[in] | destination | destination endpoint |
|
pure virtual |
Remove a recording destination from the specified Output or Controller.
[in] | wOutputID_or_ControllerID | Output or Controller ID |
[in] | destination | destination endpoint |
|
pure virtual |
Reset all controllers.
[in] | fRecursive | TRUE to reset all controller of the remote device and all of its children |
|
pure virtual |
Reset default controller assignment.
[in] | wControllerID | The Controller ID. |
|
pure virtual |
Restore a snapshot data block to the remote device.
[in] | type | Snapshot information type related to this block |
[in] | dwOffset | Block offset |
[in] | dwContextData | Context data. 0 for the 1st block, then value get from previous IRemoteDevice_RestoreSnapshotData_AsyncReturnHandler |
[in] | wBlockSize | Block size, will be the same for each restore request |
[in] | fLastBlock | TRUE if this is the last block |
[in] | pBlockData | Block data |
[in] | pHandler | Pointer to the application object implementing IRemoteDevice_RestoreSnapshotData_AsyncReturnHandler |
[in] | pUserPointer | a user pointer available in the AsyncReturnHandler using CPNS::IAsync::GetUserPointer() |
|
pure virtual |
Initiate a SmartConnect session.
Call this method from the RemoteDevice related to the target. The source device IDs array contains a list of controller devices to be assigned during this session.
[in] | wArraySize | source device ID array size (theoretical max ~80, but take care of target memory!) |
[in] | arSourceDeviceIDs | source device ID array |
[in] | pHandler | Pointer to the application object implementing IRemoteDevice_GetName_AsyncReturnHandler |
[in] | pUserPointer | a user pointer available in the AsyncReturnHandler using CPNS::IAsync::GetUserPointer() |
|
pure virtual |
Unregister a watcher notification handler.
[in] | pHandler | Pointer to the application object implementing IRemoteDevice_WatcherNotificationHandler. If pHandler is NULL, clear all registered handlers. |