#include <gcp/reaction-prop.h>
Public Member Functions | |
bool | Load (xmlNodePtr) |
bool | OnSignal (gcu::SignalId Signal, gcu::Object *Child) |
Definition at line 57 of file reaction-prop.h.
bool gcp::ReactionProp::Load | ( | xmlNodePtr | node | ) | [virtual] |
node | a pointer to the xmlNode containing the serialized object. |
Example:
std::string str = (const char*)node->name; Object* pObject = Object::CreateObject(str, this); if (pObject) { if (!pObject->Load(node)) delete Object; } else cerr << "Warning: unknown object: " << str << endl;
Reimplemented from gcu::Object.
bool gcp::ReactionProp::OnSignal | ( | gcu::SignalId | Signal, | |
gcu::Object * | Child | |||
) | [virtual] |
Signal | the appropriate SignalId | |
Child | the child which emitted the signal or NULL |
Reimplemented from gcu::Object.