Ginga  0.13.6
 All Classes Namespaces Functions Variables
Public Member Functions | Static Public Member Functions | List of all members
br::pucrio::telemidia::ncl::switches::DescriptorSwitch Class Reference
Inheritance diagram for br::pucrio::telemidia::ncl::switches::DescriptorSwitch:
Inheritance graph
[legend]
Collaboration diagram for br::pucrio::telemidia::ncl::switches::DescriptorSwitch:
Collaboration graph
[legend]

Public Member Functions

 DescriptorSwitch (string id)
 
bool addDescriptor (unsigned int index, GenericDescriptor *descriptor, Rule *rule)
 
bool addDescriptor (GenericDescriptor *descriptor, Rule *rule)
 
bool containsRule (Rule *rule)
 
void exchangeDescriptorsAndRules (unsigned int index1, unsigned int index2)
 
int indexOfRule (Rule *rule)
 
GenericDescriptor * getDefaultDescriptor ()
 
unsigned int indexOfDescriptor (GenericDescriptor *descriptor)
 
GenericDescriptor * getDescriptor (unsigned int index)
 
GenericDescriptor * getDescriptor (string descriptorId)
 
GenericDescriptor * getDescriptor (Rule *rule)
 
RulegetRule (unsigned int index)
 
unsigned int getNumDescriptors ()
 
unsigned int getNumRules ()
 
bool removeDescriptor (unsigned int index)
 
bool removeDescriptor (GenericDescriptor *descriptor)
 
bool removeRule (Rule *rule)
 
void setDefaultDescriptor (GenericDescriptor *descriptor)
 
void select (GenericDescriptor *descriptor)
 
void selectDefault ()
 
GenericDescriptor * getSelectedDescriptor ()
 

Static Public Member Functions

static bool hasInstance (DescriptorSwitch *object, bool eraseFromList)
 

The documentation for this class was generated from the following files: