libepp_nicbr
LaunchUpdateCmd.H
Go to the documentation of this file.
1 /* ${copyright}$ */
2 /* $Id$ */
7 #ifndef __LAUNCH_UPDATE_CMD_H__
8 #define __LAUNCH_UPDATE_CMD_H__
9 
10 #include <string>
11 
12 #include "Launch.H"
13 
14 using std::string;
15 
16 LIBEPP_NICBR_NS_BEGIN
17 
20 {
21 public:
22  // Default constructor
24  {
25  reset();
26  }
27 
29 
32  void set_phase(const LaunchPhase &phase) { _phase = phase; }
33 
35 
38  LaunchPhase get_phase() const { return _phase; }
39 
42 
46  void set_applicationId(const string &applicationId) { _applicationId = applicationId; }
47 
50 
54  string get_applicationId() const { return _applicationId; }
55 
57  void reset()
58  {
59  _phase.reset();
60  _applicationId.clear();
61  }
62 
63 private:
65  LaunchPhase _phase;
66 
68  string _applicationId;
69 };
70 
71 LIBEPP_NICBR_NS_END
72 
73 #endif // __LAUNCH_UPDATE_CMD_H__
EPP Launch Phase Class.
Definition: Launch.H:121
void set_applicationId(const string &applicationId)
Definition: LaunchUpdateCmd.H:46
void reset()
Reset object attributes.
Definition: Launch.H:236
void reset()
Reset object attributes.
Definition: LaunchUpdateCmd.H:57
LaunchPhase get_phase() const
Returns the phase of the launch.
Definition: LaunchUpdateCmd.H:38
string get_applicationId() const
Definition: LaunchUpdateCmd.H:54
void set_phase(const LaunchPhase &phase)
Sets the phase of the launch.
Definition: LaunchUpdateCmd.H:32
EPP LaunchUpdateCmd Class.
Definition: LaunchUpdateCmd.H:19
EPP Launch Phase.