Commit 357870cd authored by garciay's avatar garciay
Browse files

Add comments

parent 649901bd
Loading
Loading
Loading
Loading
+24 −24
Original line number Diff line number Diff line
@@ -48,32 +48,32 @@ public:
class GeneralConfigurationParams
{
private:
  std::string m_captureModuleAddress;
  int m_captureModulePort;
  std::vector<std::string> m_ifaces;
  unsigned char m_mode;
  int m_pcapTimeStampSeconds;
  int m_pcapTimeStampMicroseconds;
  unsigned char m_record;
  std::string m_pcapMergeTool;
  std::string m_fileToPlay;
  std::vector<std::string> m_mergerFileList;
  std::string m_mergerFilePath;
  std::vector<boost::shared_ptr<EutIPInterface> > m_eutIpInterfaceList;
  std::string m_captureModuleAddress; /**< IP address of the TrafficCapture process */
  int m_captureModulePort; /**< Port number of the TrafficCapture listener */
  std::vector<std::string> m_ifaces; /**<  */
  unsigned char m_mode; /**< Capture mode: offline or online */
  int m_pcapTimeStampSeconds; /**< Pcap time stamps description */
  int m_pcapTimeStampMicroseconds; /**< Pcap time stamps description */
  unsigned char m_record; /**< Record mode (online mode only) */
  std::string m_pcapMergeTool; /**< Full path file name of the PCAP meger tool (offline mode only) */
  std::string m_fileToPlay; /**< PCAP file to play (offline mode only) */
  std::vector<std::string> m_mergerFileList; /**< List of the PCAP file to merge (offline mode only) */
  std::string m_mergerFilePath; /**< Directory path where the PCAP file to merge to merge are located (offline mode only) */
  std::vector<boost::shared_ptr<EutIPInterface> > m_eutIpInterfaceList; /**< List of the IP addresses/port numbers of the EUT equipments (online mode only) */
  
public:
  std::string& CaptureModuleAddress() { return m_captureModuleAddress; };
  int CaptureModulePort() { return m_captureModulePort; };
  std::vector<std::string>& Ifaces() { return m_ifaces; };
  unsigned char Mode() { return m_mode; };
  int PcapTimeStampSeconds() { return m_pcapTimeStampSeconds; };
  int PcapTimeStampMicroseconds() { return m_pcapTimeStampMicroseconds; };
  unsigned char Record() { return m_record; };
  std::string& PcapMergeTool() { return m_pcapMergeTool; };
  std::string& FileToPlay() { return m_fileToPlay; };
  std::vector<std::string>& MergerFileList() { return m_mergerFileList; };
  std::string& MergerFilePath() { return m_mergerFilePath; };
  std::vector<boost::shared_ptr<EutIPInterface> >& EutIpInterfaceList() { return m_eutIpInterfaceList; };
  std::string& CaptureModuleAddress() { return m_captureModuleAddress; }; /**< Gets the IP address of the TrafficCapture process */
  int CaptureModulePort() { return m_captureModulePort; }; /**< Gets the port number of the TrafficCapture listener */
  std::vector<std::string>& Ifaces() { return m_ifaces; }; /**< Gets the list of the network interfaces to monitor */
  unsigned char Mode() { return m_mode; }; /**< Gets the capture mode */
  int PcapTimeStampSeconds() { return m_pcapTimeStampSeconds; }; /**< Gets the Pcap time stamps description */
  int PcapTimeStampMicroseconds() { return m_pcapTimeStampMicroseconds; }; /**< Gets the Pcap time stamps description */
  unsigned char Record() { return m_record; }; /**< Gets the record mode */
  std::string& PcapMergeTool() { return m_pcapMergeTool; }; /**< Gets the full path file name of the PCAP meger tool */
  std::string& FileToPlay() { return m_fileToPlay; }; /**< Gets the PCAP file to play */
  std::vector<std::string>& MergerFileList() { return m_mergerFileList; }; /**< Gets the list of the PCAP file to merge */
  std::string& MergerFilePath() { return m_mergerFilePath; }; /**< Gets the directory path where the PCAP file to merge to merge are located */
  std::vector<boost::shared_ptr<EutIPInterface> >& EutIpInterfaceList() { return m_eutIpInterfaceList; }; /**< Gets the list of the IP addresses/port numbers of the EUT equipments */
  
public:
  GeneralConfigurationParams() {};