Beispiel #1
0
 /** 
     @brief Return the module descriptor
     @param[in]  module  The module instance
     @param[out] desc	The module descriptor, to be returned.
     @return PXCM_STATUS_NO_ERROR         Successful execution.
     @return PXCM_STATUS_ITEM_UNAVAILABLE Failed to identify the module instance.
 */
 public pxcmStatus QueryModuleDesc(PXCMBase module, out PXCMSession.ImplDesc desc)
 {
     desc = new PXCMSession.ImplDesc();
     return PXCMSession_QueryModuleDesc(instance, module.instance, desc);
 }
Beispiel #2
0
 /**
  *  @brief Return the module descriptor
  *  @param[in]  module  The module instance
  *  @param[out] desc	The module descriptor, to be returned.
  *  @return PXCM_STATUS_NO_ERROR         Successful execution.
  *  @return PXCM_STATUS_ITEM_UNAVAILABLE Failed to identify the module instance.
  */
 public pxcmStatus QueryModuleDesc(PXCMBase module, out PXCMSession.ImplDesc desc)
 {
     desc = new PXCMSession.ImplDesc();
     return(PXCMSession_QueryModuleDesc(instance, module.instance, desc));
 }
Beispiel #3
0
 internal PXCMBase(IntPtr instance, Boolean delete)
 {
     this.instance = instance;
     refcount      = (delete ? 1 : 0);
     orig          = this;
 }
Beispiel #4
0
 /**
  *  @brief The function attaches an instance of a serializeable interface to be metadata storage.
  *  @param[in] id           The metadata identifier.
  *  @param[in] instance     The serializable instance.
  *  @return PXCM_STATUS_NO_ERROR         Successful execution.
  */
 public pxcmStatus AttachSerializable(Int32 id, PXCMBase slz)
 {
     return(PXCMMetadata_AttachSerializable(instance, id, slz.instance));
 }