eitd: remove code under DO_NOT_INCLUDE_STUFF_NOT_NEEDED_FOR_SECTIONSD ifdef

Origin commit data
------------------
Branch: ni/coolstream
Commit: f41acb304a
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-02-01 (Wed, 01 Feb 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2012-02-01 17:27:28 +04:00
parent 1f1315e92e
commit 0b4a70a62e
6 changed files with 1 additions and 715 deletions

View File

@@ -651,78 +651,6 @@ protected:
};
#endif
#ifndef DO_NOT_INCLUDE_STUFF_NOT_NEEDED_FOR_SECTIONSD
// Fuer for_each
struct printSIsectionEIT : public std::unary_function<SIsectionEIT, void>
{
void operator() (const SIsectionEIT &s) { s.dump();}
};
#ifdef ENABLE_PPT
// Fuer for_each
struct printSIsectionPPT : public std::unary_function<SIsectionPPT, void>
{
void operator() (const SIsectionPPT &s) { s.dump();}
};
#endif
/*
// Fuer for_each
struct parseSIsectionEIT : public std::unary_function<SIsectionEIT, void>
{
void operator() (const SIsectionEIT &s) { s.parse();}
};
*/
// Menge aller present/following EITs (actual TS)
class SIsectionsEIT : public std::set <SIsectionEIT, std::less<SIsectionEIT> >
{
public:
int readSections(void) {
SIsections sections;
int rc=sections.readSections(0x12, 0x4e, 0xff);
for (SIsections::iterator k=sections.begin(); k!=sections.end(); k++)
insert(*k);
return rc;
}
};
#ifdef ENABLE_PPT
// Menge aller present/following PPTs (actual TS)
class SIsectionsPPT : public std::set <SIsectionPPT, std::less<SIsectionPPT> >
{
public:
int readSections(int pid) {
// int readSections(void) {
SIsections sections;
int rc=sections.readSections(pid, 0xa1, 0xfe);
for (SIsections::iterator k=sections.begin(); k!=sections.end(); k++)
insert(*k);
return rc;
}
};
#endif
// Menge aller schedule EITs (actual TS)
class SIsectionsEITschedule : public std::set <SIsectionEIT, std::less<SIsectionEIT> >
{
public:
int readSections(void) {
SIsections sections;
int rc=sections.readSections(0x12, 0x50, 0xf0);
for (SIsections::iterator k=sections.begin(); k!=sections.end(); k++)
insert(*k);
return rc;
}
};
#endif
class SIsectionSDT : public SIsection
{
public:
@@ -916,69 +844,5 @@ protected:
void copyDeliveryDescriptor(const char *buf, SInetwork &s);
};
#endif
#ifndef DO_NOT_INCLUDE_STUFF_NOT_NEEDED_FOR_SECTIONSD
// Fuer for_each
struct printSIsectionSDT : public std::unary_function<SIsectionSDT, void>
{
void operator() (const SIsectionSDT &s) { s.dump();}
};
// Menge aller SDTs (actual TS)
class SIsectionsSDT : public std::set <SIsectionSDT, std::less<SIsectionSDT> >
{
public:
int readSections(void) {
SIsections sections;
int rc=sections.readSections(0x11, 0x42, 0xff);
for (SIsections::iterator k=sections.begin(); k!=sections.end(); k++)
insert(*k);
return rc;
}
};
// Fuer for_each
struct printSIsectionBAT : public std::unary_function<SIsectionBAT, void>
{
void operator() (const SIsectionBAT &s) { s.dump();}
};
// Menge aller BATs
class SIsectionsBAT : public std::set <SIsectionBAT, std::less<SIsectionBAT> >
{
public:
int readSections(void) {
SIsections sections;
int rc=sections.readSections(0x11, 0x4a, 0xff);
for (SIsections::iterator k=sections.begin(); k!=sections.end(); k++)
insert(*k);
return rc;
}
};
// Fuer for_each
struct printSIsectionNIT : public std::unary_function<SIsectionNIT, void>
{
void operator() (const SIsectionNIT &s) { s.dump();}
};
// Menge aller NITs (actual network)
class SIsectionsNIT : public std::set <SIsectionNIT, std::less<SIsectionNIT> >
{
public:
int readSections(void) {
SIsections sections;
int rc=sections.readSections(0x10, 0x40, 0xff);
for (SIsections::iterator k=sections.begin(); k!=sections.end(); k++)
insert(*k);
return rc;
}
};
#endif
#endif // SISECTIONS_HPP