CFx SDK Documentation  2022 SP0
Public Member Functions | Static Public Member Functions | Protected Attributes | Friends | List of all members
OdDAI::Session Class Reference

#include <daiSession.h>

Inheritance diagram for OdDAI::Session:
OdDAI::SessionInstance OdRxObject

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)
 
Sessionoperator<< (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 OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () 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< SessionopenSession ()
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Protected Attributes

bool m_recordingActive
 
OdArray< daiErrorEventPtrm_errors
 
OdArray< RepositoryPtrm_knownServers
 
OdArray< RepositoryPtrm_activeServers
 
OdArray< ModelPtrm_activeModels
 

Friends

class Repository
 

Detailed Description

Definition at line 54 of file daiSession.h.

Constructor & Destructor Documentation

◆ Session()

OdDAI::Session::Session ( )

Member Function Documentation

◆ closeRepo()

void OdDAI::Session::closeRepo ( RepositoryPtr pRepository)

◆ closeSession()

void OdDAI::Session::closeSession ( )

◆ createRepo()

RepositoryPtr OdDAI::Session::createRepo ( const OdAnsiString &  name)

◆ createRepoFromFile()

RepositoryPtr OdDAI::Session::createRepoFromFile ( const OdAnsiString &  fileName,
const OdAnsiString &  name = "" 
)

◆ errors()

const OdArray<daiErrorEventPtr>& OdDAI::Session::errors ( )

◆ findRepo()

RepositoryPtr OdDAI::Session::findRepo ( const OdAnsiString &  name)

◆ isRecordingOn()

bool OdDAI::Session::isRecordingOn ( )

◆ ODRX_DECLARE_MEMBERS()

OdDAI::Session::ODRX_DECLARE_MEMBERS ( Session  )

◆ openRepo()

void OdDAI::Session::openRepo ( RepositoryPtr pRepository)

◆ openSession()

static OdSmartPtr<Session> OdDAI::Session::openSession ( )
static

◆ operator<<()

Session& OdDAI::Session::operator<< ( const daiErrorEventPtr eveentToRecord)

◆ recordError()

void OdDAI::Session::recordError ( const char *  functionID,
daiErrorId  error,
const char *  descpt 
)

◆ startEventRecording()

void OdDAI::Session::startEventRecording ( )

◆ stopEventRecording()

void OdDAI::Session::stopEventRecording ( )

Friends And Related Function Documentation

◆ Repository

friend class Repository
friend

Definition at line 99 of file daiSession.h.

Member Data Documentation

◆ m_activeModels

OdArray<ModelPtr> OdDAI::Session::m_activeModels
protected

Definition at line 97 of file daiSession.h.

◆ m_activeServers

OdArray<RepositoryPtr> OdDAI::Session::m_activeServers
protected

Definition at line 96 of file daiSession.h.

◆ m_errors

OdArray<daiErrorEventPtr> OdDAI::Session::m_errors
protected

Definition at line 94 of file daiSession.h.

◆ m_knownServers

OdArray<RepositoryPtr> OdDAI::Session::m_knownServers
protected

Definition at line 95 of file daiSession.h.

◆ m_recordingActive

bool OdDAI::Session::m_recordingActive
protected

Definition at line 93 of file daiSession.h.


The documentation for this class was generated from the following file: