artf4107: Uniform initialization syntax introduced

Change-Id: I452b4794d757a0817589ec62b75eda7fbdd74904
This commit is contained in:
Tyler Veness
2015-06-24 01:06:29 -07:00
parent b1befed14f
commit 368ad30d37
179 changed files with 379 additions and 831 deletions

View File

@@ -43,21 +43,7 @@ static const std::string kRotationStrings[] = {
* @param cameraHost The host to find the camera at, typically an IP address
*/
AxisCamera::AxisCamera(std::string const &cameraHost)
: m_cameraHost(cameraHost),
m_cameraSocket(-1),
m_freshImage(false),
m_brightness(50),
m_whiteBalance(kWhiteBalance_Automatic),
m_colorLevel(50),
m_exposureControl(kExposureControl_Automatic),
m_exposurePriority(50),
m_maxFPS(0),
m_resolution(kResolution_640x480),
m_compression(50),
m_rotation(kRotation_0),
m_parametersDirty(true),
m_streamDirty(true),
m_done(false) {
: m_cameraHost(cameraHost) {
m_captureThread = std::thread(&AxisCamera::Capture, this);
}

View File

@@ -11,10 +11,6 @@
using namespace std;
BinaryImage::BinaryImage() : MonoImage() {}
BinaryImage::~BinaryImage() {}
/**
* Get then number of particles for the image.
* @returns the number of particles found for the image.

View File

@@ -10,8 +10,6 @@
ColorImage::ColorImage(ImageType type) : ImageBase(type) {}
ColorImage::~ColorImage() {}
/**
* Perform a threshold operation on a ColorImage.
* Perform a threshold operation on a ColorImage using the ColorMode supplied

View File

@@ -19,5 +19,3 @@ HSLImage::HSLImage(const char *fileName) : ColorImage(IMAQ_IMAGE_HSL) {
int success = imaqReadFile(m_imaqImage, fileName, nullptr, nullptr);
wpi_setImaqErrorWithContext(success, "Imaq ReadFile error");
}
HSLImage::~HSLImage() {}

View File

@@ -11,8 +11,6 @@ using namespace std;
MonoImage::MonoImage() : ImageBase(IMAQ_IMAGE_U8) {}
MonoImage::~MonoImage() {}
/**
* Look for ellipses in an image.
* Given some input parameters, look for any number of ellipses in an image.

View File

@@ -19,5 +19,3 @@ RGBImage::RGBImage(const char *fileName) : ColorImage(IMAQ_IMAGE_RGB) {
int success = imaqReadFile(m_imaqImage, fileName, nullptr, nullptr);
wpi_setImaqErrorWithContext(success, "Imaq ReadFile error");
}
RGBImage::~RGBImage() {}