Isis 3 Programmer Reference
ControlPointV0001.h
Go to the documentation of this file.
1 #ifndef ControlPointV0001_h
2 #define ControlPointV0001_h
3 
26  #include <QSharedPointer>
27 
28  #include "ControlNetFileProtoV0001.pb.h"
29  #include "ControlNetLogDataProtoV0001.pb.h"
30 
31 namespace Isis {
32  class PvlObject;
33  class PvlContainer;
34 
77  public:
78  ControlPointV0001(PvlObject &pointObject, const QString targetName);
81 
84 
85  private:
104 
105  // methods for converting from Pvl to protobuf
106  void copy(PvlContainer &container,
107  QString keyName,
109  void (ControlNetFileProtoV0001_PBControlPoint::*setter)(bool));
110  void copy(PvlContainer &container,
111  QString keyName,
113  void (ControlNetFileProtoV0001_PBControlPoint::*setter)(double));
114  void copy(PvlContainer &container,
115  QString keyName,
117  void (ControlNetFileProtoV0001_PBControlPoint::*setter)(const std::string&));
118  void copy(PvlContainer &container,
119  QString keyName,
120  ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure &measure,
121  void (ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure::*setter)(bool));
122  void copy(PvlContainer &container,
123  QString keyName,
124  ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure &measure,
125  void (ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure::*setter)(double));
126  void copy(PvlContainer &container,
127  QString keyName,
128  ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure &measure,
129  void (ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure::*setter)(
130  const std::string &));
131 
136  };
137 }
138 
139 #endif
QSharedPointer< ControlNetLogDataProtoV0001_Point > m_logData
Protobuf container that holds log data for the control measures in the point.
QSharedPointer< ControlNetLogDataProtoV0001_Point > logData()
Access the protobuf log data for the control measures in the point.
Contains more than one keyword-value pair.
Definition: PvlContainer.h:63
QSharedPointer< ControlNetFileProtoV0001_PBControlPoint > pointData()
Access the protobuf control point data.
ControlPointV0001()
Default constructor.
QSharedPointer< ControlNetFileProtoV0001_PBControlPoint > m_pointData
Protobuf container that holds information used to create a control point.
A container for the information stored in a version 1 ControlPoint.
ControlPointV0001 & operator=(const ControlPointV0001 &other)
Assignment operator.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:74
void copy(PvlContainer &container, QString keyName, QSharedPointer< ControlNetFileProtoV0001_PBControlPoint > point, void(ControlNetFileProtoV0001_PBControlPoint::*setter)(bool))
This convenience method takes a boolean value from a PvlKeyword and copies it into a version 1 protob...