-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStateDescriptor.h
62 lines (49 loc) · 1.3 KB
/
StateDescriptor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/**
* @file StateDescriptor.h
* Area.h defines the methods for StateDescriptor.cpp
*
* @brief Dscribes the StateDescriptor class.
*
* @author Michael Abrams
* @author James Boocock
* @author Toby Herbert
* @author Tatai Nikora
* @version 0.3
*/
#ifndef _STATE_DESCRIPTOR_H
#define _STATE_DESCRIPTOR_H
//------------------------------------------------------------------------------
/* Include */
//------------------------------------------------------------------------------
#include <string>
class StateDescriptor {
protected:
std::string id; ///< The id of the state descriptor.
std::string description; ///< The description.
public:
/**
Constructor for a state descriptor.
@param[in] identifier The identifier of the descriptor.
*/
StateDescriptor(const char *identifier);
/**
Sets the description variable of the object.
@param[in] desc The description of the object.
*/
void set_description(const char *desc);
/**
StateDescriptor Destructor.
*/
~StateDescriptor();
/**
Gets the id of the object.
@return The id of the object.
*/
std::string get_id();
/**
Gets the description of the object.
@return The description of the object.
*/
std::string get_description();
};
#endif