PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
Macros | Functions | Variables
vtkPlusDevice.cxx File Reference
#include "PlusConfigure.h"
#include "vtkPlusBuffer.h"
#include "vtkPlusChannel.h"
#include "vtkPlusDataSource.h"
#include "vtkPlusDevice.h"
#include "vtkIGSIORecursiveCriticalSection.h"
#include "vtkPlusSequenceIO.h"
#include "vtkIGSIOTrackedFrameList.h"
#include <vtkImageData.h>
#include <vtkInformation.h>
#include <vtkInformationVector.h>
#include <vtkMatrix4x4.h>
#include <vtkMultiThreader.h>
#include <vtkObjectFactory.h>
#include <vtkStreamingDemandDrivenPipeline.h>
#include <vtkWindows.h>
#include <vtksys/SystemTools.hxx>
#include <set>
#include <ctype.h>
#include <time.h>
Include dependency graph for vtkPlusDevice.cxx:

Go to the source code of this file.

Macros

#define LOCAL_LOG_DEBUG(msg)
 
#define LOCAL_LOG_ERROR(msg)
 
#define LOCAL_LOG_INFO(msg)
 
#define LOCAL_LOG_TRACE(msg)
 
#define LOCAL_LOG_WARNING(msg)
 

Functions

 vtkStandardNewMacro (vtkPlusDevice)
 

Variables

static const int FRAME_RATE_AVERAGING = 10
 

Macro Definition Documentation

◆ LOCAL_LOG_DEBUG

#define LOCAL_LOG_DEBUG (   msg)
Value:
{ \
std::ostringstream msgStream; \
if( this->DeviceId.empty() ) \
{ \
msgStream << " " << msg << std::ends; \
} \
else \
{ \
msgStream << this->DeviceId << ": " << msg << std::ends; \
} \
std::string finalStr(msgStream.str()); \
LOG_DEBUG(finalStr); \
}

Definition at line 82 of file vtkPlusDevice.cxx.

◆ LOCAL_LOG_ERROR

#define LOCAL_LOG_ERROR (   msg)
Value:
{ \
std::ostringstream msgStream; \
if( this->DeviceId.empty() ) \
{ \
msgStream << " " << msg << std::ends; \
} \
else \
{ \
msgStream << this->DeviceId << ": " << msg << std::ends; \
} \
std::string finalStr(msgStream.str()); \
LOG_ERROR(finalStr); \
}

Definition at line 40 of file vtkPlusDevice.cxx.

◆ LOCAL_LOG_INFO

#define LOCAL_LOG_INFO (   msg)
Value:
{ \
std::ostringstream msgStream; \
if( this->DeviceId.empty() ) \
{ \
msgStream << " " << msg << std::ends; \
} \
else \
{ \
msgStream << this->DeviceId << ": " << msg << std::ends; \
} \
std::string finalStr(msgStream.str()); \
LOG_INFO(finalStr); \
}

Definition at line 68 of file vtkPlusDevice.cxx.

◆ LOCAL_LOG_TRACE

#define LOCAL_LOG_TRACE (   msg)
Value:
{ \
std::ostringstream msgStream; \
if( this->DeviceId.empty() ) \
{ \
msgStream << " " << msg << std::ends; \
} \
else \
{ \
msgStream << this->DeviceId << ": " << msg << std::ends; \
} \
std::string finalStr(msgStream.str()); \
LOG_TRACE(finalStr); \
}

Definition at line 96 of file vtkPlusDevice.cxx.

◆ LOCAL_LOG_WARNING

#define LOCAL_LOG_WARNING (   msg)
Value:
{ \
std::ostringstream msgStream; \
if( this->DeviceId.empty() ) \
{ \
msgStream << " " << msg << std::ends; \
} \
else \
{ \
msgStream << this->DeviceId << ": " << msg << std::ends; \
} \
std::string finalStr(msgStream.str()); \
LOG_WARNING(finalStr); \
}

Definition at line 54 of file vtkPlusDevice.cxx.

Function Documentation

◆ vtkStandardNewMacro()

vtkStandardNewMacro ( vtkPlusDevice  )

Variable Documentation

◆ FRAME_RATE_AVERAGING

const int FRAME_RATE_AVERAGING = 10
static

Definition at line 116 of file vtkPlusDevice.cxx.