Skip to content

File ConversionHelper.h

FileList > GenApiNet > ConversionHelper.h

Go to the source code of this file

  • #include "SpinGenApi/INode.h"
  • #include "SpinGenApi/GCString.h"
  • #include "Node.h"
  • #include "Exceptions.h"
  • #include "../ManagedLogger.h"

Namespaces

Type Name
namespace SpinnakerNET
namespace GenApi

Macros

Type Name
define MANAGED_EXCEPTION_END /* multi line expression */
define MANAGED_EXCEPTION_START try {
define MANAGED_TO_NATIVE_EXCEPTION_TYPE (EXC) /* multi line expression */
define NATIVE_EXCEPTION_END /* multi line expression */
define NATIVE_EXCEPTION_START try {
define NATIVE_TO_MANAGED_EXCEPTION_TYPE (ERRCODE) throw gcnew [**SpinnakerNET::SpinnakerException**](class_spinnaker_n_e_t_1_1_spinnaker_exception.md)(Spinnaker::Exception((int)ex.GetSourceLine(), ex.GetSourceFileName(), "", "", "", ex.what(), ERRCODE))

Macro Definition Documentation

define MANAGED_EXCEPTION_END

#define MANAGED_EXCEPTION_END `/* multi line expression */`

define MANAGED_EXCEPTION_START

#define MANAGED_EXCEPTION_START `try {`

define MANAGED_TO_NATIVE_EXCEPTION_TYPE

#define MANAGED_TO_NATIVE_EXCEPTION_TYPE (
    EXC
) `/* multi line expression */`

define NATIVE_EXCEPTION_END

#define NATIVE_EXCEPTION_END `/* multi line expression */`

define NATIVE_EXCEPTION_START

#define NATIVE_EXCEPTION_START `try {`

define NATIVE_TO_MANAGED_EXCEPTION_TYPE

#define NATIVE_TO_MANAGED_EXCEPTION_TYPE (
    ERRCODE
) `throw gcnew SpinnakerNET::SpinnakerException (Spinnaker::Exception((int)ex.GetSourceLine(), ex.GetSourceFileName(), "", "", "", ex.what(), ERRCODE))`


The documentation for this class was generated from the following file C:/workspace/src/SpinnakerNET/GenApiNet/ConversionHelper.h