CFx SDK Documentation
2022 SP0
|
#include <daiSession.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (Session) | |
Session () | |
void | closeSession () |
RepositoryPtr | createRepo (const OdAnsiString &name) |
RepositoryPtr | createRepoFromFile (const OdAnsiString &fileName, const OdAnsiString &name="") |
RepositoryPtr | findRepo (const OdAnsiString &name) |
void | openRepo (RepositoryPtr &pRepository) |
void | closeRepo (RepositoryPtr &pRepository) |
const OdArray< daiErrorEventPtr > & | errors () |
void | recordError (const char *functionID, daiErrorId error, const char *descpt) |
Session & | operator<< (const daiErrorEventPtr &eveentToRecord) |
bool | isRecordingOn () |
void | startEventRecording () |
void | stopEventRecording () |
Public Member Functions inherited from OdDAI::SessionInstance | |
ODRX_DECLARE_MEMBERS (SessionInstance) | |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Static Public Member Functions | |
static OdSmartPtr< Session > | openSession () |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Attributes | |
bool | m_recordingActive |
OdArray< daiErrorEventPtr > | m_errors |
OdArray< RepositoryPtr > | m_knownServers |
OdArray< RepositoryPtr > | m_activeServers |
OdArray< ModelPtr > | m_activeModels |
Friends | |
class | Repository |
Definition at line 54 of file daiSession.h.
OdDAI::Session::Session | ( | ) |
void OdDAI::Session::closeRepo | ( | RepositoryPtr & | pRepository | ) |
void OdDAI::Session::closeSession | ( | ) |
RepositoryPtr OdDAI::Session::createRepo | ( | const OdAnsiString & | name | ) |
RepositoryPtr OdDAI::Session::createRepoFromFile | ( | const OdAnsiString & | fileName, |
const OdAnsiString & | name = "" |
||
) |
const OdArray<daiErrorEventPtr>& OdDAI::Session::errors | ( | ) |
RepositoryPtr OdDAI::Session::findRepo | ( | const OdAnsiString & | name | ) |
bool OdDAI::Session::isRecordingOn | ( | ) |
OdDAI::Session::ODRX_DECLARE_MEMBERS | ( | Session | ) |
void OdDAI::Session::openRepo | ( | RepositoryPtr & | pRepository | ) |
|
static |
Session& OdDAI::Session::operator<< | ( | const daiErrorEventPtr & | eveentToRecord | ) |
void OdDAI::Session::recordError | ( | const char * | functionID, |
daiErrorId | error, | ||
const char * | descpt | ||
) |
void OdDAI::Session::startEventRecording | ( | ) |
void OdDAI::Session::stopEventRecording | ( | ) |
|
friend |
Definition at line 99 of file daiSession.h.
Definition at line 97 of file daiSession.h.
|
protected |
Definition at line 96 of file daiSession.h.
|
protected |
Definition at line 94 of file daiSession.h.
|
protected |
Definition at line 95 of file daiSession.h.
|
protected |
Definition at line 93 of file daiSession.h.