Added type info methods to AnalogLineGroup and SignallingCircuitGroup.
git-svn-id: http://voip.null.ro/svn/yate@2568 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
e80b9de30e
commit
1461ba13cb
|
@ -607,6 +607,8 @@ TokenDict SignallingCircuitGroup::s_strategy[] = {
|
|||
{0,0}
|
||||
};
|
||||
|
||||
YCLASSIMP(SignallingCircuitGroup,SignallingComponent)
|
||||
|
||||
SignallingCircuitGroup::SignallingCircuitGroup(unsigned int base, int strategy, const char* name)
|
||||
: SignallingComponent(name),
|
||||
Mutex(true),
|
||||
|
@ -1290,6 +1292,9 @@ void AnalogLine::destroyed()
|
|||
/**
|
||||
* AnalogLineGroup
|
||||
*/
|
||||
|
||||
YCLASSIMP(AnalogLineGroup,SignallingCircuitGroup)
|
||||
|
||||
// Construct an analog line group owning single lines
|
||||
AnalogLineGroup::AnalogLineGroup(AnalogLine::Type type, const char* name, bool slave)
|
||||
: SignallingCircuitGroup(0,SignallingCircuitGroup::Increment,name),
|
||||
|
|
|
@ -1788,6 +1788,13 @@ public:
|
|||
*/
|
||||
~SignallingCircuitGroup();
|
||||
|
||||
/**
|
||||
* Get a pointer to this object or other data
|
||||
* @param name Object name
|
||||
* @return The requested pointer or 0 if not exists
|
||||
*/
|
||||
virtual void* getObject(const String& name) const;
|
||||
|
||||
/**
|
||||
* Get the number of circuits in this group
|
||||
* @return The number of circuits owned by this group
|
||||
|
@ -2874,6 +2881,13 @@ public:
|
|||
*/
|
||||
virtual ~AnalogLineGroup();
|
||||
|
||||
/**
|
||||
* Get a pointer to this object or other data
|
||||
* @param name Object name
|
||||
* @return The requested pointer or 0 if not exists
|
||||
*/
|
||||
virtual void* getObject(const String& name) const;
|
||||
|
||||
/**
|
||||
* Get this group's type
|
||||
* @return The group's type
|
||||
|
|
Loading…
Reference in New Issue