123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
-
-
-
-
-
-
- #ifndef TEMTRANSMITTER_INC
- #define TEMTRANSMITTER_INC
-
- #include "PolygonalWireAntenna.h"
-
- #ifdef HAVE_YAMLCPP
- #include "yaml-cpp/yaml.h"
- #endif
-
- namespace Lemma {
-
-
- class TEMTransmitter : public PolygonalWireAntenna {
-
- friend std::ostream &operator<<(std::ostream &stream, const TEMTransmitter &ob);
-
- public:
-
-
-
-
-
- static TEMTransmitter* New();
-
-
-
- TEMTransmitter* Clone();
-
-
-
- void Delete();
-
-
-
-
-
-
-
-
-
- void SetRepFrequency(const Real& fr, const FREQUENCYUNITS& units);
-
- void SetWaveform( const VectorXr& times, const VectorXr& amps, const TIMEUNITS& units );
-
-
-
- VectorXr GetWfmTimes();
-
-
-
- VectorXr GetWfmAmps();
-
-
-
- #ifdef HAVE_YAMLCPP
- YAML::Node Serialize() const;
- static TEMTransmitter* DeSerialize(const YAML::Node& node);
- #endif
-
- protected:
-
-
-
-
- TEMTransmitter (const std::string& name);
-
- #ifdef HAVE_YAMLCPP
-
- TEMTransmitter (const YAML::Node& node);
- #endif
-
-
- ~TEMTransmitter ();
-
-
-
- void Release();
-
- private:
-
-
-
- Real repFreq;
- FREQUENCYUNITS repFreqUnits;
- VectorXr wfmTimes;
- VectorXr wfmAmps;
-
- };
-
- }
-
- #endif
|