SegmentAdapter Class Reference

Helps implementing the armarx::armem::server::ObjectInstanceSegmentInterface. More...

#include <RobotAPI/libraries/armem_objects/server/instance/SegmentAdapter.h>

+ Inheritance diagram for SegmentAdapter:

Classes

struct  RemoteGui
 

Public Member Functions

virtual objpose::AttachObjectToRobotNodeOutput attachObjectToRobotNode (const objpose::AttachObjectToRobotNodeInput &input, ICE_CURRENT_ARG) override
 
void connect (robot_state::VirtualRobotReader *virtualRobotReader, KinematicUnitObserverInterfacePrx kinematicUnitObserver, viz::Client arviz, DebugObserverInterfacePrx debugObserver)
 
void defineProperties (armarx::PropertyDefinitionsPtr defs, const std::string &prefix="")
 
virtual objpose::DetachAllObjectsFromRobotNodesOutput detachAllObjectsFromRobotNodes (const objpose::DetachAllObjectsFromRobotNodesInput &input, ICE_CURRENT_ARG) override
 
virtual objpose::DetachObjectFromRobotNodeOutput detachObjectFromRobotNode (const objpose::DetachObjectFromRobotNodeInput &input, ICE_CURRENT_ARG) override
 
virtual objpose::AgentFramesSeq getAttachableFrames (ICE_CURRENT_ARG) override
 
virtual armem::prediction::data::PredictionEngineSeq getAvailableObjectPoseEngines (ICE_CURRENT_ARG) override
 
virtual Ice::StringSeq getAvailableProviderNames (ICE_CURRENT_ARG) override
 
virtual objpose::ProviderInfoMap getAvailableProvidersInfo (ICE_CURRENT_ARG) override
 
std::string getName () const
 
virtual objpose::data::ObjectPoseSeq getObjectPoses (ICE_CURRENT_ARG) override
 
virtual objpose::data::ObjectPoseSeq getObjectPosesByProvider (const std::string &providerName, ICE_CURRENT_ARG) override
 
virtual objpose::ProviderInfo getProviderInfo (const std::string &providerName, ICE_CURRENT_ARG) override
 
virtual bool hasProvider (const std::string &providerName, ICE_CURRENT_ARG) override
 
void init ()
 
virtual objpose::ObjectPosePredictionResultSeq predictObjectPoses (const objpose::ObjectPosePredictionRequestSeq &requests, ICE_CURRENT_ARG) override
 
virtual void reportObjectPoses (const std::string &providerName, const objpose::data::ProvidedObjectPoseSeq &objectPoses, ICE_CURRENT_ARG) override
 
virtual void reportProviderAvailable (const std::string &providerName, const objpose::ProviderInfo &info, ICE_CURRENT_ARG) override
 
virtual objpose::observer::RequestObjectsOutput requestObjects (const objpose::observer::RequestObjectsInput &input, ICE_CURRENT_ARG) override
 
 SegmentAdapter (MemoryToIceAdapter &iceMemory)
 
virtual objpose::SignalHeadMovementOutput signalHeadMovement (const objpose::SignalHeadMovementInput &input, ICE_CURRENT_ARG) override
 
