MethodGroup Class Reference
#include <Ample.h>
List of all members.
Detailed Description
Method group class. Represents a single method group in an object node.
Member Typedef Documentation
Member Function Documentation
Adds the specified observer to this object.
- Parameters:
-
| observer | The observer to add. |
| void createMethod |
( |
const std::string & |
name, |
|
|
const MethodParamList & |
parameters | |
|
) |
| | |
Creates a new method in this method group.
- Parameters:
-
| name | The desired name of the method. |
| parameters | The parameters accepted by the method. |
Destroys this method group.
| unsigned int getDataVersion |
( |
void |
|
) |
const [inherited] |
- Returns:
- The current version of the internal state.
| const uint16 getID |
( |
void |
|
) |
const |
- Returns:
- The ID of this method group.
| const Method* getMethodByID |
( |
uint16 |
methodID |
) |
const |
- Parameters:
-
| methodID | The ID of the desired method. |
- Returns:
- The method with the specified ID, or
NULL if no such method exists.
| Method* getMethodByID |
( |
uint16 |
methodID |
) |
|
- Parameters:
-
| methodID | The ID of the desired method. |
- Returns:
- The method with the specified ID, or
NULL if no such method exists.
| const Method* getMethodByIndex |
( |
unsigned int |
index |
) |
const |
- Parameters:
-
| index | The index of the desired method. |
- Returns:
- The method at the specified index, or
NULL if no such method exists.
| Method* getMethodByIndex |
( |
unsigned int |
index |
) |
|
- Parameters:
-
| index | The index of the desired method. |
- Returns:
- The method at the specified index, or
NULL if no such method exists.
| const Method* getMethodByName |
( |
const std::string & |
name |
) |
const |
- Parameters:
-
| name | The name of the desired method. |
- Returns:
- The method with the specified name, or
NULL if no such method exists.
| Method* getMethodByName |
( |
const std::string & |
name |
) |
|
- Parameters:
-
| name | The name of the desired method. |
- Returns:
- The method with the specified name, or
NULL if no such method exists.
| unsigned int getMethodCount |
( |
void |
|
) |
const |
- Returns:
- The number of methods in this node.
| const std::string& getName |
( |
void |
|
) |
const |
- Returns:
- The name of this method group.
- Returns:
- The node containing this method group.
| const ObserverList& getObservers |
( |
void |
|
) |
const [inline, inherited] |
- Returns:
- The list of observers attached to this object.
| unsigned int getStructureVersion |
( |
void |
|
) |
const [inherited] |
- Returns:
- The current version of the internal structure.
Removes the specified observer from this object.
- Parameters:
-
| observer | The observer to remove. |
Removes the specified observer from this object.
- Parameters:
-
| observer | The observer to remove. |
Friends And Related Function Documentation