documentation for object manager IF get function
This commit is contained in:
parent
cd1b26b04c
commit
07950b0c2b
@ -5,9 +5,10 @@
|
|||||||
#include <framework/ipc/QueueFactory.h>
|
#include <framework/ipc/QueueFactory.h>
|
||||||
#include <framework/objectmanager/ObjectManagerIF.h>
|
#include <framework/objectmanager/ObjectManagerIF.h>
|
||||||
|
|
||||||
FailureIsolationBase::FailureIsolationBase(object_id_t owner, object_id_t parent, uint8_t messageDepth, uint8_t parameterDomainBase) :
|
FailureIsolationBase::FailureIsolationBase(object_id_t owner,
|
||||||
eventQueue(NULL), ownerId(
|
object_id_t parent, uint8_t messageDepth, uint8_t parameterDomainBase) :
|
||||||
owner), owner(NULL), faultTreeParent(parent), parameterDomainBase(parameterDomainBase) {
|
eventQueue(NULL), ownerId(owner), owner(NULL),
|
||||||
|
faultTreeParent(parent), parameterDomainBase(parameterDomainBase) {
|
||||||
eventQueue = QueueFactory::instance()->createMessageQueue(messageDepth, EventMessage::EVENT_MESSAGE_SIZE);
|
eventQueue = QueueFactory::instance()->createMessageQueue(messageDepth, EventMessage::EVENT_MESSAGE_SIZE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,6 +78,13 @@ public:
|
|||||||
virtual void printList() = 0;
|
virtual void printList() = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Used to retrieve Target Interface Pointers of objects.
|
||||||
|
* The object has to implement the SystemObject or SystemObjectIF at the very least,
|
||||||
|
* otherwise NULL will be returned.
|
||||||
|
* @param id
|
||||||
|
* @return NULL or pointer to target interface specified by template object
|
||||||
|
*/
|
||||||
template <typename T>
|
template <typename T>
|
||||||
T* ObjectManagerIF::get( object_id_t id ) {
|
T* ObjectManagerIF::get( object_id_t id ) {
|
||||||
SystemObjectIF* temp = this->getSystemObject(id);
|
SystemObjectIF* temp = this->getSystemObject(id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user