third_party/virtualbox/src/VBox/Main/src-server/MachineImpl.cpp
/**
 *  Returns a pointer to the Machine object for this machine that acts like a
 *  parent for complex machine data objects such as shared folders, etc.
 *
 *  For primary Machine objects and for SnapshotMachine objects, returns this
 *  object's pointer itself. For SessionMachine objects, returns the peer
 *  (primary) machine pointer.
 */
Returns a pointer to the Machine object for this machine that acts like a
parent for complex machine data objects such as shared folders, etc.

For primary Machine objects and for SnapshotMachine objects, returns this
object's pointer itself. For SessionMachine objects, returns the peer
(primary) machine pointer.
Returns a pointer to the Machine object for this machine that acts like a parent for complex machine data objects such as shared folders etc . For primary Machine objects and for SnapshotMachine objects returns this object ' s pointer itself . For SessionMachine objects returns the peer ( primary ) machine pointer .
Machine *Machine::i_getMachine()
{
    if (i_isSessionMachine())
        return (Machine*)mPeer;
    return this;
}
Machine * Machine :: i_getMachine ( ) { if ( i_isSessionMachine ( ) ) return ( Machine * ) mPeer ; return this ; }
Returns a pointer to the Machine object for this machine that acts like a
  parent for complex machine data objects such as shared folders, etc.
Returns a pointer to the Machine object for this machine that acts like a parent for complex machine data objects such as shared folders etc .