Class: DtResourceMonitorInfo.
More...
Public Member Functions |
| | DtResourceMonitorInfo () |
| | DtResourceMonitorInfo (const DtResourceMonitorInfo &orig) |
| virtual | ~DtResourceMonitorInfo () |
| virtual DtResourceMonitorInfo & | operator= (const DtResourceMonitorInfo &) |
| void | setUUID (const DtUUID &id) |
| const DtUUID & | uuid () const |
| virtual void | removeMonitorReference (const DtString &name, const DtSimulationAddress &addr) |
| virtual void | addMonitorReference (const DtString &resourceName, int iMonitorBy, const DtFloat64 &dMonitorPeriod, const DtSimulationAddress &addr, DtSimManager *manager) |
| const DtResourceCheckInfoList & | monitorResources () const |
| virtual void | removeAllMonitorReferencesTo (const DtSimulationAddress &simAddr) |
| | Removes all resources that are being monitored by the sender.
|
| virtual std::list< DtString > | shouldPublishResources (double simTime, const DtString &echelonId, DtSimManager *simManager, bool force=false) const |
| | Returns a list of resources to publish based on the current sim time.
|
| virtual void | setNextPublicationPeriod (double simTime, const DtString &echelonId, DtSimManager *manager, const std::list< DtString > &publishedResources) |
| | For each resource that is scheduled for publication, set up the next time the specified resource needs to be published.
|
Detailed Description
Class: DtResourceMonitorInfo.
Contains information about objects and resources to publish for those objects
Constructor & Destructor Documentation
| DtResourceMonitorInfo::DtResourceMonitorInfo |
( |
| ) |
|
|
inline |
| virtual DtResourceMonitorInfo::~DtResourceMonitorInfo |
( |
| ) |
|
|
inlinevirtual |
Member Function Documentation
| void DtResourceMonitorInfo::setUUID |
( |
const DtUUID & |
id | ) |
|
|
inline |
| const DtUUID& DtResourceMonitorInfo::uuid |
( |
| ) |
const |
|
inline |
| virtual void DtResourceMonitorInfo::removeMonitorReference |
( |
const DtString & |
name, |
|
|
const DtSimulationAddress & |
addr |
|
) |
| |
|
virtual |
| virtual void DtResourceMonitorInfo::addMonitorReference |
( |
const DtString & |
resourceName, |
|
|
int |
iMonitorBy, |
|
|
const DtFloat64 & |
dMonitorPeriod, |
|
|
const DtSimulationAddress & |
addr, |
|
|
DtSimManager * |
manager |
|
) |
| |
|
virtual |
| virtual void DtResourceMonitorInfo::removeAllMonitorReferencesTo |
( |
const DtSimulationAddress & |
simAddr | ) |
|
|
virtual |
Removes all resources that are being monitored by the sender.
If there are no requestors left for the specified resource, the resourec is removed from tracking
Returns a list of resources to publish based on the current sim time.
Note that sim time might be only one of the variables used, which is why the sim manager is also passed into this routine. The return value is a list of resources to publish
| virtual void DtResourceMonitorInfo::setNextPublicationPeriod |
( |
double |
simTime, |
|
|
const DtString & |
echelonId, |
|
|
DtSimManager * |
manager, |
|
|
const std::list< DtString > & |
publishedResources |
|
) |
| |
|
virtual |
For each resource that is scheduled for publication, set up the next time the specified resource needs to be published.
Member Data Documentation
| DtUUID DtResourceMonitorInfo::myUUID |
|
protected |
The documentation for this class was generated from the following file: