InteractionReader Class Reference

#include <VisionX/libraries/armem_human/client/HumanRobotInteractionReader.h>

+ Inheritance diagram for InteractionReader:

Classes

struct  Query
 
struct  Result
 

Public Member Functions

Result query (const Query &query, bool latest) const
 
std::vector< HumanRobotInteractionqueryInteractionsForPerson (const std::string &firstName, const std::string &lastName, const Duration &maxAge, const std::string &providerName="")
 
std::optional< HumanRobotInteractionqueryLatestInteractionForPerson (const std::string &firstName, const std::string &lastName, const std::string &providerName="")
 
 SimpleReaderBase ()
 
 ~InteractionReader () override
 
- Public Member Functions inherited from SimpleReaderBase
virtual void connect (armarx::armem::client::MemoryNameSystem &mns)
 
const Propertiesproperties () const
 
void registerPropertyDefinitions (armarx::PropertyDefinitionsPtr &def)
 
void setProperties (const Properties &p)
 
 SimpleReaderBase ()
 
virtual ~SimpleReaderBase ()=default
 

Protected Member Functions

std::vector< HumanRobotInteractionasHumanRobotInteractions (const wm::ProviderSegment &providerSegment, const DateTime &timestamp, const Duration &maxAge) const
 
::armarx::armem::client::query::Builder buildLatestQuery (const Query &query) const
 
::armarx::armem::client::query::Builder buildQuery (const Query &query) const
 
Properties defaultProperties () const override
 
std::string propertyPrefix () const override
 
- Protected Member Functions inherited from SimpleReaderBase
const armem::client::ReadermemoryReader () const
 

Detailed Description

Definition at line 33 of file HumanRobotInteractionReader.h.

Constructor & Destructor Documentation

◆ ~InteractionReader()

~InteractionReader ( )
overridedefault

Member Function Documentation

◆ asHumanRobotInteractions()

std::vector< HumanRobotInteraction > asHumanRobotInteractions ( const wm::ProviderSegment & providerSegment,
const DateTime & timestamp,
const Duration & maxAge ) const
protected

Definition at line 85 of file HumanRobotInteractionReader.cpp.

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

◆ buildLatestQuery()

armarx::armem::client::query::Builder buildLatestQuery ( const Query & query) const
protected

Definition at line 62 of file HumanRobotInteractionReader.cpp.

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

◆ buildQuery()

armarx::armem::client::query::Builder buildQuery ( const Query & query) const
protected

Definition at line 39 of file HumanRobotInteractionReader.cpp.

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

◆ defaultProperties()

armarx::armem::client::util::SimpleReaderBase::Properties defaultProperties ( ) const
overrideprotectedvirtual

Implements SimpleReaderBase.

Definition at line 132 of file HumanRobotInteractionReader.cpp.

◆ propertyPrefix()

std::string propertyPrefix ( ) const
overrideprotectedvirtual

Implements SimpleReaderBase.

Definition at line 126 of file HumanRobotInteractionReader.cpp.

◆ query()

InteractionReader::Result query ( const Query & query,
bool latest ) const

Definition at line 138 of file HumanRobotInteractionReader.cpp.

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

◆ queryInteractionsForPerson()

std::vector< HumanRobotInteraction > queryInteractionsForPerson ( const std::string & firstName,
const std::string & lastName,
const Duration & maxAge,
const std::string & providerName = "" )

Definition at line 255 of file HumanRobotInteractionReader.cpp.

+ Here is the call graph for this function:

◆ queryLatestInteractionForPerson()

std::optional< HumanRobotInteraction > queryLatestInteractionForPerson ( const std::string & firstName,
const std::string & lastName,
const std::string & providerName = "" )

Definition at line 295 of file HumanRobotInteractionReader.cpp.

+ Here is the call graph for this function:

◆ SimpleReaderBase()

SimpleReaderBase ( )

Definition at line 49 of file SimpleReaderBase.cpp.


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