#include <ISSerializableWrapper.h>
Inheritance diagram for Sct::ISSerializableWrapper< T >:
Public Member Functions | |
ISSerializableWrapper () | |
default constructor | |
ISSerializableWrapper (shared_ptr< T > ob) | |
constructor with shared_ptr to ISInfo to wrap | |
virtual | ~ISSerializableWrapper () |
destructor | |
virtual string | getClassName () const |
INLINE FUNCTIONS. | |
virtual string | getUniqueID () const |
to be implimented by concrete class | |
shared_ptr< T > | getWrappedObject () |
access wrapped isinfo ob | |
shared_ptr< const T > | getWrappedObject () const |
const access to wrapped isinfo ob | |
virtual void | publishWrappedObjectToServer (const string &isServerName) const |
publish wrapped object to IS directly, with server name | |
void | constructUniqueID () const |
To be implimented by user code. | |
Private Attributes | |
shared_ptr< T > | ob |
shared pointer to the wrapped ISInfo | |
string | m_uniqueID |
unique ID of the ISInfo |
and getUniqueID in the usual way for a Serializable. Class is templated so that ISStreamerWrapper can make a new isinfo of the correct type on read. The templated class must have a public `version' member.
Definition at line 27 of file ISSerializableWrapper.h.
|
default constructor
Definition at line 30 of file ISSerializableWrapper.h. References Sct::ISSerializableWrapper< T >::m_uniqueID, and Sct::ISSerializableWrapper< T >::ob. |
|
constructor with shared_ptr to ISInfo to wrap
Definition at line 38 of file ISSerializableWrapper.h. References Sct::ISSerializableWrapper< T >::constructUniqueID(), and Sct::ISSerializableWrapper< T >::ob. |
Here is the call graph for this function:
|
destructor
Definition at line 43 of file ISSerializableWrapper.h. |
|
To be implimented by user code. Use to set m_uniqueID from object of type T Referenced by Sct::ISSerializableWrapper< T >::ISSerializableWrapper(), Sct::ISSerializableWrapper< T >::publishWrappedObjectToServer(), and Sct::ISStreamerWrapper< T >::read(). |
|
INLINE FUNCTIONS.
Implements Sct::Streamable. Definition at line 65 of file ISSerializableWrapper.h. References Sct::ISSerializableWrapper< T >::ob. Referenced by Sct::ISSerializableWrapper< T >::publishWrappedObjectToServer(). |
|
to be implimented by concrete class
Implements Sct::Serializable. Definition at line 70 of file ISSerializableWrapper.h. References Sct::ISSerializableWrapper< T >::m_uniqueID. Referenced by Sct::ISSerializableWrapper< T >::publishWrappedObjectToServer(). |
|
const access to wrapped isinfo ob
Definition at line 51 of file ISSerializableWrapper.h. References Sct::ISSerializableWrapper< T >::ob. |
|
access wrapped isinfo ob
Definition at line 49 of file ISSerializableWrapper.h. References Sct::ISSerializableWrapper< T >::ob. Referenced by Sct::ISSerializableWrapper< T >::publishWrappedObjectToServer(), Sct::ISStreamerWrapper< T >::read(), and Sct::ISStreamerWrapper< T >::write(). |
|
publish wrapped object to IS directly, with server name
Implements Sct::ISSerializableWrapperI. Definition at line 75 of file ISSerializableWrapper.h. References Sct::ISSerializableWrapper< T >::constructUniqueID(), Sct::ISSerializableWrapper< T >::getClassName(), Sct::ISSerializableWrapper< T >::getUniqueID(), and Sct::ISSerializableWrapper< T >::getWrappedObject(). |
Here is the call graph for this function:
|
unique ID of the ISInfo
Definition at line 61 of file ISSerializableWrapper.h. Referenced by Sct::ISSerializableWrapper< T >::getUniqueID(), and Sct::ISSerializableWrapper< T >::ISSerializableWrapper(). |
|
shared pointer to the wrapped ISInfo
Definition at line 60 of file ISSerializableWrapper.h. Referenced by Sct::ISSerializableWrapper< T >::getClassName(), Sct::ISSerializableWrapper< T >::getWrappedObject(), and Sct::ISSerializableWrapper< T >::ISSerializableWrapper(). |