Nuitrack  1.6.0
3D Skeleton Tracking Middleware
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Groups Pages
SensorIssue.h
1 #ifndef NUITRACK_SENSORISSUE_H_
2 #define NUITRACK_SENSORISSUE_H_
3 
4 #include "Issue.h"
5 
6 
7 namespace tdv
8 {
9 namespace nuitrack
10 {
11 
12 const int SENSOR_ISSUES_STREAM = 9;
13 
18 class SensorIssue : public Issue
19 {
20 public:
24  typedef std::shared_ptr<SensorIssue> Ptr;
25 
29  static std::string getType()
30  {
31  static std::string _type = "SensorIssue";
32  return _type;
33  }
34 
38  SensorIssue(IssueId issueId = SENSOR_ISSUE,
39  std::string issueName = "SensorIssue")
40  : Issue(issueId, issueName)
41  {
42  }
43 };
44 
45 } /* namespace nuitrack */
46 } /* namespace tdv */
47 
48 #endif /* NUITRACK_SENSORISSUE_H_ */
SensorIssue(IssueId issueId=SENSOR_ISSUE, std::string issueName="SensorIssue")
Constructs a sensor issue object from its ID and name.
Definition: SensorIssue.h:38
static std::string getType()
Returns the issue type as a string.
Definition: SensorIssue.h:29
Represents the sensor issue.
Definition: SensorIssue.h:18
IssueId
Describes an issue identifier.
Definition: Issue.h:16
std::shared_ptr< SensorIssue > Ptr
Smart pointer to access the SensorIssue instance.
Definition: SensorIssue.h:24
Stores general information about a issue.
Definition: Issue.h:30