Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed thrift-generated code (you can make it yourself\!)

  • Loading branch information...
commit 62b02e3fe45688eaf5cf002d2ac058819c6e830e 1 parent 23788ce
@ekarak authored
Showing with 0 additions and 462,890 deletions.
  1. +0 −914 gen-cocoa/ozw.h
  2. +0 −54,978 gen-cocoa/ozw.m
  3. +0 −38,624 gen-cpp/RemoteManager.cpp
  4. +0 −17,891 gen-cpp/RemoteManager.h
  5. +0 −1,092 gen-cpp/RemoteManager_server.cpp
  6. +0 −719 gen-cpp/RemoteManager_server.skeleton.cpp
  7. +0 −17 gen-cpp/ozw_constants.cpp
  8. +0 −24 gen-cpp/ozw_constants.h
  9. +0 −1,646 gen-cpp/ozw_types.cpp
  10. +0 −1,064 gen-cpp/ozw_types.h
  11. +0 −139 gen-csharp/OpenZWave/Bool_Bool.cs
  12. +0 −139 gen-csharp/OpenZWave/Bool_Float.cs
  13. +0 −171 gen-csharp/OpenZWave/Bool_GetNodeClassInformation.cs
  14. +0 −139 gen-csharp/OpenZWave/Bool_Int.cs
  15. +0 −139 gen-csharp/OpenZWave/Bool_Int16.cs
  16. +0 −156 gen-csharp/OpenZWave/Bool_ListString.cs
  17. +0 −139 gen-csharp/OpenZWave/Bool_String.cs
  18. +0 −139 gen-csharp/OpenZWave/Bool_UInt8.cs
  19. +0 −78 gen-csharp/OpenZWave/DriverControllerCommand.cs
  20. +0 −523 gen-csharp/OpenZWave/DriverData.cs
  21. +0 −156 gen-csharp/OpenZWave/GetAllScenesReturnStruct.cs
  22. +0 −156 gen-csharp/OpenZWave/GetAssociationsReturnStruct.cs
  23. +0 −108 gen-csharp/OpenZWave/GetDriverStatisticsReturnStruct.cs
  24. +0 −203 gen-csharp/OpenZWave/GetSwitchPointReturnStruct.cs
  25. +0 −37,843 gen-csharp/OpenZWave/RemoteManager.cs
  26. +0 −18 gen-csharp/OpenZWave/RemoteValueGenre.cs
  27. +0 −310 gen-csharp/OpenZWave/RemoteValueID.cs
  28. +0 −23 gen-csharp/OpenZWave/RemoteValueType.cs
  29. +0 −157 gen-csharp/OpenZWave/SceneGetValuesReturnStruct.cs
  30. +0 −156 gen-csharp/OpenZWave/UInt32_ListByte.cs
  31. +0 −9 gen-erl/ozw_constants.hrl
  32. +0 −214 gen-erl/ozw_types.erl
  33. +0 −138 gen-erl/ozw_types.hrl
  34. +0 −1,366 gen-erl/remoteManager_thrift.erl
  35. +0 −5 gen-erl/remoteManager_thrift.hrl
  36. +0 −17 gen-go/OpenZWave/Makefile
  37. +0 −58,702 gen-go/OpenZWave/RemoteManager.go
  38. +0 −14 gen-go/OpenZWave/RemoteManager/Makefile
  39. +0 −3,694 gen-go/OpenZWave/RemoteManager/RemoteManager-remote.go
  40. +0 −4,235 gen-go/OpenZWave/ttypes.go
  41. +0 −477 gen-java/OpenZWave/Bool_Bool.java
  42. +0 −477 gen-java/OpenZWave/Bool_Float.java
  43. +0 −577 gen-java/OpenZWave/Bool_GetNodeClassInformation.java
  44. +0 −477 gen-java/OpenZWave/Bool_Int.java
  45. +0 −477 gen-java/OpenZWave/Bool_Int16.java
  46. +0 −535 gen-java/OpenZWave/Bool_ListString.java
  47. +0 −483 gen-java/OpenZWave/Bool_String.java
  48. +0 −477 gen-java/OpenZWave/Bool_UInt8.java
  49. +0 −138 gen-java/OpenZWave/DriverControllerCommand.java
  50. +0 −1,605 gen-java/OpenZWave/DriverData.java
  51. +0 −535 gen-java/OpenZWave/GetAllScenesReturnStruct.java
  52. +0 −535 gen-java/OpenZWave/GetAssociationsReturnStruct.java
  53. +0 −390 gen-java/OpenZWave/GetDriverStatisticsReturnStruct.java
  54. +0 −665 gen-java/OpenZWave/GetSwitchPointReturnStruct.java
  55. +0 −116,353 gen-java/OpenZWave/RemoteManager.java
  56. +0 −54 gen-java/OpenZWave/RemoteValueGenre.java
  57. +0 −994 gen-java/OpenZWave/RemoteValueID.java
  58. +0 −69 gen-java/OpenZWave/RemoteValueType.java
  59. +0 −537 gen-java/OpenZWave/SceneGetValuesReturnStruct.java
  60. +0 −535 gen-java/OpenZWave/UInt32_ListByte.java
  61. +0 −20,142 gen-js/RemoteManager.js
  62. +0 −1,522 gen-js/ozw_types.js
  63. +0 −13 gen-perl/OpenZWave/Constants.pm
  64. +0 −28,918 gen-perl/OpenZWave/RemoteManager.pm
  65. +0 −1,702 gen-perl/OpenZWave/Types.pm
  66. +0 −28,985 gen-php/ozw/RemoteManager.php
  67. +0 −2,120 gen-php/ozw/ozw_types.php
  68. +0 −1,033 gen-py/OpenZWave/RemoteManager-remote
  69. +0 −24,236 gen-py/OpenZWave/RemoteManager.py
  70. +0 −1  gen-py/OpenZWave/__init__.py
  71. +0 −11 gen-py/OpenZWave/constants.py
  72. +0 −1,562 gen-py/OpenZWave/ttypes.py
  73. 0  gen-py/__init__.py
