Simpy you odnt the wahtever the manipulator manipulates is a node nodes expose attributes. Nodes calculate the data form attributes, so the purpose of the manip is to push attributes to your node so the ned result is binding attributes to the manipulator rest is indifferent to maya.
QUOTE
3. how can i query the state and do stuff accordingly when i click on the state manip? later on i would like to change between different manipulators (free point triad, circle sweep, distance etc)
You switch to do something else to the attrbutes. So the answer would be just like you do anything else in maya. Attributes matter how you do it is inconsequential. Manipulators just modify attributes. No attributes in place no manipulation.
The thing is you need to design the node to be intelligent what the manipulator does on top of that is a no issue. If you know what your node does, and you have right attributes to do stuff with, then all rest flows out easily.
So design your node then all rest is easy. I fyou cant design the node the its meaningless to ask about manipulators.