Class astrea::trace::AccessObject¶
ClassList > astrea > trace > AccessObject
Base class for objects that can visually access other objects.
#include <AccessObject.hpp>
Inherited by the following classes: astrea::trace::GroundPoint, astrea::trace::Sensor, astrea::trace::Viewer
Public Functions¶
| Type | Name |
|---|---|
| void | add_access (const std::size_t & receiverId, const RiseSetArray & access) Adds access times for a specific receiver. |
| void | drop_access (const std::size_t & receiverId, const RiseSetArray & access) Drops access times for a specific receiver. |
| AccessArray & | get_accesses () Gets the access times for this object. |
| const AccessArray & | get_accesses () const Gets the access times for this object (const version). |
| virtual std::size_t | get_id () const = 0 Pure virtual function to get the ID of the object. |
Protected Functions¶
| Type | Name |
|---|---|
| AccessObject () = default Default constructor. |
|
| virtual | ~AccessObject () = default Default destructor. |
Public Functions Documentation¶
function add_access¶
Adds access times for a specific receiver.
inline void astrea::trace::AccessObject::add_access (
const std::size_t & receiverId,
const RiseSetArray & access
)
Parameters:
receiverIdThe ID of the receiver.accessThe RiseSetArray representing the access times.
function drop_access¶
Drops access times for a specific receiver.
inline void astrea::trace::AccessObject::drop_access (
const std::size_t & receiverId,
const RiseSetArray & access
)
Parameters:
receiverIdThe ID of the receiver.accessThe RiseSetArray representing the access times.
function get_accesses [1/2]¶
Gets the access times for this object.
Returns:
AccessArray& A reference to the AccessArray containing access times.
function get_accesses [2/2]¶
Gets the access times for this object (const version).
Returns:
const AccessArray& A const reference to the AccessArray containing access times.
function get_id¶
Pure virtual function to get the ID of the object.
Returns:
std::size_t The ID of the object.
Protected Functions Documentation¶
function AccessObject¶
Default constructor.
function ~AccessObject¶
Default destructor.
The documentation for this class was generated from the following file astrea/trace/trace/platforms/AccessObject.hpp