nrtb-core team mailing list archive
-
nrtb-core team
-
Mailing list archive
-
Message #00569
[Bug 1272386] [NEW] Missing deep-copy getters for base object effectors
Public bug reported:
In cpp/sim_engine/base_object/base_object.h there are two protected
lists of effectors:
struct base_object
{
(....)
protected:
effector_list pre_attribs;
effector_list post_attribs;
};
For reporting purposes there needs to be public getters assigned which
return deep copies of these lists. It's very important the list not
contain direct references to the objects stored in the working lists.
** Affects: nrtb
Importance: Low
Status: New
** Changed in: nrtb
Importance: Undecided => Low
--
You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.
https://bugs.launchpad.net/bugs/1272386
Title:
Missing deep-copy getters for base object effectors
Status in The New Real Time Battle Project:
New
Bug description:
In cpp/sim_engine/base_object/base_object.h there are two protected
lists of effectors:
struct base_object
{
(....)
protected:
effector_list pre_attribs;
effector_list post_attribs;
};
For reporting purposes there needs to be public getters assigned which
return deep copies of these lists. It's very important the list not
contain direct references to the objects stored in the working lists.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nrtb/+bug/1272386/+subscriptions
Follow ups
References