PointCloudAndImageProvider.h
Go to the documentation of this file.
1/*
2 * This file is part of ArmarX.
3 *
4 * Copyright (C) 2011-2016, High Performance Humanoid Technologies (H2T), Karlsruhe Institute of Technology (KIT), all rights reserved.
5 *
6 * ArmarX is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 * ArmarX is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 *
18 * @package VisionX::Core
19 * @author Raphael Grimm (raphael dot grimm at kit dot edu)
20 * @date 2019
21 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
22 * GNU General Public License
23 */
24
25#pragma once
26
27
29#include <VisionX/interface/components/PointCloudAndImageAndCalibrationProviderInterface.h>
30
31#include "PointCloudProvider.h"
32
33namespace visionx
34{
36 virtual public PointCloudAndImageProviderInterface,
37 virtual public ImageProvider,
38 virtual public PointCloudProvider
39 {
40 protected:
41 void
48
49 void
56
57 void
64
65 void
72
73 // PointCloudProvider interface
74 protected:
75 void
76 onInitPointCloudProvider() final override
77 {
78 }
79
80 void
81 onExitPointCloudProvider() final override
82 {
83 }
84
85 void
87 {
88 }
89
90 // ImageProvider interface
91 protected:
92 void
93 onInitImageProvider() final override
94 {
95 }
96
97 void
98 onExitImageProvider() final override
99 {
100 }
101
102 void
103 onConnectImageProvider() final override
104 {
105 }
106
107 void
109 {
110 }
111
112 protected:
117
118 // ProviderWithSharedMemorySupportInterface interface
119 public:
120 bool
121 hasSharedMemorySupport(const Ice::Current& c) override
122 {
124 }
125 };
126} // namespace visionx
constexpr T c
ImageProvider abstract class defines a component which provide images via ice or shared memory.
bool hasSharedMemorySupport(const Ice::Current &c=Ice::emptyCurrent) override
void onInitComponent() override
void onDisconnectComponent() override
Hook for subclass.
void onConnectComponent() override
void onExitComponent() override
virtual void onExitPointCloudAndImageProvider()=0
void onConnectImageProvider() final override
This is called when the Component::onConnectComponent() setup is called.
void onDisconnectComponent() final override
Hook for subclass.
void onConnectPointCloudProvider() final override
This is called when the Component::onConnectComponent() setup is called.
virtual void onConnectPointCloudAndImageProvider()=0
void onExitPointCloudProvider() final override
This is called when the Component::onExitComponent() setup is called.
void onExitImageProvider() final override
This is called when the Component::onExitComponent() setup is called.
virtual void onInitPointCloudAndImageProvider()=0
virtual void onDisconnectPointCloudAndImageProvider()=0
void onInitPointCloudProvider() final override
This is called when the Component::onInitComponent() is called.
bool hasSharedMemorySupport(const Ice::Current &c) override
void onInitImageProvider() final override
This is called when the Component::onInitComponent() is called.
PointCloudProvider abstract class defines a component which provide point clouds via ice or shared me...
void onDisconnectComponent() override
Hook for subclass.
ArmarX headers.