void Model_EventCreator::sendUpdated(const ObjectPtr& theObject, const Events_ID& theEvent,
const bool isGroupped) const
{
void Model_EventCreator::sendUpdated(const ObjectPtr& theObject, const Events_ID& theEvent,
const bool isGroupped) const
{
new Model_ObjectUpdatedMessage(theObject, theEvent));
Events_Loop::loop()->send(aMsg, isGroupped);
}
new Model_ObjectUpdatedMessage(theObject, theEvent));
Events_Loop::loop()->send(aMsg, isGroupped);
}
new Model_ObjectDeletedMessage(theDoc, theGroup));
Events_Loop::loop()->send(aMsg, true);
}
new Model_ObjectDeletedMessage(theDoc, theGroup));
Events_Loop::loop()->send(aMsg, true);
}
const Events_ID& theEvent)
: ModelAPI_ObjectUpdatedMessage(theEvent, 0)
{
const Events_ID& theEvent)
: ModelAPI_ObjectUpdatedMessage(theEvent, 0)
{
- boost::shared_ptr<Model_ObjectUpdatedMessage> aJoined =
- boost::dynamic_pointer_cast<Model_ObjectUpdatedMessage>(theJoined);
+ std::shared_ptr<Model_ObjectUpdatedMessage> aJoined =
+ std::dynamic_pointer_cast<Model_ObjectUpdatedMessage>(theJoined);
std::set<ObjectPtr>::iterator aFIter = aJoined->myObjects.begin();
for (; aFIter != aJoined->myObjects.end(); aFIter++) {
myObjects.insert(*aFIter);
std::set<ObjectPtr>::iterator aFIter = aJoined->myObjects.begin();
for (; aFIter != aJoined->myObjects.end(); aFIter++) {
myObjects.insert(*aFIter);
/////////////////////// DELETED MESSAGE /////////////////////////////
Model_ObjectDeletedMessage::Model_ObjectDeletedMessage(
/////////////////////// DELETED MESSAGE /////////////////////////////
Model_ObjectDeletedMessage::Model_ObjectDeletedMessage(
- boost::shared_ptr<Model_ObjectDeletedMessage> aJoined =
- boost::dynamic_pointer_cast<Model_ObjectDeletedMessage>(theJoined);
+ std::shared_ptr<Model_ObjectDeletedMessage> aJoined =
+ std::dynamic_pointer_cast<Model_ObjectDeletedMessage>(theJoined);
std::set<std::string>::iterator aGIter = aJoined->myGroups.begin();
for (; aGIter != aJoined->myGroups.end(); aGIter++) {
myGroups.insert(*aGIter);
std::set<std::string>::iterator aGIter = aJoined->myGroups.begin();
for (; aGIter != aJoined->myGroups.end(); aGIter++) {
myGroups.insert(*aGIter);