- Public Member Functions inherited from Logging
SpamFilterDataPtr deactivateSpam (float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const
 disables the logging for the current line for the given amount of seconds. More...
 
MessageTypeT getEffectiveLoggingLevel () const
 
 Logging ()
 
void setLocalMinimumLoggingLevel (MessageTypeT level)
 With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set. More...
 
void setTag (const LogTag &tag)
 
void setTag (const std::string &tagName)
 
virtual ~Logging ()
 

Static Public Attributes

static const std::string linearPredictionEngineID = "Linear Position Regression"
 
static const std::vector< PredictionEnginepredictionEngines {{linearPredictionEngineID}}
 

Additional Inherited Members

- Protected Member Functions inherited from Logging
bool checkLogLevel (MessageTypeT level) const
 
const LogSenderPtrgetLogSender () const
 Retrieve log sender. More...
 
LogSenderPtr loghelper (const char *file, int line, const char *function) const
 
- Protected Attributes inherited from Logging
MessageTypeT minimumLoggingLevel
 
SpamFilterDataPtr spamFilter
 
LogTag tag
 

Detailed Description

Helps implementing the armarx::armem::server::ObjectInstanceSegmentInterface.

Definition at line 53 of file SegmentAdapter.h.

Constructor & Destructor Documentation

◆ SegmentAdapter()

Definition at line 47 of file SegmentAdapter.cpp.

Member Function Documentation

◆ attachObjectToRobotNode()

objpose::AttachObjectToRobotNodeOutput attachObjectToRobotNode ( const objpose::AttachObjectToRobotNodeInput &  input,
ICE_CURRENT_ARG   
)
overridevirtual

Definition at line 380 of file SegmentAdapter.cpp.

◆ connect()

void connect ( robot_state::VirtualRobotReader virtualRobotReader,
KinematicUnitObserverInterfacePrx  kinematicUnitObserver,
viz::Client  arviz,
DebugObserverInterfacePrx  debugObserver 
)

Definition at line 80 of file SegmentAdapter.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ defineProperties()

void defineProperties ( armarx::PropertyDefinitionsPtr  defs,
const std::string &  prefix = "" 
)

Definition at line 59 of file SegmentAdapter.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ detachAllObjectsFromRobotNodes()

objpose::DetachAllObjectsFromRobotNodesOutput detachAllObjectsFromRobotNodes ( const objpose::DetachAllObjectsFromRobotNodesInput &  input,
ICE_CURRENT_ARG   
)
overridevirtual

Definition at line 400 of file SegmentAdapter.cpp.

◆ detachObjectFromRobotNode()

objpose::DetachObjectFromRobotNodeOutput detachObjectFromRobotNode ( const objpose::DetachObjectFromRobotNodeInput &  input,
ICE_CURRENT_ARG   
)
overridevirtual

Definition at line 390 of file SegmentAdapter.cpp.

◆ getAttachableFrames()

objpose::AgentFramesSeq getAttachableFrames ( ICE_CURRENT_ARG  )
overridevirtual

Definition at line 410 of file SegmentAdapter.cpp.

◆ getAvailableObjectPoseEngines()

armem::prediction::data::PredictionEngineSeq getAvailableObjectPoseEngines ( ICE_CURRENT_ARG  )
overridevirtual

Definition at line 511 of file SegmentAdapter.cpp.

◆ getAvailableProviderNames()

Ice::StringSeq getAvailableProviderNames ( ICE_CURRENT_ARG  )
overridevirtual

Definition at line 353 of file SegmentAdapter.cpp.

◆ getAvailableProvidersInfo()

objpose::ProviderInfoMap getAvailableProvidersInfo ( ICE_CURRENT_ARG  )
overridevirtual

Definition at line 344 of file SegmentAdapter.cpp.

◆ getName()

std::string getName ( ) const

Definition at line 53 of file SegmentAdapter.cpp.

+ Here is the caller graph for this function:

◆ getObjectPoses()

objpose::data::ObjectPoseSeq getObjectPoses ( ICE_CURRENT_ARG  )
overridevirtual

Definition at line 217 of file SegmentAdapter.cpp.

+ Here is the call graph for this function:

◆ getObjectPosesByProvider()

objpose::data::ObjectPoseSeq getObjectPosesByProvider ( const std::string &  providerName,
ICE_CURRENT_ARG   
)
overridevirtual

Definition at line 241 of file SegmentAdapter.cpp.

+ Here is the call graph for this function:

◆ getProviderInfo()

objpose::ProviderInfo getProviderInfo ( const std::string &  providerName,
ICE_CURRENT_ARG   
)
overridevirtual

Definition at line 362 of file SegmentAdapter.cpp.

◆ hasProvider()

bool hasProvider ( const std::string &  providerName,
ICE_CURRENT_ARG   
)
overridevirtual

Definition at line 371 of file SegmentAdapter.cpp.

◆ init()

void init ( )

Definition at line 68 of file SegmentAdapter.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ predictObjectPoses()

objpose::ObjectPosePredictionResultSeq predictObjectPoses ( const objpose::ObjectPosePredictionRequestSeq &  requests,
ICE_CURRENT_ARG   
)
overridevirtual

Definition at line 434 of file SegmentAdapter.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ reportObjectPoses()

void reportObjectPoses ( const std::string &  providerName,
const objpose::data::ProvidedObjectPoseSeq &  objectPoses,
ICE_CURRENT_ARG   
)
overridevirtual

Definition at line 117 of file SegmentAdapter.cpp.

◆ reportProviderAvailable()

void reportProviderAvailable ( const std::string &  providerName,
const objpose::ProviderInfo &  info,
ICE_CURRENT_ARG   
)
overridevirtual

Definition at line 111 of file SegmentAdapter.cpp.

◆ requestObjects()

objpose::observer::RequestObjectsOutput requestObjects ( const objpose::observer::RequestObjectsInput &  input,
ICE_CURRENT_ARG   
)
overridevirtual

Definition at line 266 of file SegmentAdapter.cpp.

+ Here is the call graph for this function:

◆ signalHeadMovement()

objpose::SignalHeadMovementOutput signalHeadMovement ( const objpose::SignalHeadMovementInput &  input,
ICE_CURRENT_ARG   
)
overridevirtual

Definition at line 427 of file SegmentAdapter.cpp.

Member Data Documentation

◆ linearPredictionEngineID

const std::string linearPredictionEngineID = "Linear Position Regression"
static

Definition at line 135 of file SegmentAdapter.h.

◆ predictionEngines

const std::vector< PredictionEngine > predictionEngines {{linearPredictionEngineID}}
static

Definition at line 136 of file SegmentAdapter.h.


The documentation for this class was generated from the following files: