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:
paulc 2009-04-09 09:54:26 +00:00
parent e80b9de30e
commit 1461ba13cb
2 changed files with 19 additions and 0 deletions

View File

@ -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),

View File

@ -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