ActivityReader Class Reference

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

+ Inheritance diagram for ActivityReader:

Classes

struct  Query
 
struct  Result
 

Public Member Functions

Result query (const Query &query, bool latest) const
 
std::vector< HumanActivityqueryActivitiesForPerson (const std::string &firstName, const std::string &lastName, const Duration &maxAge, const std::string &providerName="")
 
std::optional< HumanActivityqueryLatestActivityForPerson (const std::string &firstName, const std::string &lastName, const std::string &providerName="")
 
 SimpleReaderBase ()
 
 ~ActivityReader () 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< HumanActivityasHumanActivities (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 HumanActivityReader.h.

Constructor & Destructor Documentation

◆ ~ActivityReader()

~ActivityReader ( )
overridedefault

Member Function Documentation

◆ asHumanActivities()

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

Definition at line 64 of file HumanActivityReader.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 41 of file HumanActivityReader.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 18 of file HumanActivityReader.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 110 of file HumanActivityReader.cpp.

◆ propertyPrefix()

std::string propertyPrefix ( ) const
overrideprotectedvirtual

Implements SimpleReaderBase.

Definition at line 104 of file HumanActivityReader.cpp.

◆ query()

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

Definition at line 116 of file HumanActivityReader.cpp.

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

◆ queryActivitiesForPerson()

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

Definition at line 211 of file HumanActivityReader.cpp.

+ Here is the call graph for this function:

◆ queryLatestActivityForPerson()

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

Definition at line 250 of file HumanActivityReader.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: