#include <SceneIdentifier.h>
Public Member Functions | |
void | load (boost::property_tree::ptree &pPt) |
void | save (boost::property_tree::ptree &pPt) |
SceneIdentifier () | |
SceneIdentifier (std::string pType, std::string pDescription) | |
SceneIdentifier (const SceneIdentifier &pOther) | |
~SceneIdentifier () | |
Public Attributes | |
std::string | mDescription |
double | mLikelihood |
double | mPriori |
std::string | mType |
This class wrapps a scene's identity
Definition at line 34 of file SceneIdentifier.h.
ProbabilisticSceneRecognition::SceneIdentifier::SceneIdentifier | ( | ) |
Constructor.
Definition at line 22 of file SceneIdentifier.cpp.
ProbabilisticSceneRecognition::SceneIdentifier::SceneIdentifier | ( | std::string | pType, |
std::string | pDescription | ||
) |
Constructor.
pType | The type of the scene content wrapped by this class. |
pDescription | A short and meaningful description of the scene. |
Definition at line 26 of file SceneIdentifier.cpp.
ProbabilisticSceneRecognition::SceneIdentifier::SceneIdentifier | ( | const SceneIdentifier & | pOther | ) |
Copy constructor.
pOther | The instance to copy. |
Definition at line 32 of file SceneIdentifier.cpp.
ProbabilisticSceneRecognition::SceneIdentifier::~SceneIdentifier | ( | ) |
Destructor.
Definition at line 40 of file SceneIdentifier.cpp.
void ProbabilisticSceneRecognition::SceneIdentifier::load | ( | boost::property_tree::ptree & | pPt | ) |
Loads the scene identifier from XML.
pPt | Data structure for performing XML operations. |
Definition at line 44 of file SceneIdentifier.cpp.
void ProbabilisticSceneRecognition::SceneIdentifier::save | ( | boost::property_tree::ptree & | pPt | ) |
Saves the scene identifier from XML.
pPt | Data structure for performing XML operations. |
Definition at line 51 of file SceneIdentifier.cpp.
std::string ProbabilisticSceneRecognition::SceneIdentifier::mDescription |
A short and meaningful description of the scene (e.g. breakfast, lunch, ...).
Definition at line 86 of file SceneIdentifier.h.
double ProbabilisticSceneRecognition::SceneIdentifier::mLikelihood |
The current probability of the scene.
Definition at line 96 of file SceneIdentifier.h.
double ProbabilisticSceneRecognition::SceneIdentifier::mPriori |
The a priori plobability of the scene.
Definition at line 91 of file SceneIdentifier.h.
std::string ProbabilisticSceneRecognition::SceneIdentifier::mType |
The type of the scene content wrapped by this class.
Definition at line 81 of file SceneIdentifier.h.