PointCloudProviderFrameRateNotSupportedException.h
Go to the documentation of this file.
1 /*
2 * This file is part of ArmarX.
3 *
4 * ArmarX is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * ArmarX is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * @package VisionX::Core
17 * @author David Gonzalez <david dot gonzalez at kit dot edu>
18 * @copyright 2014 Humanoids Group, HIS, KIT
19 * @license http://www.gnu.org/licenses/gpl-2.0.txt
20 * GNU General Public License
21 */
22 #pragma once
23 
24 #include <string>
25 #include <iostream>
26 
27 #include <VisionX/interface/core/PointCloudProcessorInterface.h>
28 
30 {
31  class PointCloudProviderFrameRateNotSupportedException: public visionx::PointCloudProviderFrameRateNotSupportedException
32  {
33  public:
34 
37  {
38  std::stringstream ss;
39  ss << "Frame rate not supported: " << frameRate;
40  reason = ss.str();
41  }
42 
44  {
45  }
46  };
47 };
48 
49 
visionx::exceptions::user::PointCloudProviderFrameRateNotSupportedException::~PointCloudProviderFrameRateNotSupportedException
~PointCloudProviderFrameRateNotSupportedException()
Definition: PointCloudProviderFrameRateNotSupportedException.h:43
visionx
ArmarX headers.
Definition: OpenPoseStressTest.h:38
visionx::exceptions::user::PointCloudProviderFrameRateNotSupportedException::PointCloudProviderFrameRateNotSupportedException
PointCloudProviderFrameRateNotSupportedException(float frameRate)
Definition: PointCloudProviderFrameRateNotSupportedException.h:35
visionx::exceptions::user
Definition: FrameRateNotSupportedException.h:29
visionx::exceptions::user::PointCloudProviderFrameRateNotSupportedException
Definition: PointCloudProviderFrameRateNotSupportedException.h:31