36 PIA_RETURN_RESULT_WITH_LOG(ResultNotInitialized, "PiaTransport is not initialized."); \
37 } \
38 if (!IsInSetupMode()) \
39 { \
40 PIA_RETURN_RESULT_WITH_LOG(ResultInvalidState, "Singleton must be created between nn::pia::transport::BeginSetup() and nn::pia::transport::EndSetup().") \
41 } \
42 if (s_pInstance) \
43 { \
44 PIA_RETURN_RESULT_WITH_LOG(ResultAlreadyExists, "Singleton is already created."); \
45 } \
46 \
47/* <tt>RootObject::new</tt> is used if this class inherits <tt>RootObject</tt>.*/ \