PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
Classes | Macros | Typedefs
vtkPlusDevice.h File Reference
#include "igsioCommon.h"
#include "PlusConfigure.h"
#include "PlusStreamBufferItem.h"
#include "vtkPlusChannel.h"
#include "vtkPlusDataCollectionExport.h"
#include <vtkImageAlgorithm.h>
#include <vtkMultiThreader.h>
#include <vtkStdString.h>
#include <set>
#include <string>
Include dependency graph for vtkPlusDevice.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vtkPlusDevice
 Abstract interface for tracker and video devices. More...
 

Macros

#define XML_FIND_DEVICE_ELEMENT_REQUIRED_FOR_READING(deviceConfig, rootConfigElement)
 
#define XML_FIND_DEVICE_ELEMENT_REQUIRED_FOR_WRITING(deviceConfig, rootConfigElement)
 

Typedefs

typedef std::vector< vtkPlusChannel * > ChannelContainer
 
typedef ChannelContainer::const_iterator ChannelContainerConstIterator
 
typedef ChannelContainer::iterator ChannelContainerIterator
 
typedef std::vector< vtkPlusDevice * > DeviceCollection
 
typedef std::vector< vtkPlusDevice * >::const_iterator DeviceCollectionConstIterator
 
typedef std::vector< vtkPlusDevice * >::iterator DeviceCollectionIterator
 
typedef std::vector< vtkPlusBuffer * > StreamBufferContainer
 
typedef StreamBufferContainer::const_iterator StreamBufferContainerConstIterator
 
typedef StreamBufferContainer::iterator StreamBufferContainerIterator
 
typedef std::map< int, vtkPlusBuffer * > StreamBufferMapContainer
 
typedef StreamBufferMapContainer::const_iterator StreamBufferMapContainerConstIterator
 
typedef StreamBufferMapContainer::iterator StreamBufferMapContainerIterator
 

Macro Definition Documentation

◆ XML_FIND_DEVICE_ELEMENT_REQUIRED_FOR_READING

#define XML_FIND_DEVICE_ELEMENT_REQUIRED_FOR_READING (   deviceConfig,
  rootConfigElement 
)
Value:
if( Superclass::ReadConfiguration(rootConfigElement) != PLUS_SUCCESS ) \
{ \
LOG_ERROR("Unable to continue reading configuration of "<<this->GetClassName()<<". Generic device configuration reading failed."); \
return PLUS_FAIL; \
} \
vtkXMLDataElement* deviceConfig = this->FindThisDeviceElement(rootConfigElement); \
if (deviceConfig == NULL) \
{ \
LOG_ERROR("Unable to continue configuration of "<<this->GetClassName()<<". Could not find corresponding element."); \
return PLUS_FAIL; \
}
#define PLUS_FAIL
Definition: PlusCommon.h:43
#define PLUS_SUCCESS
Definition: PlusCommon.h:44

Definition at line 623 of file vtkPlusDevice.h.

◆ XML_FIND_DEVICE_ELEMENT_REQUIRED_FOR_WRITING

#define XML_FIND_DEVICE_ELEMENT_REQUIRED_FOR_WRITING (   deviceConfig,
  rootConfigElement 
)
Value:
if( Superclass::WriteConfiguration(rootConfigElement) == PLUS_FAIL ) \
{ \
LOG_ERROR("Unable to continue writing configuration of "<<this->GetClassName()<<". Generic device configuration writing failed."); \
return PLUS_FAIL; \
} \
vtkXMLDataElement* deviceConfig = this->FindThisDeviceElement(rootConfigElement); \
if (deviceConfig == NULL) \
{ \
LOG_ERROR("Cannot find or add "<<this->GetClassName()<<" device in XML tree"); \
return PLUS_FAIL; \
}
#define PLUS_FAIL
Definition: PlusCommon.h:43

Definition at line 636 of file vtkPlusDevice.h.

Typedef Documentation

◆ ChannelContainer

typedef std::vector<vtkPlusChannel*> ChannelContainer

Definition at line 32 of file vtkPlusDevice.h.

◆ ChannelContainerConstIterator

typedef ChannelContainer::const_iterator ChannelContainerConstIterator

Definition at line 35 of file vtkPlusDevice.h.

◆ ChannelContainerIterator

typedef ChannelContainer::iterator ChannelContainerIterator

Definition at line 36 of file vtkPlusDevice.h.

◆ DeviceCollection

typedef std::vector<vtkPlusDevice*> DeviceCollection

Definition at line 46 of file vtkPlusDevice.h.

◆ DeviceCollectionConstIterator

typedef std::vector<vtkPlusDevice*>::const_iterator DeviceCollectionConstIterator

Definition at line 48 of file vtkPlusDevice.h.

◆ DeviceCollectionIterator

typedef std::vector<vtkPlusDevice*>::iterator DeviceCollectionIterator

Definition at line 47 of file vtkPlusDevice.h.

◆ StreamBufferContainer

typedef std::vector<vtkPlusBuffer*> StreamBufferContainer

Definition at line 38 of file vtkPlusDevice.h.

◆ StreamBufferContainerConstIterator

typedef StreamBufferContainer::const_iterator StreamBufferContainerConstIterator

Definition at line 39 of file vtkPlusDevice.h.

◆ StreamBufferContainerIterator

typedef StreamBufferContainer::iterator StreamBufferContainerIterator

Definition at line 40 of file vtkPlusDevice.h.

◆ StreamBufferMapContainer

Definition at line 42 of file vtkPlusDevice.h.

◆ StreamBufferMapContainerConstIterator

typedef StreamBufferMapContainer::const_iterator StreamBufferMapContainerConstIterator

Definition at line 43 of file vtkPlusDevice.h.

◆ StreamBufferMapContainerIterator

typedef StreamBufferMapContainer::iterator StreamBufferMapContainerIterator

Definition at line 44 of file vtkPlusDevice.h.