35 #ifndef RFPIPEMAC_PCRMANAGER_HEADER_ 36 #define RFPIPEMAC_PCRMANAGER_HEADER_ 42 #include <libxml/parser.h> 79 PCREntry (
float fSinr,
float fPor) :
85 typedef std::vector<PCREntry> PCREntryVector;
86 typedef PCREntryVector::iterator PCREntryVectorIter;
88 typedef std::vector<float> PORVector;
89 typedef PORVector::iterator PORVectorIter;
104 void load(
const std::string &uri)
115 float getPCR(
float fSinr,
size_t size);
118 void Open(
const std::string & uri, xmlParserCtxtPtr * ppContext, xmlDoc ** ppDocument, xmlNode ** ppRoot);
120 void Close(xmlParserCtxtPtr * ppContext, xmlDoc ** ppDocument);
122 std::string getAttribute (xmlNodePtr cur,
const xmlChar *
id);
124 std::string getContent (xmlNodePtr cur);
126 void getTable (xmlNodePtr cur);
128 void getRows (xmlNodePtr cur);
136 PCREntryVector pcrEntryVector_;
138 PORVector porVector_;
140 size_t tablePacketSize_;
147 #endif //RFPIPEMAC_PCRMANAGER_HEADER_ PCRManager(EMANE::NEMId id, EMANE::PlatformServiceProvider *pPlatformService)
float getPCR(float fSinr, size_t size)
Component start exception is used to indicate an exception during transition to the start state...
void load(const std::string &uri)