GraspProviderExample.h
Go to the documentation of this file.
2#include <ArmarXCore/interface/observers/ObserverInterface.h>
4
9
10#pragma once
11
12namespace armarx
13{
14
15
21
23 virtual public armarx::Component,
25 {
26 public:
27 /// @see armarx::ManagedIceObject::getDefaultName()
28 std::string getDefaultName() const override;
30
31
32 protected:
34 void onInitComponent() override;
35 void onConnectComponent() override;
36 void onDisconnectComponent() override;
37 void onExitComponent() override;
38
39 void run();
40
41 grasping::GraspCandidate makeDummyGraspCandidate();
42 grasping::BimanualGraspCandidate makeDummyBimanualGraspCandidate();
43
44
45 private:
46 Eigen::Matrix4f const identityMatrix = Eigen::Matrix4f::Identity();
47 Eigen::Vector3f const zeroVector = Eigen::Vector3f();
48
50
52
53 std::string memoryName = "Grasp";
56 };
57} // namespace armarx
Default component property definition container.
Definition Component.h:70
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Definition Component.h:94
void onInitComponent() override
Pure virtual hook for the subclass.
void onDisconnectComponent() override
Hook for subclass.
grasping::BimanualGraspCandidate makeDummyBimanualGraspCandidate()
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void onConnectComponent() override
Pure virtual hook for the subclass.
void onExitComponent() override
Hook for subclass.
std::string getDefaultName() const override
grasping::GraspCandidate makeDummyGraspCandidate()
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
IceUtil::Handle< RunningTask< T > > pointer_type
Shared pointer type for convenience.
client::plugins::PluginUser ClientPluginUser
This file offers overloads of toIce() and fromIce() functions for STL container types.
::IceInternal::ProxyHandle<::IceProxy::armarx::DebugObserverInterface > DebugObserverInterfacePrx
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.