tsc_Arc

A database line is represented by the tsc_Arc class and is subclassed off tsc_Entity.  This class is lightweight and may be freely copied, although copies will always refer to the same object.  The arc object may change as the database is updated.  Changes only happen outside of the plugin, so a contiguous block of plugin code which doesn't perform any sort of wait or database update may safely access an arc without concern over it changing or disappearing.  In general, a tsc_Arc object should be defined and passed around as an instance, rather than a pointer or reference.

An arc is typically obtained from a tsc_ArcList or from the tsc_JobArcs object on a job.  It contains a tsc_ArcDefinition which describes the arc in detail.

Database arcs always reference at least one point by name, which is stored within the same database.

While there may be multiple points with the same name, arcs require unique naming and there is no concept of 'best' arc (though the referenced point will reflect the 'best' point for that name).  The name of a deleted arc can be re-used.

tsc_Arc public methods

For members of tsc_Entity please click here.

bool IsDeleted() const;
Determines if the arc was deleted.

tsc_ArcDefinition Arc() const;
Retrieves the arc description for this entity.