Declaring class objects within a class

I'm trying to do something very similar to the original question but I'm having some problems.
Questions:

  1. Is the approach mentioned in the previous responses still valid for Arduino IDE 1.6.12? I ask this question because different forum posts from others experiencing similar issues alluded to an issue with the compiler itself, but those were very old posts.
  2. Can someone please provide a more specific example of how to implement the solution mentioned in the previous responses in this post, showing exact syntax? That would be very helpful for me and for any other newbies who wrestle with this situation.