std::placeholders::_1, std::placeholders::_2, std::placeholders::_3,
std::placeholders::_4, std::move(clientCB));
- m_requestor->requestSceneCollectionCreation("", internalCB);
+ if(nullptr != m_requestor)
+ {
+ m_requestor->requestSceneCollectionCreation("", internalCB);
+ }
+ else
+ {
+ throw RCSInvalidParameterException{ "addNewSceneCollection : m_requestor is NULL" };
+ }
}
std::vector< RemoteSceneCollection::Ptr >
= std::bind(&RemoteSceneList::onNameSet, this,
std::placeholders::_1, name, std::move(clientCB));
- m_requestor->requestSetName(name, internalCB);
+ if(nullptr != m_requestor)
+ {
+ m_requestor->requestSetName(name, internalCB);
+ }
+ else
+ {
+ throw RCSInvalidParameterException{ "setName : m_requestor is NULL" };
+ }
}
std::string RemoteSceneList::getName() const
}
}
-}
\ No newline at end of file
+}