How to write your own control rig nodes in C++

Are there any examples or good tutorials on how to write your own custom control rig nodes in C++?

image
if you are looking for this, check out this class AnimGraphNode_ControlRig