View
914 gen-cocoa/ozw.h
@@ -1,914 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.0-dev)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-
-#import <Foundation/Foundation.h>
-
-#import "TProtocol.h"
-#import "TApplicationException.h"
-#import "TProtocolUtil.h"
-#import "TProcessor.h"
-#import "TObjective-C.h"
-
-
-enum OpenZWaveRemoteValueGenre {
- RemoteValueGenre_ValueGenre_Basic = 0,
- RemoteValueGenre_ValueGenre_User = 1,
- RemoteValueGenre_ValueGenre_Config = 2,
- RemoteValueGenre_ValueGenre_System = 3,
- RemoteValueGenre_ValueGenre_Count = 4
-};
-
-enum OpenZWaveRemoteValueType {
- RemoteValueType_ValueType_Bool = 0,
- RemoteValueType_ValueType_Byte = 1,
- RemoteValueType_ValueType_Decimal = 2,
- RemoteValueType_ValueType_Int = 3,
- RemoteValueType_ValueType_List = 4,
- RemoteValueType_ValueType_Schedule = 5,
- RemoteValueType_ValueType_Short = 6,
- RemoteValueType_ValueType_String = 7,
- RemoteValueType_ValueType_Button = 8,
- RemoteValueType_ValueType_Max = 8
-};
-
-enum OpenZWaveDriverControllerCommand {
- DriverControllerCommand_ControllerCommand_None = 0,
- DriverControllerCommand_ControllerCommand_AddController = 1,
- DriverControllerCommand_ControllerCommand_AddDevice = 2,
- DriverControllerCommand_ControllerCommand_CreateNewPrimary = 3,
- DriverControllerCommand_ControllerCommand_ReceiveConfiguration = 4,
- DriverControllerCommand_ControllerCommand_RemoveController = 5,
- DriverControllerCommand_ControllerCommand_RemoveDevice = 6,
- DriverControllerCommand_ControllerCommand_RemoveFailedNode = 7,
- DriverControllerCommand_ControllerCommand_HasNodeFailed = 8,
- DriverControllerCommand_ControllerCommand_ReplaceFailedNode = 9,
- DriverControllerCommand_ControllerCommand_TransferPrimaryRole = 10,
- DriverControllerCommand_ControllerCommand_RequestNetworkUpdate = 11,
- DriverControllerCommand_ControllerCommand_RequestNodeNeighborUpdate = 12,
- DriverControllerCommand_ControllerCommand_AssignReturnRoute = 13,
- DriverControllerCommand_ControllerCommand_DeleteAllReturnRoutes = 14,
- DriverControllerCommand_ControllerCommand_CreateButton = 15,
- DriverControllerCommand_ControllerCommand_DeleteButton = 16
-};
-
-@interface OpenZWaveRemoteValueID : NSObject <NSCoding> {
- int32_t ___homeId;
- uint8_t ___nodeId;
- int ___genre;
- uint8_t ___commandClassId;
- uint8_t ___instance;
- uint8_t ___valueIndex;
- int ___type;
-
- BOOL ___homeId_isset;
- BOOL ___nodeId_isset;
- BOOL ___genre_isset;
- BOOL ___commandClassId_isset;
- BOOL ___instance_isset;
- BOOL ___valueIndex_isset;
- BOOL ___type_isset;
-}
-
-#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
-@property (nonatomic, getter=_homeId, setter=set_homeId:) int32_t _homeId;
-@property (nonatomic, getter=_nodeId, setter=set_nodeId:) uint8_t _nodeId;
-@property (nonatomic, getter=_genre, setter=set_genre:) int _genre;
-@property (nonatomic, getter=_commandClassId, setter=set_commandClassId:) uint8_t _commandClassId;
-@property (nonatomic, getter=_instance, setter=set_instance:) uint8_t _instance;
-@property (nonatomic, getter=_valueIndex, setter=set_valueIndex:) uint8_t _valueIndex;
-@property (nonatomic, getter=_type, setter=set_type:) int _type;
-#endif
-
-- (id) init;
-- (id) initWith_homeId: (int32_t) _homeId _nodeId: (uint8_t) _nodeId _genre: (int) _genre _commandClassId: (uint8_t) _commandClassId _instance: (uint8_t) _instance _valueIndex: (uint8_t) _valueIndex _type: (int) _type;
-
-- (void) read: (id <TProtocol>) inProtocol;
-- (void) write: (id <TProtocol>) outProtocol;
-
-#if !__has_feature(objc_arc)
-- (int32_t) _homeId;
-- (void) set_homeId: (int32_t) _homeId;
-#endif
-- (BOOL) _homeIdIsSet;
-
-#if !__has_feature(objc_arc)
-- (uint8_t) _nodeId;
-- (void) set_nodeId: (uint8_t) _nodeId;
-#endif
-- (BOOL) _nodeIdIsSet;
-
-#if !__has_feature(objc_arc)
-- (int) _genre;
-- (void) set_genre: (int) _genre;
-#endif
-- (BOOL) _genreIsSet;
-
-#if !__has_feature(objc_arc)
-- (uint8_t) _commandClassId;
-- (void) set_commandClassId: (uint8_t) _commandClassId;
-#endif
-- (BOOL) _commandClassIdIsSet;
-
-#if !__has_feature(objc_arc)
-- (uint8_t) _instance;
-- (void) set_instance: (uint8_t) _instance;
-#endif
-- (BOOL) _instanceIsSet;
-
-#if !__has_feature(objc_arc)
-- (uint8_t) _valueIndex;
-- (void) set_valueIndex: (uint8_t) _valueIndex;
-#endif
-- (BOOL) _valueIndexIsSet;
-
-#if !__has_feature(objc_arc)
-- (int) _type;
-- (void) set_type: (int) _type;
-#endif
-- (BOOL) _typeIsSet;
-
-@end
-
-@interface OpenZWaveDriverData : NSObject <NSCoding> {
- int32_t __s_SOFCnt;
- int32_t __s_ACKWaiting;
- int32_t __s_readAborts;
- int32_t __s_badChecksum;
- int32_t __s_readCnt;
- int32_t __s_writeCnt;
- int32_t __s_CANCnt;
- int32_t __s_NAKCnt;
- int32_t __s_ACKCnt;
- int32_t __s_OOFCnt;
- int32_t __s_dropped;
- int32_t __s_retries;
- int32_t __s_controllerReadCnt;
- int32_t __s_controllerWriteCnt;
-
- BOOL __s_SOFCnt_isset;
- BOOL __s_ACKWaiting_isset;
- BOOL __s_readAborts_isset;
- BOOL __s_badChecksum_isset;
- BOOL __s_readCnt_isset;
- BOOL __s_writeCnt_isset;
- BOOL __s_CANCnt_isset;
- BOOL __s_NAKCnt_isset;
- BOOL __s_ACKCnt_isset;
- BOOL __s_OOFCnt_isset;
- BOOL __s_dropped_isset;
- BOOL __s_retries_isset;
- BOOL __s_controllerReadCnt_isset;
- BOOL __s_controllerWriteCnt_isset;
-}
-
-#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
-@property (nonatomic, getter=s_SOFCnt, setter=setS_SOFCnt:) int32_t s_SOFCnt;
-@property (nonatomic, getter=s_ACKWaiting, setter=setS_ACKWaiting:) int32_t s_ACKWaiting;
-@property (nonatomic, getter=s_readAborts, setter=setS_readAborts:) int32_t s_readAborts;
-@property (nonatomic, getter=s_badChecksum, setter=setS_badChecksum:) int32_t s_badChecksum;
-@property (nonatomic, getter=s_readCnt, setter=setS_readCnt:) int32_t s_readCnt;
-@property (nonatomic, getter=s_writeCnt, setter=setS_writeCnt:) int32_t s_writeCnt;
-@property (nonatomic, getter=s_CANCnt, setter=setS_CANCnt:) int32_t s_CANCnt;
-@property (nonatomic, getter=s_NAKCnt, setter=setS_NAKCnt:) int32_t s_NAKCnt;
-@property (nonatomic, getter=s_ACKCnt, setter=setS_ACKCnt:) int32_t s_ACKCnt;
-@property (nonatomic, getter=s_OOFCnt, setter=setS_OOFCnt:) int32_t s_OOFCnt;
-@property (nonatomic, getter=s_dropped, setter=setS_dropped:) int32_t s_dropped;
-@property (nonatomic, getter=s_retries, setter=setS_retries:) int32_t s_retries;
-@property (nonatomic, getter=s_controllerReadCnt, setter=setS_controllerReadCnt:) int32_t s_controllerReadCnt;
-@property (nonatomic, getter=s_controllerWriteCnt, setter=setS_controllerWriteCnt:) int32_t s_controllerWriteCnt;
-#endif
-
-- (id) init;
-- (id) initWithS_SOFCnt: (int32_t) s_SOFCnt s_ACKWaiting: (int32_t) s_ACKWaiting s_readAborts: (int32_t) s_readAborts s_badChecksum: (int32_t) s_badChecksum s_readCnt: (int32_t) s_readCnt s_writeCnt: (int32_t) s_writeCnt s_CANCnt: (int32_t) s_CANCnt s_NAKCnt: (int32_t) s_NAKCnt s_ACKCnt: (int32_t) s_ACKCnt s_OOFCnt: (int32_t) s_OOFCnt s_dropped: (int32_t) s_dropped s_retries: (int32_t) s_retries s_controllerReadCnt: (int32_t) s_controllerReadCnt s_controllerWriteCnt: (int32_t) s_controllerWriteCnt;
-
-- (void) read: (id <TProtocol>) inProtocol;
-- (void) write: (id <TProtocol>) outProtocol;
-
-#if !__has_feature(objc_arc)
-- (int32_t) s_SOFCnt;
-- (void) setS_SOFCnt: (int32_t) s_SOFCnt;
-#endif
-- (BOOL) s_SOFCntIsSet;
-
-#if !__has_feature(objc_arc)
-- (int32_t) s_ACKWaiting;
-- (void) setS_ACKWaiting: (int32_t) s_ACKWaiting;
-#endif
-- (BOOL) s_ACKWaitingIsSet;
-
-#if !__has_feature(objc_arc)
-- (int32_t) s_readAborts;
-- (void) setS_readAborts: (int32_t) s_readAborts;
-#endif
-- (BOOL) s_readAbortsIsSet;
-
-#if !__has_feature(objc_arc)
-- (int32_t) s_badChecksum;
-- (void) setS_badChecksum: (int32_t) s_badChecksum;
-#endif
-- (BOOL) s_badChecksumIsSet;
-
-#if !__has_feature(objc_arc)
-- (int32_t) s_readCnt;
-- (void) setS_readCnt: (int32_t) s_readCnt;
-#endif
-- (BOOL) s_readCntIsSet;
-
-#if !__has_feature(objc_arc)
-- (int32_t) s_writeCnt;
-- (void) setS_writeCnt: (int32_t) s_writeCnt;
-#endif
-- (BOOL) s_writeCntIsSet;
-
-#if !__has_feature(objc_arc)
-- (int32_t) s_CANCnt;
-- (void) setS_CANCnt: (int32_t) s_CANCnt;
-#endif
-- (BOOL) s_CANCntIsSet;
-
-#if !__has_feature(objc_arc)
-- (int32_t) s_NAKCnt;
-- (void) setS_NAKCnt: (int32_t) s_NAKCnt;
-#endif
-- (BOOL) s_NAKCntIsSet;
-
-#if !__has_feature(objc_arc)
-- (int32_t) s_ACKCnt;
-- (void) setS_ACKCnt: (int32_t) s_ACKCnt;
-#endif
-- (BOOL) s_ACKCntIsSet;
-
-#if !__has_feature(objc_arc)
-- (int32_t) s_OOFCnt;
-- (void) setS_OOFCnt: (int32_t) s_OOFCnt;
-#endif
-- (BOOL) s_OOFCntIsSet;
-
-#if !__has_feature(objc_arc)
-- (int32_t) s_dropped;
-- (void) setS_dropped: (int32_t) s_dropped;
-#endif
-- (BOOL) s_droppedIsSet;
-
-#if !__has_feature(objc_arc)
-- (int32_t) s_retries;
-- (void) setS_retries: (int32_t) s_retries;
-#endif
-- (BOOL) s_retriesIsSet;
-
-#if !__has_feature(objc_arc)
-- (int32_t) s_controllerReadCnt;
-- (void) setS_controllerReadCnt: (int32_t) s_controllerReadCnt;
-#endif
-- (BOOL) s_controllerReadCntIsSet;
-
-#if !__has_feature(objc_arc)
-- (int32_t) s_controllerWriteCnt;
-- (void) setS_controllerWriteCnt: (int32_t) s_controllerWriteCnt;
-#endif
-- (BOOL) s_controllerWriteCntIsSet;
-
-@end
-
-@interface OpenZWaveGetDriverStatisticsReturnStruct : NSObject <NSCoding> {
- OpenZWaveDriverData * ___data;
-
- BOOL ___data_isset;
-}
-
-#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
-@property (nonatomic, retain, getter=_data, setter=set_data:) OpenZWaveDriverData * _data;
-#endif
-
-- (id) init;
-- (id) initWith_data: (OpenZWaveDriverData *) _data;
-
-- (void) read: (id <TProtocol>) inProtocol;
-- (void) write: (id <TProtocol>) outProtocol;
-
-#if !__has_feature(objc_arc)
-- (OpenZWaveDriverData *) _data;
-- (void) set_data: (OpenZWaveDriverData *) _data;
-#endif
-- (BOOL) _dataIsSet;
-
-@end
-
-@interface OpenZWaveGetSwitchPointReturnStruct : NSObject <NSCoding> {
- BOOL __retval;
- uint8_t __o_hours;
- uint8_t __o_minutes;
- uint8_t __o_setback;
-
- BOOL __retval_isset;
- BOOL __o_hours_isset;
- BOOL __o_minutes_isset;
- BOOL __o_setback_isset;
-}
-
-#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
-@property (nonatomic, getter=retval, setter=setRetval:) BOOL retval;
-@property (nonatomic, getter=o_hours, setter=setO_hours:) uint8_t o_hours;
-@property (nonatomic, getter=o_minutes, setter=setO_minutes:) uint8_t o_minutes;
-@property (nonatomic, getter=o_setback, setter=setO_setback:) uint8_t o_setback;
-#endif
-
-- (id) init;
-- (id) initWithRetval: (BOOL) retval o_hours: (uint8_t) o_hours o_minutes: (uint8_t) o_minutes o_setback: (uint8_t) o_setback;
-
-- (void) read: (id <TProtocol>) inProtocol;
-- (void) write: (id <TProtocol>) outProtocol;
-
-#if !__has_feature(objc_arc)
-- (BOOL) retval;
-- (void) setRetval: (BOOL) retval;
-#endif
-- (BOOL) retvalIsSet;
-
-#if !__has_feature(objc_arc)
-- (uint8_t) o_hours;
-- (void) setO_hours: (uint8_t) o_hours;
-#endif
-- (BOOL) o_hoursIsSet;
-
-#if !__has_feature(objc_arc)
-- (uint8_t) o_minutes;
-- (void) setO_minutes: (uint8_t) o_minutes;
-#endif
-- (BOOL) o_minutesIsSet;
-
-#if !__has_feature(objc_arc)
-- (uint8_t) o_setback;
-- (void) setO_setback: (uint8_t) o_setback;
-#endif
-- (BOOL) o_setbackIsSet;
-
-@end
-
-@interface OpenZWaveBool_Bool : NSObject <NSCoding> {
- BOOL __retval;
- BOOL __o_value;
-
- BOOL __retval_isset;
- BOOL __o_value_isset;
-}
-
-#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
-@property (nonatomic, getter=retval, setter=setRetval:) BOOL retval;
-@property (nonatomic, getter=o_value, setter=setO_value:) BOOL o_value;
-#endif
-
-- (id) init;
-- (id) initWithRetval: (BOOL) retval o_value: (BOOL) o_value;
-
-- (void) read: (id <TProtocol>) inProtocol;
-- (void) write: (id <TProtocol>) outProtocol;
-
-#if !__has_feature(objc_arc)
-- (BOOL) retval;
-- (void) setRetval: (BOOL) retval;
-#endif
-- (BOOL) retvalIsSet;
-
-#if !__has_feature(objc_arc)
-- (BOOL) o_value;
-- (void) setO_value: (BOOL) o_value;
-#endif
-- (BOOL) o_valueIsSet;
-
-@end
-
-@interface OpenZWaveBool_UInt8 : NSObject <NSCoding> {
- BOOL __retval;
- uint8_t __o_value;
-
- BOOL __retval_isset;
- BOOL __o_value_isset;
-}
-
-#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
-@property (nonatomic, getter=retval, setter=setRetval:) BOOL retval;
-@property (nonatomic, getter=o_value, setter=setO_value:) uint8_t o_value;
-#endif
-
-- (id) init;
-- (id) initWithRetval: (BOOL) retval o_value: (uint8_t) o_value;
-
-- (void) read: (id <TProtocol>) inProtocol;
-- (void) write: (id <TProtocol>) outProtocol;
-
-#if !__has_feature(objc_arc)
-- (BOOL) retval;
-- (void) setRetval: (BOOL) retval;
-#endif
-- (BOOL) retvalIsSet;
-
-#if !__has_feature(objc_arc)
-- (uint8_t) o_value;
-- (void) setO_value: (uint8_t) o_value;
-#endif
-- (BOOL) o_valueIsSet;
-
-@end
-
-@interface OpenZWaveBool_Float : NSObject <NSCoding> {
- BOOL __retval;
- double __o_value;
-
- BOOL __retval_isset;
- BOOL __o_value_isset;
-}
-
-#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
-@property (nonatomic, getter=retval, setter=setRetval:) BOOL retval;
-@property (nonatomic, getter=o_value, setter=setO_value:) double o_value;
-#endif
-
-- (id) init;
-- (id) initWithRetval: (BOOL) retval o_value: (double) o_value;
-
-- (void) read: (id <TProtocol>) inProtocol;
-- (void) write: (id <TProtocol>) outProtocol;
-
-#if !__has_feature(objc_arc)
-- (BOOL) retval;
-- (void) setRetval: (BOOL) retval;
-#endif
-- (BOOL) retvalIsSet;
-
-#if !__has_feature(objc_arc)
-- (double) o_value;
-- (void) setO_value: (double) o_value;
-#endif
-- (BOOL) o_valueIsSet;
-
-@end
-
-@interface OpenZWaveBool_Int : NSObject <NSCoding> {
- BOOL __retval;
- int32_t __o_value;
-
- BOOL __retval_isset;
- BOOL __o_value_isset;
-}
-
-#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
-@property (nonatomic, getter=retval, setter=setRetval:) BOOL retval;
-@property (nonatomic, getter=o_value, setter=setO_value:) int32_t o_value;
-#endif
-
-- (id) init;
-- (id) initWithRetval: (BOOL) retval o_value: (int32_t) o_value;
-
-- (void) read: (id <TProtocol>) inProtocol;
-- (void) write: (id <TProtocol>) outProtocol;
-
-#if !__has_feature(objc_arc)
-- (BOOL) retval;
-- (void) setRetval: (BOOL) retval;
-#endif
-- (BOOL) retvalIsSet;
-
-#if !__has_feature(objc_arc)
-- (int32_t) o_value;
-- (void) setO_value: (int32_t) o_value;
-#endif
-- (BOOL) o_valueIsSet;
-
-@end
-
-@interface OpenZWaveBool_Int16 : NSObject <NSCoding> {
- BOOL __retval;
- int16_t __o_value;
-
- BOOL __retval_isset;
- BOOL __o_value_isset;
-}
-
-#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
-@property (nonatomic, getter=retval, setter=setRetval:) BOOL retval;
-@property (nonatomic, getter=o_value, setter=setO_value:) int16_t o_value;
-#endif
-
-- (id) init;
-- (id) initWithRetval: (BOOL) retval o_value: (int16_t) o_value;
-
-- (void) read: (id <TProtocol>) inProtocol;
-- (void) write: (id <TProtocol>) outProtocol;
-
-#if !__has_feature(objc_arc)
-- (BOOL) retval;
-- (void) setRetval: (BOOL) retval;
-#endif
-- (BOOL) retvalIsSet;
-
-#if !__has_feature(objc_arc)
-- (int16_t) o_value;
-- (void) setO_value: (int16_t) o_value;
-#endif
-- (BOOL) o_valueIsSet;
-
-@end
-
-@interface OpenZWaveBool_String : NSObject <NSCoding> {
- BOOL __retval;
- NSString * __o_value;
-
- BOOL __retval_isset;
- BOOL __o_value_isset;
-}
-
-#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
-@property (nonatomic, getter=retval, setter=setRetval:) BOOL retval;
-@property (nonatomic, retain, getter=o_value, setter=setO_value:) NSString * o_value;
-#endif
-
-- (id) init;
-- (id) initWithRetval: (BOOL) retval o_value: (NSString *) o_value;
-
-- (void) read: (id <TProtocol>) inProtocol;
-- (void) write: (id <TProtocol>) outProtocol;
-
-#if !__has_feature(objc_arc)
-- (BOOL) retval;
-- (void) setRetval: (BOOL) retval;
-#endif
-- (BOOL) retvalIsSet;
-
-#if !__has_feature(objc_arc)
-- (NSString *) o_value;
-- (void) setO_value: (NSString *) o_value;
-#endif
-- (BOOL) o_valueIsSet;
-
-@end
-
-@interface OpenZWaveBool_ListString : NSObject <NSCoding> {
- BOOL __retval;
- NSMutableArray * __o_value;
-
- BOOL __retval_isset;
- BOOL __o_value_isset;
-}
-
-#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
-@property (nonatomic, getter=retval, setter=setRetval:) BOOL retval;
-@property (nonatomic, retain, getter=o_value, setter=setO_value:) NSMutableArray * o_value;
-#endif
-
-- (id) init;
-- (id) initWithRetval: (BOOL) retval o_value: (NSMutableArray *) o_value;
-
-- (void) read: (id <TProtocol>) inProtocol;
-- (void) write: (id <TProtocol>) outProtocol;
-
-#if !__has_feature(objc_arc)
-- (BOOL) retval;
-- (void) setRetval: (BOOL) retval;
-#endif
-- (BOOL) retvalIsSet;
-
-#if !__has_feature(objc_arc)
-- (NSMutableArray *) o_value;
-- (void) setO_value: (NSMutableArray *) o_value;
-#endif
-- (BOOL) o_valueIsSet;
-
-@end
-
-@interface OpenZWaveUInt32_ListByte : NSObject <NSCoding> {
- int32_t __retval;
- NSMutableArray * ___nodeNeighbors;
-
- BOOL __retval_isset;
- BOOL ___nodeNeighbors_isset;
-}
-
-#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
-@property (nonatomic, getter=retval, setter=setRetval:) int32_t retval;
-@property (nonatomic, retain, getter=_nodeNeighbors, setter=set_nodeNeighbors:) NSMutableArray * _nodeNeighbors;
-#endif
-
-- (id) init;
-- (id) initWithRetval: (int32_t) retval _nodeNeighbors: (NSMutableArray *) _nodeNeighbors;
-
-- (void) read: (id <TProtocol>) inProtocol;
-- (void) write: (id <TProtocol>) outProtocol;
-
-#if !__has_feature(objc_arc)
-- (int32_t) retval;
-- (void) setRetval: (int32_t) retval;
-#endif
-- (BOOL) retvalIsSet;
-
-#if !__has_feature(objc_arc)
-- (NSMutableArray *) _nodeNeighbors;
-- (void) set_nodeNeighbors: (NSMutableArray *) _nodeNeighbors;
-#endif
-- (BOOL) _nodeNeighborsIsSet;
-
-@end
-
-@interface OpenZWaveBool_GetNodeClassInformation : NSObject <NSCoding> {
- BOOL __retval;
- NSString * ___className;
- uint8_t ___classVersion;
-
- BOOL __retval_isset;
- BOOL ___className_isset;
- BOOL ___classVersion_isset;
-}
-
-#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
-@property (nonatomic, getter=retval, setter=setRetval:) BOOL retval;
-@property (nonatomic, retain, getter=_className, setter=set_className:) NSString * _className;
-@property (nonatomic, getter=_classVersion, setter=set_classVersion:) uint8_t _classVersion;
-#endif
-
-- (id) init;
-- (id) initWithRetval: (BOOL) retval _className: (NSString *) _className _classVersion: (uint8_t) _classVersion;
-
-- (void) read: (id <TProtocol>) inProtocol;
-- (void) write: (id <TProtocol>) outProtocol;
-
-#if !__has_feature(objc_arc)
-- (BOOL) retval;
-- (void) setRetval: (BOOL) retval;
-#endif
-- (BOOL) retvalIsSet;
-
-#if !__has_feature(objc_arc)
-- (NSString *) _className;
-- (void) set_className: (NSString *) _className;
-#endif
-- (BOOL) _classNameIsSet;
-
-#if !__has_feature(objc_arc)
-- (uint8_t) _classVersion;
-- (void) set_classVersion: (uint8_t) _classVersion;
-#endif
-- (BOOL) _classVersionIsSet;
-
-@end
-
-@interface OpenZWaveGetAssociationsReturnStruct : NSObject <NSCoding> {
- int32_t __retval;
- NSMutableArray * __o_associations;
-
- BOOL __retval_isset;
- BOOL __o_associations_isset;
-}
-
-#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
-@property (nonatomic, getter=retval, setter=setRetval:) int32_t retval;
-@property (nonatomic, retain, getter=o_associations, setter=setO_associations:) NSMutableArray * o_associations;
-#endif
-
-- (id) init;
-- (id) initWithRetval: (int32_t) retval o_associations: (NSMutableArray *) o_associations;
-
-- (void) read: (id <TProtocol>) inProtocol;
-- (void) write: (id <TProtocol>) outProtocol;
-
-#if !__has_feature(objc_arc)
-- (int32_t) retval;
-- (void) setRetval: (int32_t) retval;
-#endif
-- (BOOL) retvalIsSet;
-
-#if !__has_feature(objc_arc)
-- (NSMutableArray *) o_associations;
-- (void) setO_associations: (NSMutableArray *) o_associations;
-#endif
-- (BOOL) o_associationsIsSet;
-
-@end
-
-@interface OpenZWaveGetAllScenesReturnStruct : NSObject <NSCoding> {
- uint8_t __retval;
- NSMutableArray * ___sceneIds;
-
- BOOL __retval_isset;
- BOOL ___sceneIds_isset;
-}
-
-#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
-@property (nonatomic, getter=retval, setter=setRetval:) uint8_t retval;
-@property (nonatomic, retain, getter=_sceneIds, setter=set_sceneIds:) NSMutableArray * _sceneIds;
-#endif
-
-- (id) init;
-- (id) initWithRetval: (uint8_t) retval _sceneIds: (NSMutableArray *) _sceneIds;
-
-- (void) read: (id <TProtocol>) inProtocol;
-- (void) write: (id <TProtocol>) outProtocol;
-
-#if !__has_feature(objc_arc)
-- (uint8_t) retval;
-- (void) setRetval: (uint8_t) retval;
-#endif
-- (BOOL) retvalIsSet;
-
-#if !__has_feature(objc_arc)
-- (NSMutableArray *) _sceneIds;
-- (void) set_sceneIds: (NSMutableArray *) _sceneIds;
-#endif
-- (BOOL) _sceneIdsIsSet;
-
-@end
-
-@interface OpenZWaveSceneGetValuesReturnStruct : NSObject <NSCoding> {
- int32_t __retval;
- NSMutableArray * __o_value;
-
- BOOL __retval_isset;
- BOOL __o_value_isset;
-}
-
-#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
-@property (nonatomic, getter=retval, setter=setRetval:) int32_t retval;
-@property (nonatomic, retain, getter=o_value, setter=setO_value:) NSMutableArray * o_value;
-#endif
-
-- (id) init;
-- (id) initWithRetval: (int32_t) retval o_value: (NSMutableArray *) o_value;
-
-- (void) read: (id <TProtocol>) inProtocol;
-- (void) write: (id <TProtocol>) outProtocol;
-
-#if !__has_feature(objc_arc)
-- (int32_t) retval;
-- (void) setRetval: (int32_t) retval;
-#endif
-- (BOOL) retvalIsSet;
-
-#if !__has_feature(objc_arc)
-- (NSMutableArray *) o_value;
-- (void) setO_value: (NSMutableArray *) o_value;
-#endif
-- (BOOL) o_valueIsSet;
-
-@end
-
-@protocol OpenZWaveRemoteManager <NSObject>
-- (void) WriteConfig: (int32_t) _homeId; // throws TException
-- (uint8_t) GetControllerNodeId: (int32_t) _homeId; // throws TException
-- (BOOL) IsPrimaryController: (int32_t) _homeId; // throws TException
-- (BOOL) IsStaticUpdateController: (int32_t) _homeId; // throws TException
-- (BOOL) IsBridgeController: (int32_t) _homeId; // throws TException
-- (NSString *) GetLibraryVersion: (int32_t) _homeId; // throws TException
-- (NSString *) GetLibraryTypeName: (int32_t) _homeId; // throws TException
-- (int32_t) GetSendQueueCount: (int32_t) _homeId; // throws TException
-- (void) LogDriverStatistics: (int32_t) _homeId; // throws TException
-- (int32_t) GetPollInterval; // throws TException
-- (void) SetPollInterval: (int32_t) _milliseconds : (BOOL) _bIntervalBetweenPolls; // throws TException
-- (BOOL) EnablePoll: (OpenZWaveRemoteValueID *) _valueId : (uint8_t) _intensity; // throws TException
-- (BOOL) DisablePoll: (OpenZWaveRemoteValueID *) _valueId; // throws TException
-- (BOOL) isPolled: (OpenZWaveRemoteValueID *) _valueId; // throws TException
-- (void) SetPollIntensity: (OpenZWaveRemoteValueID *) _valueId : (uint8_t) _intensity; // throws TException
-- (BOOL) RefreshNodeInfo: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (BOOL) RequestNodeState: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (BOOL) RequestNodeDynamic: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (BOOL) IsNodeListeningDevice: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (BOOL) IsNodeFrequentListeningDevice: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (BOOL) IsNodeBeamingDevice: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (BOOL) IsNodeRoutingDevice: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (BOOL) IsNodeSecurityDevice: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (int32_t) GetNodeMaxBaudRate: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (uint8_t) GetNodeVersion: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (uint8_t) GetNodeSecurity: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (uint8_t) GetNodeBasic: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (uint8_t) GetNodeGeneric: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (uint8_t) GetNodeSpecific: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (NSString *) GetNodeType: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (OpenZWaveUInt32_ListByte *) GetNodeNeighbors: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (NSString *) GetNodeManufacturerName: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (NSString *) GetNodeProductName: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (NSString *) GetNodeName: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (NSString *) GetNodeLocation: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (NSString *) GetNodeManufacturerId: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (NSString *) GetNodeProductType: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (NSString *) GetNodeProductId: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (void) SetNodeManufacturerName: (int32_t) _homeId : (uint8_t) _nodeId : (NSString *) _manufacturerName; // throws TException
-- (void) SetNodeProductName: (int32_t) _homeId : (uint8_t) _nodeId : (NSString *) _productName; // throws TException
-- (void) SetNodeName: (int32_t) _homeId : (uint8_t) _nodeId : (NSString *) _nodeName; // throws TException
-- (void) SetNodeLocation: (int32_t) _homeId : (uint8_t) _nodeId : (NSString *) _location; // throws TException
-- (void) SetNodeOn: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (void) SetNodeOff: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (void) SetNodeLevel: (int32_t) _homeId : (uint8_t) _nodeId : (uint8_t) _level; // throws TException
-- (BOOL) IsNodeInfoReceived: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (OpenZWaveBool_GetNodeClassInformation *) GetNodeClassInformation: (int32_t) _homeId : (uint8_t) _nodeId : (uint8_t) _commandClassId; // throws TException
-- (NSString *) GetValueLabel: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (void) SetValueLabel: (OpenZWaveRemoteValueID *) _id : (NSString *) _value; // throws TException
-- (NSString *) GetValueUnits: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (void) SetValueUnits: (OpenZWaveRemoteValueID *) _id : (NSString *) _value; // throws TException
-- (NSString *) GetValueHelp: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (void) SetValueHelp: (OpenZWaveRemoteValueID *) _id : (NSString *) _value; // throws TException
-- (int32_t) GetValueMin: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (int32_t) GetValueMax: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (BOOL) IsValueReadOnly: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (BOOL) IsValueWriteOnly: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (BOOL) IsValueSet: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (BOOL) IsValuePolled: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (OpenZWaveBool_Bool *) GetValueAsBool: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (OpenZWaveBool_UInt8 *) GetValueAsByte: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (OpenZWaveBool_Float *) GetValueAsFloat: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (OpenZWaveBool_Int *) GetValueAsInt: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (OpenZWaveBool_Int16 *) GetValueAsShort: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (OpenZWaveBool_String *) GetValueAsString: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (OpenZWaveBool_String *) GetValueListSelection_String: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (OpenZWaveBool_Int *) GetValueListSelection_Int32: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (OpenZWaveBool_ListString *) GetValueListItems: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (OpenZWaveBool_UInt8 *) GetValueFloatPrecision: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (BOOL) SetValue_Bool: (OpenZWaveRemoteValueID *) _id : (BOOL) _value; // throws TException
-- (BOOL) SetValue_UInt8: (OpenZWaveRemoteValueID *) _id : (uint8_t) _value; // throws TException
-- (BOOL) SetValue_Float: (OpenZWaveRemoteValueID *) _id : (double) _value; // throws TException
-- (BOOL) SetValue_Int32: (OpenZWaveRemoteValueID *) _id : (int32_t) _value; // throws TException
-- (BOOL) SetValue_Int16: (OpenZWaveRemoteValueID *) _id : (int16_t) _value; // throws TException
-- (BOOL) SetValue_String: (OpenZWaveRemoteValueID *) _id : (NSString *) _value; // throws TException
-- (BOOL) SetValueListSelection: (OpenZWaveRemoteValueID *) _id : (NSString *) _selectedItem; // throws TException
-- (BOOL) RefreshValue: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (void) SetChangeVerified: (OpenZWaveRemoteValueID *) _id : (BOOL) _verify; // throws TException
-- (BOOL) PressButton: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (BOOL) ReleaseButton: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (uint8_t) GetNumSwitchPoints: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (BOOL) SetSwitchPoint: (OpenZWaveRemoteValueID *) _id : (uint8_t) _hours : (uint8_t) _minutes : (uint8_t) _setback; // throws TException
-- (BOOL) RemoveSwitchPoint: (OpenZWaveRemoteValueID *) _id : (uint8_t) _hours : (uint8_t) _minutes; // throws TException
-- (void) ClearSwitchPoints: (OpenZWaveRemoteValueID *) _id; // throws TException
-- (OpenZWaveGetSwitchPointReturnStruct *) GetSwitchPoint: (OpenZWaveRemoteValueID *) _id : (uint8_t) _idx; // throws TException
-- (void) SwitchAllOn: (int32_t) _homeId; // throws TException
-- (void) SwitchAllOff: (int32_t) _homeId; // throws TException
-- (BOOL) SetConfigParam: (int32_t) _homeId : (uint8_t) _nodeId : (uint8_t) _param : (int32_t) _value : (uint8_t) _size; // throws TException
-- (void) RequestConfigParam: (int32_t) _homeId : (uint8_t) _nodeId : (uint8_t) _param; // throws TException
-- (void) RequestAllConfigParams: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (uint8_t) GetNumGroups: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (OpenZWaveGetAssociationsReturnStruct *) GetAssociations: (int32_t) _homeId : (uint8_t) _nodeId : (uint8_t) _groupIdx; // throws TException
-- (uint8_t) GetMaxAssociations: (int32_t) _homeId : (uint8_t) _nodeId : (uint8_t) _groupIdx; // throws TException
-- (NSString *) GetGroupLabel: (int32_t) _homeId : (uint8_t) _nodeId : (uint8_t) _groupIdx; // throws TException
-- (void) AddAssociation: (int32_t) _homeId : (uint8_t) _nodeId : (uint8_t) _groupIdx : (uint8_t) _targetNodeId; // throws TException
-- (void) RemoveAssociation: (int32_t) _homeId : (uint8_t) _nodeId : (uint8_t) _groupIdx : (uint8_t) _targetNodeId; // throws TException
-- (void) ResetController: (int32_t) _homeId; // throws TException
-- (void) SoftReset: (int32_t) _homeId; // throws TException
-- (BOOL) BeginControllerCommand: (int32_t) _homeId : (int) _command : (BOOL) _highPower : (uint8_t) _nodeId : (uint8_t) _arg; // throws TException
-- (BOOL) CancelControllerCommand: (int32_t) _homeId; // throws TException
-- (uint8_t) GetNumScenes; // throws TException
-- (OpenZWaveGetAllScenesReturnStruct *) GetAllScenes; // throws TException
-- (uint8_t) CreateScene; // throws TException
-- (BOOL) RemoveScene: (uint8_t) _sceneId; // throws TException
-- (BOOL) AddSceneValue_Bool: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId : (BOOL) _value; // throws TException
-- (BOOL) AddSceneValue_Uint8: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId : (uint8_t) _value; // throws TException
-- (BOOL) AddSceneValue_Float: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId : (double) _value; // throws TException
-- (BOOL) AddSceneValue_Int32: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId : (int32_t) _value; // throws TException
-- (BOOL) AddSceneValue_Int16: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId : (int16_t) _value; // throws TException
-- (BOOL) AddSceneValue_String: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId : (NSString *) _value; // throws TException
-- (BOOL) AddSceneValueListSelection_String: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId : (NSString *) _value; // throws TException
-- (BOOL) AddSceneValueListSelection_Int32: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId : (int32_t) _value; // throws TException
-- (BOOL) RemoveSceneValue: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId; // throws TException
-- (OpenZWaveSceneGetValuesReturnStruct *) SceneGetValues: (uint8_t) _sceneId; // throws TException
-- (OpenZWaveBool_Bool *) SceneGetValueAsBool: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId; // throws TException
-- (OpenZWaveBool_UInt8 *) SceneGetValueAsByte: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId; // throws TException
-- (OpenZWaveBool_Float *) SceneGetValueAsFloat: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId; // throws TException
-- (OpenZWaveBool_Int *) SceneGetValueAsInt: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId; // throws TException
-- (OpenZWaveBool_Int16 *) SceneGetValueAsShort: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId; // throws TException
-- (OpenZWaveBool_String *) SceneGetValueAsString: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId; // throws TException
-- (OpenZWaveBool_String *) SceneGetValueListSelection_String: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId; // throws TException
-- (OpenZWaveBool_Int *) SceneGetValueListSelection_Int32: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId; // throws TException
-- (BOOL) SetSceneValue_Bool: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId : (BOOL) _value; // throws TException
-- (BOOL) SetSceneValue_Uint8: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId : (uint8_t) _value; // throws TException
-- (BOOL) SetSceneValue_Float: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId : (double) _value; // throws TException
-- (BOOL) SetSceneValue_Int32: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId : (int32_t) _value; // throws TException
-- (BOOL) SetSceneValue_Int16: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId : (int16_t) _value; // throws TException
-- (BOOL) SetSceneValue_String: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId : (NSString *) _value; // throws TException
-- (BOOL) SetSceneValueListSelection_String: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId : (NSString *) _value; // throws TException
-- (BOOL) SetSceneValueListSelection_Int32: (uint8_t) _sceneId : (OpenZWaveRemoteValueID *) _valueId : (int32_t) _value; // throws TException
-- (NSString *) GetSceneLabel: (uint8_t) _sceneId; // throws TException
-- (void) SetSceneLabel: (uint8_t) _sceneId : (NSString *) _value; // throws TException
-- (BOOL) SceneExists: (uint8_t) _sceneId; // throws TException
-- (BOOL) ActivateScene: (uint8_t) _sceneId; // throws TException
-- (OpenZWaveGetDriverStatisticsReturnStruct *) GetDriverStatistics: (int32_t) _homeId; // throws TException
-- (void) SendAllValues; // throws TException
-@end
-
-@interface OpenZWaveRemoteManagerClient : NSObject <OpenZWaveRemoteManager> {
- id <TProtocol> inProtocol;
- id <TProtocol> outProtocol;
-}
-- (id) initWithProtocol: (id <TProtocol>) protocol;
-- (id) initWithInProtocol: (id <TProtocol>) inProtocol outProtocol: (id <TProtocol>) outProtocol;
-@end
-
-@interface OpenZWaveRemoteManagerProcessor : NSObject <TProcessor> {
- id <OpenZWaveRemoteManager> mService;
- NSDictionary * mMethodMap;
-}
-- (id) initWithRemoteManager: (id <OpenZWaveRemoteManager>) service;
-- (id<OpenZWaveRemoteManager>) service;
-@end
-
-@interface OpenZWaveozwConstants : NSObject {
-}
-@end
View
54,978 gen-cocoa/ozw.m
0 additions, 54,978 deletions not shown
View
38,624 gen-cpp/RemoteManager.cpp
0 additions, 38,624 deletions not shown
View
17,891 gen-cpp/RemoteManager.h
0 additions, 17,891 deletions not shown
View
1,092 gen-cpp/RemoteManager_server.cpp
@@ -1,1092 +0,0 @@
-// Automatically generated OpenZWave::Manager_server wrapper
-// (c) 2011-2012 Elias Karakoulakis <elias.karakoulakis@gmail.com>
-
-#include "RemoteManager.h"
-#include <protocol/TBinaryProtocol.h>
-#include <server/TSimpleServer.h>
-#include <transport/TServerSocket.h>
-#include <transport/TBufferTransports.h>
-
-using namespace ::apache::thrift;
-using namespace ::apache::thrift::protocol;
-using namespace ::apache::thrift::transport;
-using namespace ::apache::thrift::server;
-
-using boost::shared_ptr;
-
-using namespace ::OpenZWave;
-
-void BeginControllerCommand_callback(OpenZWave::Driver::ControllerState arg1, void* arg2) {
- g_criticalSection.lock();
- //
- STOMP::hdrmap headers;
- headers["ControllerState"] = to_string<uint16_t>(arg1, std::hex);
- string empty = "" ;
- stomp_client->send(*notifications_topic, headers, empty);
- //
- g_criticalSection.unlock();
-}
-
-class RemoteManagerHandler : virtual public RemoteManagerIf {
- public:
- RemoteManagerHandler() {
- // Your initialization goes here
- }
-
- void WriteConfig(const int32_t _homeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->WriteConfig((::uint32 const) _homeId);
- g_criticalSection.unlock();
- }
-
- int8_t GetControllerNodeId(const int32_t _homeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- ::int8_t function_result = mgr->GetControllerNodeId((::uint32 const) _homeId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool IsPrimaryController(const int32_t _homeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->IsPrimaryController((::uint32 const) _homeId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool IsStaticUpdateController(const int32_t _homeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->IsStaticUpdateController((::uint32 const) _homeId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool IsBridgeController(const int32_t _homeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->IsBridgeController((::uint32 const) _homeId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- void GetLibraryVersion(std::string& _return, const int32_t _homeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return = mgr->GetLibraryVersion((::uint32 const) _homeId);
- g_criticalSection.unlock();
- }
-
- void GetLibraryTypeName(std::string& _return, const int32_t _homeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return = mgr->GetLibraryTypeName((::uint32 const) _homeId);
- g_criticalSection.unlock();
- }
-
- int32_t GetSendQueueCount(const int32_t _homeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- ::int32_t function_result = mgr->GetSendQueueCount((::uint32 const) _homeId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- void LogDriverStatistics(const int32_t _homeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->LogDriverStatistics((::uint32 const) _homeId);
- g_criticalSection.unlock();
- }
-
- int32_t GetPollInterval() {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- ::int32_t function_result = mgr->GetPollInterval();
- g_criticalSection.unlock();
- return(function_result);
- }
-
- void SetPollInterval(const int32_t _milliseconds, const bool _bIntervalBetweenPolls) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->SetPollInterval((::int32) _milliseconds, (bool) _bIntervalBetweenPolls);
- g_criticalSection.unlock();
- }
-
- bool EnablePoll(const RemoteValueID& _valueId, const int8_t _intensity) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->EnablePoll(_valueId.toValueID(), (::uint8 const) _intensity);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool DisablePoll(const RemoteValueID& _valueId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->DisablePoll(_valueId.toValueID());
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool isPolled(const RemoteValueID& _valueId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->isPolled(_valueId.toValueID());
- g_criticalSection.unlock();
- return(function_result);
- }
-
- void SetPollIntensity(const RemoteValueID& _valueId, const int8_t _intensity) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->SetPollIntensity(_valueId.toValueID(), (::uint8 const) _intensity);
- g_criticalSection.unlock();
- }
-
- bool RefreshNodeInfo(const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->RefreshNodeInfo((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool RequestNodeState(const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->RequestNodeState((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool RequestNodeDynamic(const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->RequestNodeDynamic((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool IsNodeListeningDevice(const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->IsNodeListeningDevice((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool IsNodeFrequentListeningDevice(const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->IsNodeFrequentListeningDevice((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool IsNodeBeamingDevice(const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->IsNodeBeamingDevice((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool IsNodeRoutingDevice(const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->IsNodeRoutingDevice((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool IsNodeSecurityDevice(const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->IsNodeSecurityDevice((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- int32_t GetNodeMaxBaudRate(const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- ::int32_t function_result = mgr->GetNodeMaxBaudRate((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- int8_t GetNodeVersion(const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- ::int8_t function_result = mgr->GetNodeVersion((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- int8_t GetNodeSecurity(const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- ::int8_t function_result = mgr->GetNodeSecurity((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- int8_t GetNodeBasic(const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- ::int8_t function_result = mgr->GetNodeBasic((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- int8_t GetNodeGeneric(const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- ::int8_t function_result = mgr->GetNodeGeneric((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- int8_t GetNodeSpecific(const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- ::int8_t function_result = mgr->GetNodeSpecific((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- void GetNodeType(std::string& _return, const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return = mgr->GetNodeType((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- }
-
- void GetNodeNeighbors(UInt32_ListByte& _return, const int32_t _homeId, const int8_t _nodeId) {
- uint8* arr;
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->GetNodeNeighbors((::uint32 const) _homeId, (::uint8 const) _nodeId, (::uint8**) &arr);
- g_criticalSection.unlock();
- if (_return.retval > 0) {
- for (int i=0; i<_return.retval; i++) _return._nodeNeighbors.push_back(arr[i]);
- delete arr;
- }
- }
-
- void GetNodeManufacturerName(std::string& _return, const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return = mgr->GetNodeManufacturerName((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- }
-
- void GetNodeProductName(std::string& _return, const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return = mgr->GetNodeProductName((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- }
-
- void GetNodeName(std::string& _return, const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return = mgr->GetNodeName((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- }
-
- void GetNodeLocation(std::string& _return, const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return = mgr->GetNodeLocation((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- }
-
- void GetNodeManufacturerId(std::string& _return, const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return = mgr->GetNodeManufacturerId((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- }
-
- void GetNodeProductType(std::string& _return, const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return = mgr->GetNodeProductType((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- }
-
- void GetNodeProductId(std::string& _return, const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return = mgr->GetNodeProductId((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- }
-
- void SetNodeManufacturerName(const int32_t _homeId, const int8_t _nodeId, const std::string& _manufacturerName) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->SetNodeManufacturerName((::uint32 const) _homeId, (::uint8 const) _nodeId, (const std::string&) _manufacturerName);
- g_criticalSection.unlock();
- }
-
- void SetNodeProductName(const int32_t _homeId, const int8_t _nodeId, const std::string& _productName) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->SetNodeProductName((::uint32 const) _homeId, (::uint8 const) _nodeId, (const std::string&) _productName);
- g_criticalSection.unlock();
- }
-
- void SetNodeName(const int32_t _homeId, const int8_t _nodeId, const std::string& _nodeName) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->SetNodeName((::uint32 const) _homeId, (::uint8 const) _nodeId, (const std::string&) _nodeName);
- g_criticalSection.unlock();
- }
-
- void SetNodeLocation(const int32_t _homeId, const int8_t _nodeId, const std::string& _location) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->SetNodeLocation((::uint32 const) _homeId, (::uint8 const) _nodeId, (const std::string&) _location);
- g_criticalSection.unlock();
- }
-
- void SetNodeOn(const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->SetNodeOn((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- }
-
- void SetNodeOff(const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->SetNodeOff((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- }
-
- void SetNodeLevel(const int32_t _homeId, const int8_t _nodeId, const int8_t _level) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->SetNodeLevel((::uint32 const) _homeId, (::uint8 const) _nodeId, (::uint8 const) _level);
- g_criticalSection.unlock();
- }
-
- bool IsNodeInfoReceived(const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->IsNodeInfoReceived((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- void GetNodeClassInformation(Bool_GetNodeClassInformation& _return, const int32_t _homeId, const int8_t _nodeId, const int8_t _commandClassId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->GetNodeClassInformation((::uint32 const) _homeId, (::uint8 const) _nodeId, (::uint8 const) _commandClassId, (std::string*) &_return._className, (::uint8*) &_return._classVersion);
- g_criticalSection.unlock();
- }
-
- void GetValueLabel(std::string& _return, const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return = mgr->GetValueLabel(_id.toValueID());
- g_criticalSection.unlock();
- }
-
- void SetValueLabel(const RemoteValueID& _id, const std::string& _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->SetValueLabel(_id.toValueID(), (const std::string&) _value);
- g_criticalSection.unlock();
- }
-
- void GetValueUnits(std::string& _return, const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return = mgr->GetValueUnits(_id.toValueID());
- g_criticalSection.unlock();
- }
-
- void SetValueUnits(const RemoteValueID& _id, const std::string& _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->SetValueUnits(_id.toValueID(), (const std::string&) _value);
- g_criticalSection.unlock();
- }
-
- void GetValueHelp(std::string& _return, const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return = mgr->GetValueHelp(_id.toValueID());
- g_criticalSection.unlock();
- }
-
- void SetValueHelp(const RemoteValueID& _id, const std::string& _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->SetValueHelp(_id.toValueID(), (const std::string&) _value);
- g_criticalSection.unlock();
- }
-
- int32_t GetValueMin(const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- ::int32_t function_result = mgr->GetValueMin(_id.toValueID());
- g_criticalSection.unlock();
- return(function_result);
- }
-
- int32_t GetValueMax(const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- ::int32_t function_result = mgr->GetValueMax(_id.toValueID());
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool IsValueReadOnly(const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->IsValueReadOnly(_id.toValueID());
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool IsValueWriteOnly(const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->IsValueWriteOnly(_id.toValueID());
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool IsValueSet(const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->IsValueSet(_id.toValueID());
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool IsValuePolled(const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->IsValuePolled(_id.toValueID());
- g_criticalSection.unlock();
- return(function_result);
- }
-
- void GetValueAsBool(Bool_Bool& _return, const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->GetValueAsBool(_id.toValueID(), (bool*) &_return.o_value);
- g_criticalSection.unlock();
- }
-
- void GetValueAsByte(Bool_UInt8& _return, const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->GetValueAsByte(_id.toValueID(), (::uint8*) &_return.o_value);
- g_criticalSection.unlock();
- }
-
- void GetValueAsFloat(Bool_Float& _return, const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->GetValueAsFloat(_id.toValueID(), (float*) &_return.o_value);
- g_criticalSection.unlock();
- }
-
- void GetValueAsInt(Bool_Int& _return, const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->GetValueAsInt(_id.toValueID(), (::int32*) &_return.o_value);
- g_criticalSection.unlock();
- }
-
- void GetValueAsShort(Bool_Int16& _return, const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->GetValueAsShort(_id.toValueID(), (::int16*) &_return.o_value);
- g_criticalSection.unlock();
- }
-
- void GetValueAsString(Bool_String& _return, const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->GetValueAsString(_id.toValueID(), (std::string*) &_return.o_value);
- g_criticalSection.unlock();
- }
-
- void GetValueListSelection_String(Bool_String& _return, const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->GetValueListSelection(_id.toValueID(), (std::string*) &_return.o_value);
- g_criticalSection.unlock();
- }
-
- void GetValueListSelection_Int32(Bool_Int& _return, const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->GetValueListSelection(_id.toValueID(), (::int32*) &_return.o_value);
- g_criticalSection.unlock();
- }
-
- void GetValueListItems(Bool_ListString& _return, const RemoteValueID& _id) {
- std::vector<std::string> o_values;
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->GetValueListItems(_id.toValueID(), &o_values);
- g_criticalSection.unlock();
- if (_return.retval > 0) {
- for (int i=0; i< _return.retval; i++) _return.o_value.push_back(std::string(o_values[i]));
- }
- }
-
- void GetValueFloatPrecision(Bool_UInt8& _return, const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->GetValueFloatPrecision(_id.toValueID(), (::uint8*) &_return.o_value);
- g_criticalSection.unlock();
- }
-
- bool SetValue_Bool(const RemoteValueID& _id, const bool _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->SetValue(_id.toValueID(), (bool const) _value);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool SetValue_UInt8(const RemoteValueID& _id, const int8_t _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->SetValue(_id.toValueID(), (::uint8 const) _value);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool SetValue_Float(const RemoteValueID& _id, const double _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->SetValue(_id.toValueID(), (float const) _value);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool SetValue_Int32(const RemoteValueID& _id, const int32_t _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->SetValue(_id.toValueID(), (::int32 const) _value);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool SetValue_Int16(const RemoteValueID& _id, const int16_t _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->SetValue(_id.toValueID(), (::int16 const) _value);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool SetValue_String(const RemoteValueID& _id, const std::string& _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->SetValue(_id.toValueID(), (const std::string&) _value);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool SetValueListSelection(const RemoteValueID& _id, const std::string& _selectedItem) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->SetValueListSelection(_id.toValueID(), (const std::string&) _selectedItem);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool RefreshValue(const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->RefreshValue(_id.toValueID());
- g_criticalSection.unlock();
- return(function_result);
- }
-
- void SetChangeVerified(const RemoteValueID& _id, const bool _verify) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->SetChangeVerified(_id.toValueID(), (bool) _verify);
- g_criticalSection.unlock();
- }
-
- bool PressButton(const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->PressButton(_id.toValueID());
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool ReleaseButton(const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->ReleaseButton(_id.toValueID());
- g_criticalSection.unlock();
- return(function_result);
- }
-
- int8_t GetNumSwitchPoints(const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- ::int8_t function_result = mgr->GetNumSwitchPoints(_id.toValueID());
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool SetSwitchPoint(const RemoteValueID& _id, const int8_t _hours, const int8_t _minutes, const int8_t _setback) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->SetSwitchPoint(_id.toValueID(), (::uint8 const) _hours, (::uint8 const) _minutes, (::int8 const) _setback);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool RemoveSwitchPoint(const RemoteValueID& _id, const int8_t _hours, const int8_t _minutes) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->RemoveSwitchPoint(_id.toValueID(), (::uint8 const) _hours, (::uint8 const) _minutes);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- void ClearSwitchPoints(const RemoteValueID& _id) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->ClearSwitchPoints(_id.toValueID());
- g_criticalSection.unlock();
- }
-
- void GetSwitchPoint(GetSwitchPointReturnStruct& _return, const RemoteValueID& _id, const int8_t _idx) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->GetSwitchPoint(_id.toValueID(), (::uint8 const) _idx, (::uint8*) &_return.o_hours, (::uint8*) &_return.o_minutes, (::int8*) &_return.o_setback);
- g_criticalSection.unlock();
- }
-
- void SwitchAllOn(const int32_t _homeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->SwitchAllOn((::uint32 const) _homeId);
- g_criticalSection.unlock();
- }
-
- void SwitchAllOff(const int32_t _homeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->SwitchAllOff((::uint32 const) _homeId);
- g_criticalSection.unlock();
- }
-
- bool SetConfigParam(const int32_t _homeId, const int8_t _nodeId, const int8_t _param, const int32_t _value, const int8_t _size) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->SetConfigParam((::uint32 const) _homeId, (::uint8 const) _nodeId, (::uint8 const) _param, (::int32) _value, (::uint8 const) _size);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- void RequestConfigParam(const int32_t _homeId, const int8_t _nodeId, const int8_t _param) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->RequestConfigParam((::uint32 const) _homeId, (::uint8 const) _nodeId, (::uint8 const) _param);
- g_criticalSection.unlock();
- }
-
- void RequestAllConfigParams(const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->RequestAllConfigParams((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- }
-
- int8_t GetNumGroups(const int32_t _homeId, const int8_t _nodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- ::int8_t function_result = mgr->GetNumGroups((::uint32 const) _homeId, (::uint8 const) _nodeId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- void GetAssociations(GetAssociationsReturnStruct& _return, const int32_t _homeId, const int8_t _nodeId, const int8_t _groupIdx) {
- uint8* o_associations;
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->GetAssociations((::uint32 const) _homeId, (::uint8 const) _nodeId, (::uint8 const) _groupIdx, (::uint8**) &o_associations);
- g_criticalSection.unlock();
- if (_return.retval > 0) {
- for (int i=0; i<_return.retval; i++) _return.o_associations.push_back(o_associations[i]);
- delete o_associations;
- }
- }
-
- int8_t GetMaxAssociations(const int32_t _homeId, const int8_t _nodeId, const int8_t _groupIdx) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- ::int8_t function_result = mgr->GetMaxAssociations((::uint32 const) _homeId, (::uint8 const) _nodeId, (::uint8 const) _groupIdx);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- void GetGroupLabel(std::string& _return, const int32_t _homeId, const int8_t _nodeId, const int8_t _groupIdx) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return = mgr->GetGroupLabel((::uint32 const) _homeId, (::uint8 const) _nodeId, (::uint8 const) _groupIdx);
- g_criticalSection.unlock();
- }
-
- void AddAssociation(const int32_t _homeId, const int8_t _nodeId, const int8_t _groupIdx, const int8_t _targetNodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->AddAssociation((::uint32 const) _homeId, (::uint8 const) _nodeId, (::uint8 const) _groupIdx, (::uint8 const) _targetNodeId);
- g_criticalSection.unlock();
- }
-
- void RemoveAssociation(const int32_t _homeId, const int8_t _nodeId, const int8_t _groupIdx, const int8_t _targetNodeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->RemoveAssociation((::uint32 const) _homeId, (::uint8 const) _nodeId, (::uint8 const) _groupIdx, (::uint8 const) _targetNodeId);
- g_criticalSection.unlock();
- }
-
- void ResetController(const int32_t _homeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->ResetController((::uint32 const) _homeId);
- g_criticalSection.unlock();
- }
-
- void SoftReset(const int32_t _homeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->SoftReset((::uint32 const) _homeId);
- g_criticalSection.unlock();
- }
-
- bool BeginControllerCommand(const int32_t _homeId, const DriverControllerCommand::type _command, const bool _highPower, const int8_t _nodeId, const int8_t _arg) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->BeginControllerCommand((::uint32 const) _homeId, (OpenZWave::Driver::ControllerCommand) _command, &BeginControllerCommand_callback, (void*) this, (bool) _highPower, (::uint8) _nodeId, (::uint8) _arg);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool CancelControllerCommand(const int32_t _homeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->CancelControllerCommand((::uint32 const) _homeId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- int8_t GetNumScenes() {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- ::int8_t function_result = mgr->GetNumScenes();
- g_criticalSection.unlock();
- return(function_result);
- }
-
- void GetAllScenes(GetAllScenesReturnStruct& _return) {
- uint8* _sceneIds;
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->GetAllScenes((::uint8**) &_sceneIds);
- g_criticalSection.unlock();
- if (_return.retval>0) {
- for (int i=0; i<_return.retval; i++) _return._sceneIds.push_back(_sceneIds[i]);
- delete(_sceneIds);
- }
- }
-
- int8_t CreateScene() {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- ::int8_t function_result = mgr->CreateScene();
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool RemoveScene(const int8_t _sceneId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->RemoveScene((::uint8 const) _sceneId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool AddSceneValue_Bool(const int8_t _sceneId, const RemoteValueID& _valueId, const bool _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->AddSceneValue((::uint8 const) _sceneId, _valueId.toValueID(), (bool const) _value);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool AddSceneValue_Uint8(const int8_t _sceneId, const RemoteValueID& _valueId, const int8_t _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->AddSceneValue((::uint8 const) _sceneId, _valueId.toValueID(), (::uint8 const) _value);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool AddSceneValue_Float(const int8_t _sceneId, const RemoteValueID& _valueId, const double _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->AddSceneValue((::uint8 const) _sceneId, _valueId.toValueID(), (float const) _value);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool AddSceneValue_Int32(const int8_t _sceneId, const RemoteValueID& _valueId, const int32_t _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->AddSceneValue((::uint8 const) _sceneId, _valueId.toValueID(), (::int32 const) _value);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool AddSceneValue_Int16(const int8_t _sceneId, const RemoteValueID& _valueId, const int16_t _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->AddSceneValue((::uint8 const) _sceneId, _valueId.toValueID(), (::int16 const) _value);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool AddSceneValue_String(const int8_t _sceneId, const RemoteValueID& _valueId, const std::string& _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->AddSceneValue((::uint8 const) _sceneId, _valueId.toValueID(), (const std::string&) _value);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool AddSceneValueListSelection_String(const int8_t _sceneId, const RemoteValueID& _valueId, const std::string& _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->AddSceneValueListSelection((::uint8 const) _sceneId, _valueId.toValueID(), (const std::string&) _value);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool AddSceneValueListSelection_Int32(const int8_t _sceneId, const RemoteValueID& _valueId, const int32_t _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->AddSceneValueListSelection((::uint8 const) _sceneId, _valueId.toValueID(), (::int32 const) _value);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool RemoveSceneValue(const int8_t _sceneId, const RemoteValueID& _valueId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->RemoveSceneValue((::uint8 const) _sceneId, _valueId.toValueID());
- g_criticalSection.unlock();
- return(function_result);
- }
-
- void SceneGetValues(SceneGetValuesReturnStruct& _return, const int8_t _sceneId) {
- std::vector<OpenZWave::ValueID> o_values;
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->SceneGetValues((::uint8 const) _sceneId, &o_values);
- g_criticalSection.unlock();
- for (int i=0; i< _return.retval; i++) _return.o_value.push_back(RemoteValueID(o_values[i]));
- }
-
- void SceneGetValueAsBool(Bool_Bool& _return, const int8_t _sceneId, const RemoteValueID& _valueId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->SceneGetValueAsBool((::uint8 const) _sceneId, _valueId.toValueID(), (bool*) &_return.o_value);
- g_criticalSection.unlock();
- }
-
- void SceneGetValueAsByte(Bool_UInt8& _return, const int8_t _sceneId, const RemoteValueID& _valueId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->SceneGetValueAsByte((::uint8 const) _sceneId, _valueId.toValueID(), (::uint8*) &_return.o_value);
- g_criticalSection.unlock();
- }
-
- void SceneGetValueAsFloat(Bool_Float& _return, const int8_t _sceneId, const RemoteValueID& _valueId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->SceneGetValueAsFloat((::uint8 const) _sceneId, _valueId.toValueID(), (float*) &_return.o_value);
- g_criticalSection.unlock();
- }
-
- void SceneGetValueAsInt(Bool_Int& _return, const int8_t _sceneId, const RemoteValueID& _valueId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->SceneGetValueAsInt((::uint8 const) _sceneId, _valueId.toValueID(), (::int32*) &_return.o_value);
- g_criticalSection.unlock();
- }
-
- void SceneGetValueAsShort(Bool_Int16& _return, const int8_t _sceneId, const RemoteValueID& _valueId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->SceneGetValueAsShort((::uint8 const) _sceneId, _valueId.toValueID(), (::int16*) &_return.o_value);
- g_criticalSection.unlock();
- }
-
- void SceneGetValueAsString(Bool_String& _return, const int8_t _sceneId, const RemoteValueID& _valueId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->SceneGetValueAsString((::uint8 const) _sceneId, _valueId.toValueID(), (std::string*) &_return.o_value);
- g_criticalSection.unlock();
- }
-
- void SceneGetValueListSelection_String(Bool_String& _return, const int8_t _sceneId, const RemoteValueID& _valueId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->SceneGetValueListSelection((::uint8 const) _sceneId, _valueId.toValueID(), (std::string*) &_return.o_value);
- g_criticalSection.unlock();
- }
-
- void SceneGetValueListSelection_Int32(Bool_Int& _return, const int8_t _sceneId, const RemoteValueID& _valueId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return.retval = mgr->SceneGetValueListSelection((::uint8 const) _sceneId, _valueId.toValueID(), (::int32*) &_return.o_value);
- g_criticalSection.unlock();
- }
-
- bool SetSceneValue_Bool(const int8_t _sceneId, const RemoteValueID& _valueId, const bool _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->SetSceneValue((::uint8 const) _sceneId, _valueId.toValueID(), (bool const) _value);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool SetSceneValue_Uint8(const int8_t _sceneId, const RemoteValueID& _valueId, const int8_t _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->SetSceneValue((::uint8 const) _sceneId, _valueId.toValueID(), (::uint8 const) _value);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool SetSceneValue_Float(const int8_t _sceneId, const RemoteValueID& _valueId, const double _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->SetSceneValue((::uint8 const) _sceneId, _valueId.toValueID(), (float const) _value);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool SetSceneValue_Int32(const int8_t _sceneId, const RemoteValueID& _valueId, const int32_t _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->SetSceneValue((::uint8 const) _sceneId, _valueId.toValueID(), (::int32 const) _value);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool SetSceneValue_Int16(const int8_t _sceneId, const RemoteValueID& _valueId, const int16_t _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->SetSceneValue((::uint8 const) _sceneId, _valueId.toValueID(), (::int16 const) _value);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool SetSceneValue_String(const int8_t _sceneId, const RemoteValueID& _valueId, const std::string& _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->SetSceneValue((::uint8 const) _sceneId, _valueId.toValueID(), (const std::string&) _value);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool SetSceneValueListSelection_String(const int8_t _sceneId, const RemoteValueID& _valueId, const std::string& _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->SetSceneValueListSelection((::uint8 const) _sceneId, _valueId.toValueID(), (const std::string&) _value);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool SetSceneValueListSelection_Int32(const int8_t _sceneId, const RemoteValueID& _valueId, const int32_t _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->SetSceneValueListSelection((::uint8 const) _sceneId, _valueId.toValueID(), (::int32 const) _value);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- void GetSceneLabel(std::string& _return, const int8_t _sceneId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- _return = mgr->GetSceneLabel((::uint8 const) _sceneId);
- g_criticalSection.unlock();
- }
-
- void SetSceneLabel(const int8_t _sceneId, const std::string& _value) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->SetSceneLabel((::uint8 const) _sceneId, (const std::string&) _value);
- g_criticalSection.unlock();
- }
-
- bool SceneExists(const int8_t _sceneId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->SceneExists((::uint8 const) _sceneId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- bool ActivateScene(const int8_t _sceneId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- bool function_result = mgr->ActivateScene((::uint8 const) _sceneId);
- g_criticalSection.unlock();
- return(function_result);
- }
-
- void GetDriverStatistics(GetDriverStatisticsReturnStruct& _return, const int32_t _homeId) {
- Manager* mgr = Manager::Get();
- g_criticalSection.lock();
- mgr->GetDriverStatistics((::uint32 const) _homeId, (OpenZWave::Driver::DriverData*) &_return._data);
- g_criticalSection.unlock();
- }
-
- void SendAllValues() {
- // Your implementation goes here
- printf("SendAllValues\n");
- }
-
-};
-
-// int main(int argc, char **argv) {
-// int port = 9090;
-// shared_ptr<RemoteManagerHandler> handler(new RemoteManagerHandler());
-// shared_ptr<TProcessor> processor(new RemoteManagerProcessor(handler));
-// shared_ptr<TServerTransport> serverTransport(new TServerSocket(port));
-// shared_ptr<TTransportFactory> transportFactory(new TBufferedTransportFactory());
-// shared_ptr<TProtocolFactory> protocolFactory(new TBinaryProtocolFactory());
-//
-// TSimpleServer server(processor, serverTransport, transportFactory, protocolFactory);
-// server.serve();
-// return 0;
-// }
-//
-//
View
719 gen-cpp/RemoteManager_server.skeleton.cpp
@@ -1,719 +0,0 @@
-// This autogenerated skeleton file illustrates how to build a server.
-// You should copy it to another filename to avoid overwriting it.
-
-#include "RemoteManager.h"
-#include <thrift/protocol/TBinaryProtocol.h>
-#include <thrift/server/TSimpleServer.h>
-#include <thrift/transport/TServerSocket.h>
-#include <thrift/transport/TBufferTransports.h>
-
-using namespace ::apache::thrift;
-using namespace ::apache::thrift::protocol;
-using namespace ::apache::thrift::transport;
-using namespace ::apache::thrift::server;
-
-using boost::shared_ptr;
-
-using namespace ::OpenZWave;
-
-class RemoteManagerHandler : virtual public RemoteManagerIf {
- public:
- RemoteManagerHandler() {
- // Your initialization goes here
- }
-
- void WriteConfig(const int32_t _homeId) {
- // Your implementation goes here
- printf("WriteConfig\n");
- }
-
- int8_t GetControllerNodeId(const int32_t _homeId) {
- // Your implementation goes here
- printf("GetControllerNodeId\n");
- }
-
- bool IsPrimaryController(const int32_t _homeId) {
- // Your implementation goes here
- printf("IsPrimaryController\n");
- }
-
- bool IsStaticUpdateController(const int32_t _homeId) {
- // Your implementation goes here
- printf("IsStaticUpdateController\n");
- }
-
- bool IsBridgeController(const int32_t _homeId) {
- // Your implementation goes here
- printf("IsBridgeController\n");
- }
-
- void GetLibraryVersion(std::string& _return, const int32_t _homeId) {
- // Your implementation goes here
- printf("GetLibraryVersion\n");
- }
-
- void GetLibraryTypeName(std::string& _return, const int32_t _homeId) {
- // Your implementation goes here
- printf("GetLibraryTypeName\n");
- }
-
- int32_t GetSendQueueCount(const int32_t _homeId) {
- // Your implementation goes here
- printf("GetSendQueueCount\n");
- }
-
- void LogDriverStatistics(const int32_t _homeId) {
- // Your implementation goes here
- printf("LogDriverStatistics\n");
- }
-
- int32_t GetPollInterval() {
- // Your implementation goes here
- printf("GetPollInterval\n");
- }
-
- void SetPollInterval(const int32_t _milliseconds, const bool _bIntervalBetweenPolls) {
- // Your implementation goes here
- printf("SetPollInterval\n");
- }
-
- bool EnablePoll(const RemoteValueID& _valueId, const int8_t _intensity) {
- // Your implementation goes here
- printf("EnablePoll\n");
- }
-
- bool DisablePoll(const RemoteValueID& _valueId) {
- // Your implementation goes here
- printf("DisablePoll\n");
- }
-
- bool isPolled(const RemoteValueID& _valueId) {
- // Your implementation goes here
- printf("isPolled\n");
- }
-
- void SetPollIntensity(const RemoteValueID& _valueId, const int8_t _intensity) {
- // Your implementation goes here
- printf("SetPollIntensity\n");
- }
-
- bool RefreshNodeInfo(const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("RefreshNodeInfo\n");
- }
-
- bool RequestNodeState(const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("RequestNodeState\n");
- }
-
- bool RequestNodeDynamic(const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("RequestNodeDynamic\n");
- }
-
- bool IsNodeListeningDevice(const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("IsNodeListeningDevice\n");
- }
-
- bool IsNodeFrequentListeningDevice(const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("IsNodeFrequentListeningDevice\n");
- }
-
- bool IsNodeBeamingDevice(const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("IsNodeBeamingDevice\n");
- }
-
- bool IsNodeRoutingDevice(const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("IsNodeRoutingDevice\n");
- }
-
- bool IsNodeSecurityDevice(const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("IsNodeSecurityDevice\n");
- }
-
- int32_t GetNodeMaxBaudRate(const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("GetNodeMaxBaudRate\n");
- }
-
- int8_t GetNodeVersion(const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("GetNodeVersion\n");
- }
-
- int8_t GetNodeSecurity(const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("GetNodeSecurity\n");
- }
-
- int8_t GetNodeBasic(const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("GetNodeBasic\n");
- }
-
- int8_t GetNodeGeneric(const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("GetNodeGeneric\n");
- }
-
- int8_t GetNodeSpecific(const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("GetNodeSpecific\n");
- }
-
- void GetNodeType(std::string& _return, const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("GetNodeType\n");
- }
-
- void GetNodeNeighbors(UInt32_ListByte& _return, const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("GetNodeNeighbors\n");
- }
-
- void GetNodeManufacturerName(std::string& _return, const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("GetNodeManufacturerName\n");
- }
-
- void GetNodeProductName(std::string& _return, const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("GetNodeProductName\n");
- }
-
- void GetNodeName(std::string& _return, const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("GetNodeName\n");
- }
-
- void GetNodeLocation(std::string& _return, const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("GetNodeLocation\n");
- }
-
- void GetNodeManufacturerId(std::string& _return, const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("GetNodeManufacturerId\n");
- }
-
- void GetNodeProductType(std::string& _return, const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("GetNodeProductType\n");
- }
-
- void GetNodeProductId(std::string& _return, const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("GetNodeProductId\n");
- }
-
- void SetNodeManufacturerName(const int32_t _homeId, const int8_t _nodeId, const std::string& _manufacturerName) {
- // Your implementation goes here
- printf("SetNodeManufacturerName\n");
- }
-
- void SetNodeProductName(const int32_t _homeId, const int8_t _nodeId, const std::string& _productName) {
- // Your implementation goes here
- printf("SetNodeProductName\n");
- }
-
- void SetNodeName(const int32_t _homeId, const int8_t _nodeId, const std::string& _nodeName) {
- // Your implementation goes here
- printf("SetNodeName\n");
- }
-
- void SetNodeLocation(const int32_t _homeId, const int8_t _nodeId, const std::string& _location) {
- // Your implementation goes here
- printf("SetNodeLocation\n");
- }
-
- void SetNodeOn(const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("SetNodeOn\n");
- }
-
- void SetNodeOff(const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("SetNodeOff\n");
- }
-
- void SetNodeLevel(const int32_t _homeId, const int8_t _nodeId, const int8_t _level) {
- // Your implementation goes here
- printf("SetNodeLevel\n");
- }
-
- bool IsNodeInfoReceived(const int32_t _homeId, const int8_t _nodeId) {
- // Your implementation goes here
- printf("IsNodeInfoReceived\n");
- }
-
- void GetNodeClassInformation(Bool_GetNodeClassInformation& _return, const int32_t _homeId, const int8_t _nodeId, const int8_t _commandClassId) {
- // Your implementation goes here